Tuesday, June 26, 2012

Mount ISO files in Linux,Solaris,HP-Ux Servers

LINUX SERVERS
-----------------------------
1. Run the following command to create an empty directory
   where the ISO file can be mounted:
    mkdir /isoimg
2. Run the following command to mount the ISO file on the
   mount point:
    mount -o loop /tmp/<ISO_file> /isoimg
3. Run the following command to unmount the ISO file:
    umount /isoimg

SOLARIS SERVERS
-----------------------------
1. Run the following command to create an empty directory
   where the ISO file can be mounted:
    mkdir /isoimg
2. Run the following command to create a pseudo device:
    lofiadm -a /tmp/<ISO_file> /dev/lofi/1
3. Run the following command to mount the pseudo device
   on the mount point:
    mount -F hsfs -o ro /dev/lofi/1 /isoimg
4. Run the following command to unmount the ISO file:
    umount /isoimg

HP-UX 11.11 and HP-UX 11.23 SERVERS
-----------------------------
1. Run the following command to create an empty directory
   where the ISO file can be mounted:
    mkdir /isoimg
2. Run the following command to start the pfs mount daemon
    nohup pfs_mountd &
3. Run the following command to start the pfs daemon
    nohup pfsd &
4. Run the following command to mount the iso image
   using following command
    pfs_mount -o xlat=UNIX /tmp/<ISO_file> /isoimg
5. Run the following command to unmount the ISO file:
    umount /isoimg

HP-UX 11.31 SERVERS
-----------------------------
1. Install the ISOIMAGE-ENH enhancement bundle
(also dependant patches PHCO_39672, PHCO_39673,
  PHCO_39674, and PHCO_39675)
2.Run the following command to create an empty directory
  where the ISO file can be mounted:
   mkdir /isoimg
3. Run the following command to mount the ISO File:
   mount F cdfs /tmp/<ISO_file> /isoimg
   If the mount command generates an invalid operand
   error, try the following command to load the correct
   kernel module:
   kcmodule fspd=loaded
(If prompted, proceed with the automatic
  backup configuration.)
  Finally, try the mount command again.
5. Run the following command to unmount the ISO File:
    umount /isoimg

No comments:

Post a Comment