1.4 Loopback ISO Mounts

For installations that do not replace the entire operating system of the target host, such as the installation of Oracle VM Manager, the most common method of accessing the installation media is to perform a loopback mount on the ISO provided. For this method, the ISO image file must be accessible to the target host.

1.4.1 Loopback Mounts on x86

If the target host is an x86-based system running Oracle Linux, run the following command to perform a loopback mount of the ISO image file:

# mount -o loop /tmp/OracleVM-Manager.iso /mnt

Substitute /tmp/OracleVM-Manager.iso with the full path to the ISO image file. Substitute /mnt with the path to the directory on the file system to use as a mount point. From this point onward, you can access the contents of the ISO image file at the location of your mount point.

1.4.2 Loopback Mounts on SPARC

If the target host is a SPARC-based system running Oracle Solaris, run the following command to perform a loopback mount of the ISO image file:

# mount -o ro -F hsfs /var/tmp/OracleVM-Manager.iso /mnt

Substitute /var/tmp/OracleVM-Manager.iso with the full path to the ISO image file. Substitute /mnt with the path to the directory on the file system to use as a mount point. From this point onward, you can access the contents of the ISO image file at the location of your mount point.

If you have trouble mounting the ISO image file on a SPARC system, you may need to manually configure the ISO image file as a loopback device:

# lofiadm -a /var/tmp/OracleVM-Manager.iso

This command outputs the device name you should use, for example /dev/lofi/1. Use the new loopback device to perform the mount, for example:

# mount -o ro -F hsfs /dev/lofi/1 /mnt

When you have finished installing, remember to unmount the loopback device and remove it:

# umount /mnt
# lofiadm -d /dev/lofi/1

Refer to the lofiadm man page for more details.