How do I Boot to a virtual machine?

Boot a Virtual machine From a Specific Device

  1. Access the OpenBoot CLI.

    See Accessing the OpenBoot CLI and Getting Help.

  2. (Optional) Display device aliases.

    If you need to identify a device alias for a boot device, type:


    Note -  A device alias does not indicate whether a device is bootable, but most virtual machines have a device alias configured for the boot device.


    {0} ok devalias
    screen                   /pci@300/pci@4/display@0
    fallback-miniroot        /pci@300/pci@2/usb@0/hub@3/storage@1/disk@0
    rcdrom                   /pci@300/pci@2/usb@0/hub@3/storage@1/disk@0
    primary-vds0             /virtual-devices@100/channel-devices@200/virtual-disk-server@0
    primary-vsw0             /virtual-devices@100/channel-devices@200/virtual-network-switch@0
    primary-vcc0             /virtual-devices@100/channel-devices@200/virtual-console-concentrator@0
    net3                     /pci@300/pci@3/network@0,1
    net2                     /pci@300/pci@3/network@0
    cdrom                    /pci@300/pci@2/usb@0/hub@8/device@1/storage@0/disk@0
    net1                     /pci@300/pci@1/network@0,1
    net                      /pci@300/pci@1/network@0
    net0                     /pci@300/pci@1/network@0
    scsi                     /pci@301/pci@2/scsi@0
    scsi0                    /pci@301/pci@2/scsi@0
    disk7                    /pci@301/pci@2/scsi@0/disk@p7
    disk6                    /pci@301/pci@2/scsi@0/disk@p6
    disk5                    /pci@301/pci@2/scsi@0/disk@p5
    disk4                    /pci@301/pci@2/scsi@0/disk@p4
    disk3                    /pci@301/pci@2/scsi@0/disk@p3
    disk2                    /pci@301/pci@2/scsi@0/disk@p2
    disk1                    /pci@301/pci@2/scsi@0/disk@p1
    

    Also see Create a Device Alias.

  3. Boot the virtual machine by specifying boot parameters.

    Type the boot command with an explicit boot device. The virtual machine boots from the specified boot device using the default boot arguments.

    • To explicitly boot from the device that is defined by the disk device alias, type:

      {0} ok boot disk
    • To explicitly boot from the network that is defined for the net device alias, type:

      {0} ok boot net
    • To boot from a specific device, type:

      {0} ok boot /pci@301/pci@2/scsi@0/disk@w5000cca123456789,0:a
  • Boot Sequence

  • boot Command Overview

  • Setting Configuration Variables

Vinchin Blog How to Boot VM from ISO Images/CD/DVD in VMware Workstation/vSphere?

Table of contents

  • The benefits of booting VM from ISO
  • How to boot VM from ISO images in VMware Workstation?
  • How to Boot VM from ISO in vSphere client?
  • Protect the data on the virtual machine with Vinchin Backup & Recovery
  • Conclusion

VMware is a popular hypervisor among the world. Users could easily create and manage virtual machines with it. Usually, you could install an operating system with the help of New Virtual Wizard. What if you would like to boot VMware from ISO images?

Users in VMware community says that they have problem with their VMs and need to boot VM in this way. Actually, you could easily complete this with VMware Workstation/vSphere.

The benefits of booting VM from ISO

Use ISO to boot virtual machine is a necessary skill for VM users.

If your there is a problem with your VM, and you cant start it, you could use ISO booting to repair your system. You could also install guest operating system from ISO images on a fresh virtual machine.

Some users also use this skill to change the size of drives or upgrade operating system.

How to boot VM from ISO images in VMware Workstation?

Before you try this method, remember to prepare you ISO files first. You could download it from the Internet and store it on the host machine. If you want to let more users to use the ISO file, move it to the shared storage. If you have a DVD or CD containing the needed image file, make sure your computer has DVD player and the image file is readable.

Step 1. create a VMware (if you want to execute the operation on an existing VM, move to step 2).

