Ubuntu Linux Mount an Iso Image

by Vivek Gite on July 13, 2007 · 0 comments

How do I mount an Iso image under Ubuntu Linux?

Under UNIX and Linux like oses a loop device (a pseudo-device) can make a file accessible as a block device. It is is often used for CD / DVD 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.

Mount an ISO Image

Open terminal and create a mount point:
$ sudo mkdir /mnt/iso
If your iso image is at /tmp/file.iso, type the following to mount it:
$ sudo mount -o loop /tmp/file.iso /mnt/iso
To view and copy files from mount iso image:
$ cd /mnt/iso
$ ls -l
$ cp test.txt /tmp

umount - unmount File Systems

To unmount type the command:
$ sudo umount /mnt/iso

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 15 + 6 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: