How to change the boot order of guest VM on VMware Player

Last updated on November 29, 2020 by Dan Nanni

When you run a virtual machine (VM) on VMware Player, the default boot sequence of the VM is removable deviceshard driveCD-ROM drive. If you want to boot a VM from an ISO image instead, you need to change the boot sequence of the VM, so that it starts with CD-ROM drive.

In this article, I will describe how to change the boot sequence of a guest VM on VMware Player.

As a demonstration, I will set up a guest VM to boot from an ISO image, which requires booting from CD/DVD.

The first step is to edit the CD/DVD setting of a VM. Open up the virtual machine settings of a VM, and edit the CD/DVD setting to connect to the ISO image that you want to boot from.

There are several ways to change the boot sequence of a guest VM on VMware Player.

Method One

Simply, power on the guest VM. Right after the VM is powered on, and before power-on self test (POST) starts, click into the VM's console screen, and then press <F2> button. That will lead you to the guest VM's BIOS settings as shown below.

Go to Boot tab, and press <down> key to highlight CD-ROM drive. Press <SHIFT> and <+> keys to move CD-ROM drive up on top.

Save the change, and exit the BIOS settings.

Upon exit, the guest VM will boot from the ISO image loaded on CD-ROM drive.

If you cannot press <F2> button quickly enough to enter BIOS settings, add the following entry to the *.vmx file of the guest VM.

bios.bootDelay = "<number_of_milliseconds>"

This will delay POST procedure. Note that the unit of numbers is milliseconds. So if you want to delay POST screen by 5 seconds, it should be: bios.bootDelay = "5000". The maximum allowable boot delay is 10000 milliseconds or 10 seconds. With additional boot delay, you will have more time before booting, during which you can press <F2> key to enter the BIOS setup menu.

Method Two

Alternatively, you can add the following entry in the *.vmx file of the guest VM. This will force the guest VM to automatically enter the BIOS settings upon power-on.

bios.forceSetupOnce = "TRUE"

Note that bios.forceSetupOnce will automatically be reset to "FALSE" in .vmx file after successful booting. So the next time you power on the VM, it will not re-enter the BIOS setting. If you want to re-enter the BIOS setting, you will have to edit .vmx file, and set bios.forceSetupOnce to "TRUE" manually again.

Support Xmodulo

This website is made possible by minimal ads and your gracious donation via PayPal or credit card

Please note that this article is published by Xmodulo.com under a Creative Commons Attribution-ShareAlike 3.0 Unported License. If you would like to use the whole or any part of this article, you need to cite this web page at Xmodulo.com as the original source.

Xmodulo © 2021 ‒ AboutWrite for UsFeed ‒ Powered by DigitalOcean