Find the answer to your Linux question:
Results 1 to 3 of 3

Thread: Mount ISO file

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! probe's Avatar
    Join Date
    Oct 2009
    Belgrade, Serbia

    Mount ISO file


    I found this information about mounting iso file in Linux:

    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

    But when I type

    mount -o loop disk1.iso /mnt/disk

    nothing happens, I just get information about mount command.


  2. #2
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    That sounds like your syntax is bad. From looking at it you should at least specify what filesystem type you're using.
    mount -o loop -t iso9660 disk1.iso /mnt/disk
    The -t switch is specifying that it is an iso9660 filesystem, i.e. CD/DVD.

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    I do this for mounting iso images without problems. However, you must either be root or sudo the mount since mount is a privileged command. Ie,
    sudo mount -o loop disk1.iso /mnt/disk
    if you are not root. If you are root, then executing mount without sudo should be just fine. As bigtomrodney said, you might need the type information, but on my RHEL/CentOS system you don't.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts