Mounting And Unmounting ISO Images In Ubuntu.

I just found a very simple way to mount ISO images in Ubuntu without having to install any complicated software. A throughout tutorial is provided at Ubuntugeek.com. In fact the tutorial is so good that I felt guilty to copy it over. Sorry. Follow the instructions, you will get it. Below is a brief instruction on how to mount ISO images using scripts. Again, this is totally from Ubuntugeek.com, so make sure you give them some credits. (and yes, I felt guilty for doing this, but I just didn’t want you to stop by for nothing.)

Using Nautilus Scripts

  1. Download 2 scripts: Mount ISO images and Unmount ISO images.
  2. Save the files to your Home directory because my codes below will prefer to that directory.
  3. Open Terminal: Application -> Accessories -> Terminal
  4. We need to change the permission to use the scripts downloaded above.
    Note: substitute your username into “username.”
  5. sudo chmod +x /home/username/mount.sh

    sudo chmod +x /home/username/unmount.sh

  6. Now we need to move them to nautilus scripts
  7. sudo mv /home/username/mount.sh ~/.gnome2/nautilus-scripts/

    sudo mv /home/username/unmount.sh ~/.gnome2/nautilus-scripts/

    Now, every time you right-click, there will be an option named Scripts. You can mount and unmount ISO images by selecting the options.

Advertisements

2 Responses

  1. I have an updated version of this that will mount ISO images (and any other image, such as a floppy/NRG/MDF/etc.) as writeable, and it’s only one script. It also notifies you if the load was successful. It is based on the scripts you have linked to (I believe):

    #!/bin/bash
    #
    for I in `echo $*`
    do
    filetype=$(file “$I”)
    foo=`gksudo -u root -k -m “enter your password for root terminal
    access” /bin/echo “got r00t?”`
    sudo umount /media/Virtual
    sudo mount -v -o rw,loop,uid=$UID $I /media/Virtual && gdialog –title “Mounting Success” –msgbox “File Info: $filetype \n\nFile was mounted successfully:)” 600 400 || gdialog –title “Mounting Failure” –msgbox “File Info: $filetype \n\nFile failed to mount. Please verify file integrity and compatibility.” 600 400
    done
    done
    exit0

    You will need to create the directory “/media/Virtual”

  2. Wow! Nice Post I like this MV Thanks for sharing and Happy New Year 2011 Please Visit My Music song site.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: