4

I am in need of booting into a VM (with a guest OS already installed) from a Live Image (a .iso file that I have) to do some partitioning work, I am running the latest version of Virtual Box, and Ubuntu GNOME 15.10 with GNOME 3.18 is the host, so how can I do this?

10

Addition section:

1. Select the VM you want to boot into with the Live Image.

VM Selection

2. Click Settings.

Settings button

3. Go to the Storage section.

Storage section


FORK 1

Now that you have got this far there are two ways of continuing, you may either add the Live Image as a new optical drive, or you may just link it up to the current Empty slot. If you wish to go with the first option just continue on with these instructions, or if you want to go with the second option, go down to FORK 2.

4. In the Storage Tree select the Empty optical disk.

Select <code>Empty</code> optical disk

5. Click the pull-down menu with the image of a disk in the Attributes section.

6. Select the Choose Virtual Optical Disk File... option.

Disk pull-down menu

7. Locate the ISO Live Image you wish to boot from on your system and press OK on any remaining windows. When you now run the VM it should boot into the Live Image.

For removal instructions go to the final section titled Removal section.


FORK 2

4. Click the Adds optical drive. button.

<code>Adds optical drive.</code> button

5. Choose the Choose disk option and select the ISO file you wish to boot from.

Choose disk button

6. After doing so press OK and the next time you boot into your VM it will boot into it from the Live Image which you have just selected.

For removal instructions go to the final section titled Removal section.


Removal section:

If at any point you wish to boot into the VM's original hard drive as opposed to the Live Image follow the following instructions for the different forks:

FORK 1 removal instructions:

1. Once you are in the Storage section select optical disk which you added.

2. Click the pull-down menu with the image of a disk in the Attributes section.

3. Select the Remove Disk from Virtual Drive option.

Disk pull-down menu and indication of correctly selected optical disk

4. Press OK on any remaining windows and when you next boot into your VM it should boot using its original hard drive.

FORK 2 removal instructions:

1. Once you are in the Storage section select optical disk which you added.

2. Press the Remove selected storage attachment button.

Removing the selected storage attachment

3. Press OK on any remaining windows and when you next boot into your VM it should boot using its original hard drive.


Additional note: By default the VM will boot into the first optical drive, so if you have multiple ones attached and are having any problems from with this, when you first start the VM you can choose which you want to boot into by pressing F12 on startup (it should indicate at the bottom when you can do this to get the boot options).

4

From the GUI:

  1. Select the virtual machine;
  2. Click on Settings;
  3. Click on Storage;
  4. Under Storage Tree you should have at least an optical IDE drive listed under Controller IDE. Select it, click on the CD / DVD icon under Attributes and select Choose Virtual Optical Disk File...
  5. Select the ISO image;
  6. Click on OK;

  7. Boot the VM;

  8. By default the VM will boot into the first optical drive, so as long you don't have other optical drives attached to the VM you should boot directly into the Live DVD; if you have multiple optical drives attached to the VM and you linked the ISO to another optical drive you can override the boot drive at boot time by hitting F12 and selecting the correct drive.

To unlink the ISO from the optical drive do the same steps again but during step 4 click on Remove Disk from Virtual Drive instead.

2

Add the ISO-image to virtualbox with the disk-image-manager, assign the ISO-image to the virtual CD drive of the VM and configure the boot-order of the VM to start from CD

Here - topic 1.8.1 - is some more useful information

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy