A Shell Scirpt to Mount ISO files

Tagged with: , , , , ,

A Shell Scirpt to Mount ISO files – call it using the command moustiso.sh ImageFile.iso. You need a folder called /mnt/Image for this to work

sudo mount -o loop "$*" /mnt/Image/

3 Responses to “A Shell Scirpt to Mount ISO files

  • 1
    Arun Basil Lal
    May 14th, 2009 00:36


    This is how the Google Alert Subscription to Blogs let me track all blogs of a single author in one go, and doing all that in Safe mode 😛


  • 2
    May 14th, 2009 07:31

    you should take care of number of loop devices /dev/loop*. You can’t mount any ISO files if there isn’t any /dev/loopX left.

  • 3
    June 2nd, 2009 06:59

    You might also want to do the following

    1. Create a mount point as a failsafe before attempting to mount the iso into /mnt/Image.
    2. Unmount any image at the mount point


Leave a Reply