Open VMware Workstation. Click File in menu > then click New > click Virtual Machine > complete configuration > select Installer disc image file > use the image file you have > follow New Virtual Wizard to install the operating system.

Step 2. Set virtual CD/DVD device is to use the ISO image

Select the VM in VMware workstation > right-click the name of the VM > select Edit virtual machine settings in the drop-down list> click Hardware > select CD/DVD drive > select Connect at power on > select Use ISO image file > Click Browse and add the path of your ISO file > click OK.

Step 3. boot VM from ISO

Start the VM > press ESC (or F2, F10, F12) for boot menu > select CD-ROM Drive > your VM would be booted from ISO

Tips: How to easily enter boot menu?

If the option disappears too fast and there is not enough time to press ESC, you could extend the time in VM settings.  

Right-click the name of the VM > select Edit virtual machine settings in the drop-down list> click Options > select Boot Options > set Power On Boot Delay as 5000 or more to gain 5 seconds.

How to Boot VM from ISO in vSphere client?

vSphere is the enterprise-class virtualization solution, which use ESXi as the hypervisor. There is also the option to let users boot VM using ISO file from datastore.

1. Log into the vSphere client via a web browser

2. Locate the VM you would like to boot from ISO

3. Right-click the VM and select Edit Settings

4. Expand CD/DVD drive 1

5. Select Datastore ISO File

6. Click Browse to select ISO file from datastore

7. Check Connect At Power On and click OK

How do I Boot to a virtual machine?

Protect the data on the virtual machine with Vinchin Backup & Recovery

Hypervisor makes users conveniently create VMs to manage all kinds of system. For long-term planning, data protection shouldn’t be ignored.

No one could avoid accident, but it could be properly disposed to minimize the damage and loss. Vinchin Backup & Recovery is a comprehensive VM backup solution that can help you easily reach the goal.

How do I Boot to a virtual machine?

With its powerful features, it has gained a good reputation among clients. It supports not only VMware vSphere backup, but also XenServer, Hyper-V, XCP-ng backup, etc.

Agentless backup: You dont need to deploy agents on operating system to backup VM data. Vinchin Backup & Recovery allows you to backup VMs by directing interacting with the hypervisor layer. It’s more convenient and cost-effective.

Instant Recovery: System crash might take hours or a couple of days to recover in the past, which could cause unmeasurable effects on the business operation, but with Instant VM Restore in Vinchin Backup & Recovery, your interrupted business can be immediately recovered, because any crashed VM can be seamlessly recovered on the original or a new host machine in 15 seconds.

Vinchin Backup & Recovery would also help migrate VM from one ESXi host to another including hosts on another platform like Citrix XenServer, Red Hat Virtualization, Oracle Linux KVM, etc., up to 9 mainstream virtualization platforms.

Want to know more advanced features? Just a start a 60-day full-featured free trial.

Conclusion

VMware users might need to boot VMware virtual machine from ISO file for some reason. This passage gives the detailed steps to help users to use virtual CD/DVD drive.

By the way, dont forget to backup VM with Vinchin Backup & Recovery.

If this passage solves your problem, you could share it on social media platforms to help more people.

How do I get into virtual machine BIOS?

Quickly press F2 (in OS X or macOS, press Fn + F2) to enter the VMware BIOS. The BIOS boot screen is visible for only about one second. Make the changes you want to the BIOS settings, and then press F10 (OS X and macOS: Fn + F10) to continue starting the guest OS.

How do I boot from an ISO virtual machine?

How to Boot VM from ISO in vSphere client?.
Log into the vSphere client via a web browser..
Locate the VM you would like to boot from ISO..
Right-click the VM and select Edit Settings..
Expand CD/DVD drive 1..
Select Datastore ISO File..
Click Browse to select ISO file from datastore..
Check Connect At Power On and click OK..

How do I select a boot device in VMware?

Procedure.
Select Window > Virtual Machine Library..
Select a virtual machine in the Virtual Machine Library window and click Settings..
Under Other in the Settings window, click Startup Disk..
Click the startup device to use..
Click Restart..