VMware vSphere

 View Only
  • 1.  temporarily change boot device order for VM guest

    Posted Feb 19, 2016 10:26 PM

    I am working on setting up a tool for doing Oracle Linux guest installs using PXE.  The process is working for the first boot after a vm is created but I need to repeat the install after making various tweaks to the configuration.  Changing the boot order in the BIOS seems to be persistent so the second test just loops doing the PXE install.  Is there a way to temporarily override the boot device?

    If I understand it correctly trashing the boot volume might work but I am not sure just what or how to do that.

    Thanks,

    Glen



  • 2.  RE: temporarily change boot device order for VM guest
    Best Answer

    Posted Feb 20, 2016 01:39 PM

    The easiest way might be to configure a boot delay (e.g. 5000 ms) in the VM's settings. This will give you enough time to press the ESC key for the boot selection menu.

    André



  • 3.  RE: temporarily change boot device order for VM guest

    Posted Feb 22, 2016 09:15 PM

    That is simple, seems to work very well.

    Thanks,

    Glen



  • 4.  RE: temporarily change boot device order for VM guest

    Posted Feb 22, 2016 09:26 PM

    This PowerCLI script, from Brian Graf, to modify the boot order may help too...

    http://www.vtagion.com/changing-vm-boot-order-powercli/