CD - Create & mount ISO image



  • AIX

    # dd if=/dev/cd0 of=filename.iso
    

    Rock Ridge (ISO9660) format, where /tmp/cool.iso, is the name of the iso image file and /var/tmp/software is the contents of the iso image.

    # /usr/sbin/mkcd -I /tmp/cool.iso -r /var/tmp/software -S
    

    Mount an ISO image
    Create a filesystem slightly larger than the iso image

    # crfs -v jfs -g rootvg -a size=5000M -m /mycdrom -Ano -pro -tno
    

    Find the device name

    # lsfs | grep iso
    

    dd the contents of your iso into the file system

    # dd if=cool.iso of=/dev/rlv01
    

    Change attribute of the filesystem

    # chfs -a vfs=cdrfs /mycdrom
    # mount /mycdrom
    

    AIX 6.1

    # loopmount -i /var/tmp/cool.iso -o "-V cdrfs -o ro" -m /mnt
    

    HP-UX

    # dd if=/dev/rdsk/<cd device> of=/tmp/cool.iso bs=2k
    

    or
    Where iso_directory is where the iso will be placed.

    # make_media_install -r B.11.31 -m iso_directory
    

    Mount an iso image

    # nohup pfs_mountd &
    # nohup pfsd &
    # pfs_mount -o xlat=/path_to_iso /mycdrom
    

    Solaris
    Stop the volume management daemon

    # /etc/init.d/volmgt stop
    

    or

    # svcadm disable volfs
    

    Inset the CD

    # dd if=/dev/rdsk/c0t6d0s2 of=/var/tmp/cool.iso bs=1024k
    

    Mount an iso image
    Make a mount point

    # mkdir /mycdrom
    # mount -F hsfs -o ro 'lofiadm -a /var/tmp/cool.iso' /mycdrom
    

    Enable volume manager

    # /etc/init.d/volmgt start
    

    or

    # svcadm enable volfs
    

Log in to reply
 

© Lightnetics 2024