Posts Tagged ‘change vmware boot order’

2 Methods to Change Boot Order of Guest VM in VMware ESXi

November 24th, 2014 by Admin

If you want to boot a virtual machine from a CD or ISO image, you need to change the boot sequence so that it starts with virtual CD drive. However, it can be difficult to access the BIOS Setup as the POST screen clears too quickly, especially if you’ve enabled UEFI in your VM. In this article I’ll describe 2 methods to change the boot order for a guest VM hosted by VMware ESXi.

Method 1: Change Boot Order Using vSphere Client

  1. Open up your VMware vSphere Client and log into your server. Make sure the VM that you want to modify is powered off.
  2. In the vSphere Client inventory, right-click on the virtual machine and select Edit Settings.

    edit-vm-settings

  3. When the Virtual Machine Properties dialog appears, click the Options tab. From the list on the left, click Advanced > General. Click the Configuration Parameters button on the right.

    vm-properties

  4. In the Configuration Parameters dialog, click Add Row button. Type bios.bootOrder to the Name column and the devices (for example, cdrom,hdd,floppy) in the Value column.

    configuration-parameters

  5. Click OK to save the changes.

Method 2: Modify .VMX File in VMware ESXi

  1. Open up your VMware vSphere Client and log into your server. Make sure the VM that you want to modify is powered off.
  2. Click on your target virtual machine from the left side tree, and then click Summary tab on the right pane.
  3. Under the Resources area for your VM, there should be a list of datastores. Right-click on the datastore where the target VM files are saved, and select Browse Datastore.

    vSphere-client

  4. Navigate to the folder for your particular VM, and find the .vmx file. Right-click on the file and select Download. Save the file somewhere easily accessible.

    dowload-file-from-datastore

  5. Open up the .vmx file with WordPad or your favorite text editor, and then add the following line to the bottom of the file:
    bios.bootOrder = "cdrom,hdd,floppy"

    bios-boot-order

    The line above will set the boot sequence to cdrom, hdd and floppy. Save the file.

  6. Go back to the Datastore Browser. Click the upload icon in the toolbar and select Upload File, and select your modified .vmx file. Upload it to overwrite the existing .vmx file in your VM.

    upload-file-to-datastore

The Easy Way to Change Boot Sequence in VMware

July 9th, 2014 by Admin

If you’ve used any of VMware’s products you’ve probably been frustrated by trying to boot a virtual machine (VM) from CD or ISO image. When you start a VM, the VMware splash screen only shows for really short time. To enter into the VM’s BIOS Setup, you have to be really quick with your mouse moving focus to the VM and press F2 as quick as possible.

Recently I discovered a second method which allows you to change the boot sequence by modifying the .vmx file of your VM. This method works with all virtual machines running inside VMware Workstation, VMware Player, VMware ESXi/ESX, VMware Fusion, etc.

How to Change Boot Sequence in VMware?

  1. Locate the .vmx file for your virtual machine and open it in a text editor.
  2. Find the line that begins with bios.bootOrder. If there is no such line, simply add the following line to your .vmx file:
    bios.bootOrder = "cdrom,hdd,floppy"

    vmware-boot-order

    In this example, the virtual machine tries to boot with CD-ROM. If there is nothing to boot from, try from the disk. If that fails, try the floppy.

  3. Save the .vmx file and close the text editor. Start your virtual machine and it will automatically boot from your specified device.