How to: Mount an ISO image under Linux(Linux 下 mount .iso 鏡像檔案)

來源:互聯網
上載者:User
文章目錄
  • More about loop device

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.

You can mount an ISO images via the loop device under Linux. It is
possible to specify transfer functions (for encryption/decryption or
other purposes) using loop device.

But, how do you mount an ISO image under Linux? You need to use mount command as follows:

Procedure to mount ISO images under Linux

1) You must login as a root user, if not root user then switch to root user using following command:
$ su -

2) Create the directory i.e. mount point:
# mkdir -p /mnt/disk

3) Use mount command as follows to mount iso file called disk1.iso:
# mount -o loop disk1.iso /mnt/disk

4) Change directory to list files stored inside an ISO image:
# cd /mnt/disk
# ls -l

More about loop device

A loop device is a pseudo-device that makes a file accessible as a
block device. Loop devices are often used for CD ISO images and floppy
disc images. Mounting a file containing a filesystem via such a loop
mount makes the files within that filesystem accessible. They appear in
the mount point directory using above commands.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.