5.3. The Virtual Media Manager

Oracle VM VirtualBox keeps track of all the hard disk, CD/DVD-ROM, and floppy disk images which are in use by virtual machines. These are often referred to as known media and come from two sources:

The known media can be viewed and changed using the Virtual Media Manager tool, which you access by clicking Media on the global Tools menu in VirtualBox Manager.

Figure 5.1. The Virtual Media Manager, Showing Hard Disk Images

The Virtual Media Manager, Showing Hard Disk Images

The known media are conveniently grouped in separate tabs for the supported formats. These formats are:

For each image, the Virtual Media Manager shows you the full path of the image file and other information, such as the virtual machine the image is currently attached to.

The Virtual Media Manager enables you to do the following:

To perform these actions, highlight the medium in the Virtual Media Manager and then do one of the following:

Use the Storage page in a VM's Settings window to create a new disk image. By default, disk images are stored in the VM's folder.

You can copy hard disk image files to other host systems and then import them in to VMs from the host system. However, some Windows guest OSes may require that you configure the new VM in a similar way to the old one.

Note

Do not simply make copies of virtual disk images. If you import such a second copy into a VM, Oracle VM VirtualBox issues an error because Oracle VM VirtualBox assigns a universally unique identifier (UUID) to each disk image to ensure that it is only used one time. See Section 5.6, “Cloning Disk Images”. Also, if you want to copy a VM to another system, use the Oracle VM VirtualBox import and export features. See Section 1.15, “Importing and Exporting Virtual Machines”.

5.3.1. Creating a Virtual Hard Disk Image

Use the Create Virtual Hard Disk wizard to create a hard disk image.

  1. Display the Hard Disks tab in Virtual Media Manager and click Create.

    The Create Virtual Hard Disk wizard is shown.

    Figure 5.2. Create Virtual Hard Disk Wizard

    Create Virtual Hard Disk Wizard

  2. On the Virtual Hard Disk File Type page, select a file type for the new virtual hard disk image.

    Click Next.

  3. On the Storage on Physical Hard Disk page, select whether the size of the virtual hard disk file is dynamically allocated or is of fixed size.

    Click Next.

  4. On the File Location and Size page, configure the location of the virtual hard disk file and use the slider to set the size limit for the virtual hard disk.

    Click Finish to create the virtual hard disk file.

    The virtual hard disk image is created in the specified location and added to the Hard Disks tab in Virtual Media Manager.

5.3.2. Creating a Virtual Optical Disk Image

Use the VISO Creator tool to create a virtual optical disk image. This enables you to create a virtual ISO from selected files on the host.

  1. Display the Optical Disks tab in Virtual Media Manager and click Create.

    The VISO Creator tool is shown.

  2. Create the virtual ISO file.

    1. Configure the name of the ISO file.

      Click Configuration and enter a name in the Viso Name field.

    2. Add files to your virtual ISO.

      In the Host File System pane, select files to copy from the host system to the virtual ISO.

      Click Add Items To VISO. The files are displayed in the VISO Content pane.

      The following file operations are also available:

      • To create folders on the virtual ISO, click Create New Directory.

      • To remove files from the virtual ISO, select files in the VISO Content pane and click Remove Items From VISO.

      • To remove all files from the virtual ISO, click Reset the VISO Content.

  3. Create the virtual ISO image.

    Click Create.

    A virtual ISO file with the specified name and content is created.

5.3.3. Creating a Virtual Floppy Disk Image

Use the Floppy Disk Creator tool to create a floppy disk image.

  1. Display the Floppy Disks tab in Virtual Media Manager and click Create.

    The Floppy Disk Creator tool is shown.

  2. Configure the following settings:

    • File Path: The name and location of the floppy disk image.

    • Size: Select from the list of supported floppy disk sizes.

    • Format Disk as FAT 12: This is the default format used for most floppy disks. For an unformatted disk, do not select this option.

  3. Create the floppy disk image file.

    Click Create.

    The floppy disk image is created in the specified location and added to the Floppy Disks tab in Virtual Media Manager.