View RSS Feed

James' openSUSE Bash Scripting (and other things) Blog - Your Comments are Welcome!

ISOMount - Allows you to mount and Browse ISO Files - Version 1.00

Rate this Entry


ISOMount is a bash script (works with openSUSE 12.1 & 12.2) written to be launched from the KDE or GNOME desktop to allow the mounting of any ISO file, thus allowing you to be able read any file from within. When you first start ISOMount, you will see a screen like this:



ISOMount creates a new local folder in your home area called mnt (as in ~/mnt or /home/username/mnt). When you run ISOMount, you get a small screen telling you that you can mount or remove an already mounted ISO file. To unmount an ISO file, just select the very same one a second time and the ISO file will be unmounted and the folder for it removed. In order to start using ISOMount just Copy and Paste the text of this script into a text editor and save it as the file isomount in your home area bin folder (~/bin/isomount). The script is too large to be posted in a message here and is included in SUSE Paste.

ISOMount - Allows you to mount and Browse ISO Files - Version 1.00

Open the above Link in a new Tab. Select the Download option in the top right and then select Open With Kwrite or other text editor and then save the bash script text file as ~/bin/isomount. It is possible to directly download isomount using the following terminal command (You must delete or remove the old version first):

ISOMount must be marked executable in order to be useable. Open up a terminal session after you have saved ISOMount and run the following command:

Code:
chmod +x ~/bin/isomount
It is possible to download and create ISOMount with a single command. Copy the following command, open up a terminal session, paste it in and press enter:

Code:
rm ~/bin/isomount ; wget -nc http://paste.opensuse.org/view/download/28322886 -O ~/bin/isomount ; chmod +x ~/bin/isomount
To use ISOMount, you can run the terminal command:

Code:
isomount
Or, you can do an Alt-F2 in KDE and enter isomount. Once the icon is on your desktop, just click it with your mouse to start ISOMount. As always, I want to hear any questions or comments about using ISOMount.

Thank You,

Blogs: asroot : Bash : Packet Filter : C.F.U. : GPU's : fewrup : F.S.M. : H.I. : nVIDIA : LNVHW : N.S.F. : S.A.K.C. : MMCHECK
S.A.S.I. : S.C.L.U. : S.G.T.B. : S.K.I.M. : S.L.A.V.E. : S.L.R.C. : S.T.A.R.T. : S.U.F.F. : SYSEdit : systemd : YaST Power

Submit "ISOMount - Allows you to mount and Browse ISO Files - Version 1.00" to Digg Submit "ISOMount - Allows you to mount and Browse ISO Files - Version 1.00" to del.icio.us Submit "ISOMount - Allows you to mount and Browse ISO Files - Version 1.00" to StumbleUpon Submit "ISOMount - Allows you to mount and Browse ISO Files - Version 1.00" to Google Submit "ISOMount - Allows you to mount and Browse ISO Files - Version 1.00" to Facebook Submit "ISOMount - Allows you to mount and Browse ISO Files - Version 1.00" to Twitter

Updated 26-Mar-2013 at 18:16 by jdmcdaniel3

Tags: files, iso, mount, umount
Categories
openSUSE Software

Comments

  1. ampron's Avatar
    I tried using your script to mount a Microsoft Office 2010 ISO so I could try to install it with Wine, but it is failing. I am running openSuSE 12.1 with KDE and I am getting exit code 2. I tried reading through the script but I couldn't figure out what that error code meant.

    Just as instructed it is install in /home/username/bin as "isomount" and I modified it's permission to be an executable.
  2. jdmcdaniel3's Avatar
    So ampron, you just need to open up a terminal session and past in the following terminal command and its all done for you.

    [CODE]rm ~/bin/isomount ; wget -nc [URL]http://paste.opensuse.org/view/download/28322886[/URL] -O ~/bin/isomount ; chmod +x ~/bin/isomount[/CODE]

    When done, just type in isomount to start the program. After that, if you use KDE, you will find a new icon in your desktop folder you can use to start the bash script. I have not tried to mount a Windows iso file, but I will give that a try this weekend.

    Thank You,
  3. stamostolias's Avatar
    I have to say James there are perfect.