Thursday 21 June 2012

ISO IMAGE MOUNTING ON DIFFERENT PLATFORMS


An ISO image is an archive file (disk image) of an optical disc using a conventional ISO (International Organization for Standardization) format. ISO image files typically have a file extension of .ISO. The name "ISO" is taken from the ISO 9660 file system used with CD-ROM media, but an ISO image can also contain UDF file system because UDF is backward-compatible to ISO 9660.

As a first step copy iso image to local disk.
  /path1/isoimage

LINUX
1.       Create an empty  directory on which iso image can be mounted.
Mkdir  /mnt/myiso
2.       mount -o loop /path1/isoimage /mnt/myiso

3.       cd /mnt/iso

AIX
1.  Obtain the size of the iso image.

    du –sk /path/isoimage

   2. Identify the nearest multiple of 128 MB that will provide enough space for the image.
  Suppose iso image size is 350 mb , nearest multiple is 128 x 3 = 384 MB

      Make a logical volume of this size. Ensure that there is enough space on the physical volume. For example, hdisk0.

      # mklv -y cdlv -s n -L /dev/cdlv rootvg 384M hdisk0

      If the command fails, increase the volume size by a multiple of 128.
   3. Use the dd command to create a pseudo-device. Ensure that the partition has enough space for the pseudo-device. In the following example command, the pseudo-device is /dev/cdlv.

      # dd if=/path/isoimage  of=/dev/cdlv

      Note that this command may take a long time and will create two dd processes.
   4. Mount the device like a CD-ROM in AIX. Ensure that the mount point exists.

      # mount -v cdrfs -o ro /dev/cdlv /mnt/iso

4.  Change directory into /mnt/iso.



SOLARIS

1.using below command create a pseudo device.
lofiadm -a /path/isoimage  /dev/lofi/1

2. mount the pseudo device to mount point.
mount -F hsfs -o ro /dev/lofi/1 /mnt/iso

3. cd /mnt/iso

HPUX

1.     Start pfs mont daemon.
# nohup pfs_mountd &
     
2.     Start pfs daemon.
       # nohup pfsd &

3.     Mount the iso image using following command.
       # pfs_mount -o xlat=UNIX /path/isoimage  /mountpoint
4.        Cd /mountpoint.
   
WINDOWS
1.       Extract iso image contents to directory by righ-click and extract .


If first option fails for HPUX try this:
HPUX:
1.       Install  ISOIMAGE-ENH enhancement bundle (also dependant patches PHCO_39672, PHCO_39673, PHCO_39674 and PHCO_39675)
2.       mkdir /isoimg
3.       mount –F cdfs /A1/HPOvOpsAgt-11.00.012.iso /isoimg
4.       If the mount command generates an “invalid operand” error, try the following command to load the correct kernel module:
        kcmodule fspd=loaded
     
# kcmodule fspd=loaded
     ==> Update the automatic 'backup' configuration first? y
       * The automatic 'backup' configuration has been updated.
       * Future operations will update the backup without prompting.
Module            State   Cause     Notes
fspd    (before)  auto    best      auto-loadable, unloadable
        (now)     loaded  explicit

5.       Finally try mount command again



No comments:

Post a Comment

Tweets by @sriramperumalla