Help answer threads with 0 replies.
Go Back > Blogs > Kashif Aziz Awan
User Name


Rate this Entry

Mount CD or ISO (Solaris-9) How to

Posted 04-28-2011 at 05:19 AM by kashifazizawan

Distribution: Solaris-9
System: X86
Date: January 23, 2011
Author: Kashif Aziz Awan

Version: 5.9 Generic

Mount a cd or iso to install software etc
There are two ways to use one of these collections.
1.Download one of the files - say companion-sparc-sol10.iso.bz2 to a directory, for example, /tmp. to /tmp and run bunzip2 companion-sparc-sol10.iso.bz2
3.Mount the iso file with commands like (as root)
$lofiadm -a /tmp/companion-sparc-sol10.iso /dev/lofi/1

$mount -F hsfs -o ro /dev/lofi/1 /mnt
or combine both commands:
$mount -F hsfs -o ro `lofiadm -a /export/temp/software.iso` /mnt
4.Now cd to /mnt and you will find the packages, for example, SFWyasr.pkg.bz2. Copy the packages you want to some directory, here just /tmp.
5.In /tmp, run bunzip2 SFWyasr.pkg.bz2.
6.Then run pkgadd -d SFWyasr.pkg and follow the instructions. The files will be installed in /opt/sfw subdirectories.

Check the status
Unmount and detach the images
Use umount command to unmount image:

$unmount /mnt
Now remove/free block device:

$lofiadm d /dev.logi/1
For more information read lofiadm and lofi man pages by typing the following command:
man lofiadm
Posted in Uncategorized
Views 1948 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 11:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration