How to mount ISO images on HP-UX, Solaris and Linux(掛載ISO鏡像檔案)

來源:互聯網
上載者:User
文章目錄
  • On HP-UX
  • On Solaris
  • On Linux
www.devrecipes.com/2009/05/20/how-to-mount-iso-images-on-hp-ux-solaris-and-linux/
On HP-UX

For version 11.11:

  • Start the pfs mount daemon and the pfs daemon:

    shell> nohup pfs_mountd &
    shell> nohup pfsd &

  • Then create the directory to mount to and run the pfs_mount command:

    shell> mkdir /cdrom
    shell> pfs_mount -o xlat=UNIX /path/to/isofile /cdrom

Version 11.31

  • Create a new logical volume say ‘iso’ of size slightly
    greater than the size of your iso image in MB. You can do this from the
    admin tool-sam, or by using the following command.

    shell>lvcreate -L size_of_your_iso -n iso /dev/vg00

  • Write your iso to the new volume. Needless to say, you must have the required free space.

    shell>dd if=path/to/iso of=/dev/vg00/riso bs=64

  • Now mount it on the directory of your choice, say /cdrom:

    shell>mount /dev/vg00/iso /cdrom

On Solaris
  • Make the iso image accessible through the block device. (See the lofiadm man page for more details)

    shell> lofiadm -a /path/to/iso/your_isao.iso

  • Then mount it wherever you want to, say on /cdrom

    shell> mount -F hsfs -o ro /dev/lofi/1 /cdrom

On Linux
  • Use the following command to mount on the directory of your choice, say /mnt/myisodir

    mount -o loop myiso.iso /mnt/myisodir

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.