SUSE & openSUSE

Tips,Tricks, Tutorials,How Tos and Troubleshooting suse linux

How to mount an ISO image in SUSE Linux & openSUSE

Posted by admin on July 13th, 2008


You can mount an ISO image onto your operating system instead of burning it onto a CD or a DVD. This can come handy and easy in situations and there you have the advantage of not wasting a media. A classic example would be when setting up a Jumpstart setup.

Let’s say that we have a ISO image of a CD named opensuse.iso in the directory /software

To mount it

opensuse11:~ # mount -o loop /software/opensuse.iso /mnt

where /mnt is the mount point.

This is equivalent to

opensuse11:~ # mount -t iso9660 -o loop /software/opensuse.iso /mnt

Now you can browse the contents of the ISO image by changing directory to /mnt

opensuse11:~ # cd /mnt

This should mount the ISO image. While this article is focussed on SUSE Linux and openSUSE, should work on most of the linux distributions including Ubuntu Fedora.

If you are looking for a way to mount an ISO image in Sun Solaris or openSolaris click here

4 Responses to “How to mount an ISO image in SUSE Linux & openSUSE”

  1. Vlatko Says:

    Note that this will be mounted read only. If you want to modify the mounted ISO image you will have to apply a short workaround as described here: Mount an ISO image in Linux.

  2. dokma Says:

    Note that this will mount the ISO image read only. If you need to mess with the contents of the image you will need to apply a few tricks as explained here: Mount an ISO image in Linux.

  3. Sunny Beyonder Says:

    is this a joke?
    there is a commercial over the complete text i want to read!!!
    now button for closing it!!!

    Thanks for not helping me goes to “STORIX” commercial!!!

    tell me where i can make a donation so you dont have to use something like this!!!

    greetings sunBey

  4. Jugan Says:

    Well,

    so far it works. The con is that this requires root privileges and while an iso is readonly. I seems to be impossible to access the mount point as a normal user. How to work around this?

    Greetings

    Jugan

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>