12-02-2003
Mounting an ISO image on Solaris
Many software packages can be downloaded in the form of an ISO image. ISO images can also be created from CD and saved as ISO images:
$ cat /dev/somecd > somename.iso
Rather than burning the image to a CD-ROM to access its contents, it is easy to mount the image directly into the filesystem using the lofiadm and mount commands.
Given an ISO image in /export/temp/software.iso, a loopback file device (/dev/lofi/1) is created with the following command:
# lofiadm -a /export/temp/software.iso /dev/lofi/1
The lofi device creates a block device version of a file. This block device can be mounted to /mnt with the following command:
# mount -F hsfs -o ro /dev/lofi/1 /mnt
These commands can be combined into a single command:
# mount -F hsfs -o ro `lofiadm -a /export/temp/software.iso` /mnt
Other ISO images can be mounted by incrementing the lofi device:
# lofiadm -a /export/temp/software2.iso /dev/lofi/2
# lofiadm -a /export/temp/software3.iso /dev/lofi/3
etc.
Last edited by kduffin; 12-02-2003 at 08:00 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I want to mount an ISO image as a file system in AIX, have been unable to find a utility to do so after scouring the net.
Bryan (1 Reply)
Discussion started by: murdaugh
1 Replies
2. UNIX for Advanced & Expert Users
I would like to mount an iso CD image on my Suse linux (SLES 9), the image has been copied to my suse linux machine.
am able to mount the iso image manually by mount -oloop /iso/SLES-9-i386-CD1.iso /free
but I would like to put the above entry in /etc/fstab so that when the machine is rebooted,... (2 Replies)
Discussion started by: hassan1
2 Replies
3. AIX
Hi Guys,
How to mount ISO images in AIX environment.
I know how to do it in Solaris.
Thanks
Manu (0 Replies)
Discussion started by: b_manu78
0 Replies
4. Red Hat
Hi Guys,
I'm having a bit of trouble and im not sure what is the deal, I'm trying to mount an ISO on my RHEL box and it is not letting me...
mount -o loop -t iso9660 /home/bgalante/rhel-5-server-i386-disc3.iso /mnt
mount: Not a directory
any idea what i am doing wrong? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
5. Ubuntu
I want to install Ubuntu 7.10 and I have ISO image ubuntu-7.10-desktop-i386.iso .
How can I convert to a bootable CD on linux or on windows.
Thanks,
J. (5 Replies)
Discussion started by: superuser84
5 Replies
6. Solaris
Hi All,
Please help me with this.
My plan is to create an ISO image of my current solaris 8 OS.Because we use a stripped out version of solaris 8 which is different than the standard one in CD. Will dd command will do ?
My idea is to create a VMware image from iso file and play it in... (6 Replies)
Discussion started by: Jartan
6 Replies
7. Solaris
Hi All,
Can anyone give me the lnik to download the iso image file Solaris 10 .
I need to install it on my local machine .
Pls help me out.
VINU (5 Replies)
Discussion started by: vinuvinod
5 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I'm trying to create a customized debian installer on a USB key.
I found a tutorial on how to create the usb key.
After the USB key is prepared, all you have to do is to copy the iso file to the stick.
So what I need to do now is to be able to modify the content of the iso file before... (7 Replies)
Discussion started by: chebarbudo
7 Replies
9. Red Hat
Hello Everyone,
Can anyone let me know how to make minimal boot.iso from rhl6 installation dvd iso image. I have a dvd image with me but i want to make just a minimal boot media. Somehow it is not shipped with dvd iso. I know we can download boot.iso from redhat site but is there any anyway we... (5 Replies)
Discussion started by: Rohit Bhanot
5 Replies
10. Solaris
Hi Solaris 10 Experts,
How can I create an ISO Image of a CD/DVD from the cdrom to a temporary directory, and then use that image to burn it on a blank DVD in the cdrom in Solaris 10 1/13 OS environment?
Please provide me with an example.
With best regards,
SS (1 Reply)
Discussion started by: ssabet
1 Replies
LEARN ABOUT DEBIAN
encode::byte
Encode::Byte(3perl) Perl Programmers Reference Guide Encode::Byte(3perl)
NAME
Encode::Byte - Single Byte Encodings
SYNOPSIS
use Encode qw/encode decode/;
$greek = encode("iso-8859-7", $utf8); # loads Encode::Byte implicitly
$utf8 = decode("iso-8859-7", $greek); # ditto
ABSTRACT
This module implements various single byte encodings. For most cases it uses x80-xff (upper half) to map non-ASCII characters.
Encodings supported are as follows.
Canonical Alias Description
--------------------------------------------------------------------
# ISO 8859 series
(iso-8859-1 is in built-in)
iso-8859-2 latin2 [ISO]
iso-8859-3 latin3 [ISO]
iso-8859-4 latin4 [ISO]
iso-8859-5 [ISO]
iso-8859-6 [ISO]
iso-8859-7 [ISO]
iso-8859-8 [ISO]
iso-8859-9 latin5 [ISO]
iso-8859-10 latin6 [ISO]
iso-8859-11
(iso-8859-12 is nonexistent)
iso-8859-13 latin7 [ISO]
iso-8859-14 latin8 [ISO]
iso-8859-15 latin9 [ISO]
iso-8859-16 latin10 [ISO]
# Cyrillic
koi8-f
koi8-r cp878 [RFC1489]
koi8-u [RFC2319]
# Vietnamese
viscii
# all cp* are also available as ibm-*, ms-*, and windows-*
# also see L<http://msdn.microsoft.com/en-us/library/aa752010%28VS.85%29.aspx>
cp424
cp437
cp737
cp775
cp850
cp852
cp855
cp856
cp857
cp860
cp861
cp862
cp863
cp864
cp865
cp866
cp869
cp874
cp1006
cp1250 WinLatin2
cp1251 WinCyrillic
cp1252 WinLatin1
cp1253 WinGreek
cp1254 WinTurkish
cp1255 WinHebrew
cp1256 WinArabic
cp1257 WinBaltic
cp1258 WinVietnamese
# Macintosh
# Also see L<http://developer.apple.com/technotes/tn/tn1150.html>
MacArabic
MacCentralEurRoman
MacCroatian
MacCyrillic
MacFarsi
MacGreek
MacHebrew
MacIcelandic
MacRoman
MacRomanian
MacRumanian
MacSami
MacThai
MacTurkish
MacUkrainian
# More vendor encodings
AdobeStandardEncoding
nextstep
hp-roman8
DESCRIPTION
To find how to use this module in detail, see Encode.
SEE ALSO
Encode
perl v5.14.2 2010-12-30 Encode::Byte(3perl)