Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

Mounting ISO image

lofiadm administers lofi(7D), the loopback file driver. lofi(7D) allows a file to be
associated with a block device. That file can then be accessed through the block device.
This is useful when the file contains an image of some filesystem (such as a floppy or
CD-ROM image), because the block device can then be used with the normal system
utilities for mounting, checking or repairing filesystems. See fsck(1M) and mount(1M).

lofiadm and jumpstart


On Solaris 8 and 9 it is not necessary to create CD's to make jumpstart images. This can
be accomplished with lofiadm
# ls /home/Solaris
sol-9-u2-x86-v1.iso sol-9-u2-x86-v2.iso
# lofiadm -a /home/Solaris/sol-9-u2-x86-v1.iso /dev/lofi/1
# mount -F hsfs -o ro /dev/lofi/1 /mnt
# cd /mnt/Solaris_9/Tools
# ./setup_install_server
# umount /mnt
# lofiadm -d /home/Solaris/sol-9-u2-x86-v2.iso
# mount -F hsfs -o ro /dev/lofi/1 /mnt
# cd /mnt/Solaris_9/Tools
# ./add_to_install_server

You might also like