Page 1 of 1

Mounting ISO images from the command line. Rate Topic: ***** 1 Votes

#1 Tom9729  Icon User is offline

  • Segmentation fault
  • member icon

Reputation: 181
  • View blog
  • Posts: 2,642
  • Joined: 30-December 07

Posted 05 January 2008 - 12:05 AM

Have any ISOs laying around that you need to access? In Windows you would probably use a program like Daemon Tools or Alcohol 52% to mount the ISO as a virtual disc, and thus not waste a perfectly good cd-r.

In Linux, a separate program is unnecessary. You can simply use the mount command.

Let's say your ISO is located at /home/user/disc.iso, and you want to mount it at /media/iso. First become root (or prepend sudo to the following command if you use it).

Then use the command mount -o loop /home/user/disc.iso /media/iso to mount your ISO.

When you're done and want to unmount it, simply become root (or use sudo) and do the command umount /media/iso.

To view a list of everything that's currently mounted, issue the command mount.

Happy mounting. ;)

Is This A Good Question/Topic? 1
  • +

Replies To: Mounting ISO images from the command line.

#2 no2pencil  Icon User is online

  • Professor Snuggly Pants
  • member icon

Reputation: 6635
  • View blog
  • Posts: 30,898
  • Joined: 10-May 07

Posted 09 October 2008 - 11:51 PM

I can't thank you enough for this tutorial. I've used it at least 5 times now. At this very moment it's saving my ass lol.

I have a damaged drive that I backed up to a file using dd & I was able to mount that local file using this tutorial & find & repair the issue. I'll dump the file system to a new drive in about 20 minutes :)

Thanks again Tom!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1