For Linux, mount the ISO image "/iso/file.iso" to the mount point "/media/iso" using the command:
When paired w/ FTP/HTTP/NFS services, mounting ISO image allows for hosting the original ISO and the contents across a network w/o incurring double the local storage. Our Novell OES 2 Linux install source uses this capability.
sudo mount -o loop,users -t iso9660 /iso/file.iso /media/iso
Mount the ISO image "/iso/file.iso" at boot by adding a line to the "/etc/fstab":
Sun Solaris always requires that extra effort to complete any task. Mounting an ISO on Solaris requires manually creating the loopback, then mounting it:/iso/file.iso /media/iso udf,iso9660 ro,exec,users,loop 0 0
# /usr/sbin/lofiadm -a /export/iso/sol-companion.isoAfterward you can verify the block device with lofiadmin and df:
/dev/lofi/1
# mount -F hsfs -o ro /dev/lofi/1 /mnt/iso
# /usr/sbin/lofiadmBoth steps can be achieved as a single line (note that ` is not ' ):
Block Device File
/dev/lofi/1 /export/iso/sol-companion.iso
# df -h
Filesystem size used avail capacity Mounted on
rpool/ROOT/s10s_u7wos_08
37G 4.3G 31G 13% /
/devices 0K 0K 0K 0% /devices
[...]
/dev/lofi/1 647M 647M 0K 100% /mnt/iso
mount -F hsfs -o ro `lofiadm -a /export/iso/sol-companion.iso` /mnt/isoI am not covering mounting at boot because I have not tried it.
When paired w/ FTP/HTTP/NFS services, mounting ISO image allows for hosting the original ISO and the contents across a network w/o incurring double the local storage. Our Novell OES 2 Linux install source uses this capability.
Comments