When you run a virtual machine (VM) on VMware Player, the default boot sequence of the VM is "removable devices -> hard drive -> CD-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.
First, 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.
Then 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, you can try either of the two methods.
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"
Alternatively, add the following 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.
Subscribe to Xmodulo
You can have daily Linux tutorials and FAQs delivered to your email inbox. Simply enter your email address below to subscribe to our mailing list. You will receive hands-on guides and carefully written tutorials related to Linux, everything for free.