How to make vm boot from live cd
Solution 1
The method in AliNa answer if you have VirtualBox, but if you have VMWare Workstation, right click on the VM, choose Power, and then Power On to BIOS. Once you get the BIOS screen, go to the Boot Tab, and change the Boot order, save and exit.
Solution 2
Run Oracle VM Virtualbox, select the virtual machine (if you have more than one) and open Settings.
Under the System portion of Settings you will see the Boot order, as in the below screenshot:
If you want to boot from an .ISO file, pause the VM on startup with Host+P (Host key is Right Ctrl by default) and browse for the file on Devices > CD/DVD Devices > Choose a virtual CD/DVD disk file. Then resume it again by the same key combination. It will boot from the ISO file.
Solution 3
Adding one more method for those of us configuring VMs on headless servers.
You'll need to know your storage controller's name and the port index of the dvd drive (usually 0). You can get that info from showvminfo
.
vboxmanage storageattach MyVm --storagectl MyVm_sata --port 0 --type dvddrive --medium ubuntu-18.04.1-desktop-amd64.iso
Launch the VM and then attach to it with an RDP client. If you do not have VRDP enabled you can do so with:
vboxmanage modifyvm MyVm --vrde on --vrdeport 5001
When you're done, remove the medium:
vboxmanage storageattach MyVm --storagectl MyVm_sata --port 0 --type dvddrive --medium none
Related videos on Youtube
anatoly
Updated on September 18, 2022Comments
-
anatoly over 1 year
I have created a vm for ubuntu 13.04 and configured it to boot from live CD (I want to try Fedora on it), but it doesn't boot. It displays a shell terminal I think and this is it.
-
Christian Vielma about 9 yearsYou can also start the vm and hit F12 to select boot order
-
Dr.jacky over 8 yearsPower On to BIOS is disabled!
-
Mitch over 8 years@Mr.Hyde Do you have VMware tools installed?
-
Dr.jacky over 8 yearsYes. when I press F12 to see boot priority, I get this error: Could not start boot splash because can't access needed shared library
-
Mitch over 8 yearsWhat are you trying to boot? What has changed?
-
Tyler about 4 yearsThis fixed it for me! Thank you