Mounting an ISO Image: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
== Mount an ISO Image under AIX ==
== Mount an ISO Image under AIX ==
# Create a new logical volume
# Create a new logical volume
## <tt>'''# mklv -y cdlv -s n -L /dev/cdlv rootvg 4814M <hdisk#>'''</tt>
#: <tt>'''# mklv -y cdlv -s n -L /dev/cdlv rootvg 4814M <hdisk#>'''</tt>
# Create a pseudo-device to copy the image to
# Create a pseudo-device to copy the image to
## <tt>'''# dd if=<iso image> of=/dev/cdlv'''</tt>
#: <tt>'''# dd if=<iso image> of=/dev/cdlv'''</tt>
# Mount the logical volume like a cd/dvd device
# Mount the logical volume like a cd/dvd device
## <tt>'''# mount -v cdrfs -o ro /dev/cdlv /mnt/iso'''</tt>
#: <tt>'''# mount -v cdrfs -o ro /dev/cdlv /mnt/iso'''</tt>


== Mount an ISO Image under Linux ==
== Mount an ISO Image under Linux ==

Latest revision as of 19:05, 1 March 2017

Mount an ISO Image under AIX

  1. Create a new logical volume
    # mklv -y cdlv -s n -L /dev/cdlv rootvg 4814M <hdisk#>
  2. Create a pseudo-device to copy the image to
    # dd if=<iso image> of=/dev/cdlv
  3. Mount the logical volume like a cd/dvd device
    # mount -v cdrfs -o ro /dev/cdlv /mnt/iso

Mount an ISO Image under Linux

  1. # mount -o loop <iso image> <mount point>