Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 16587 ideas, 102320 comments, 2136221 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #194: Easy mounting of Images like ISO and CUE

bug This idea was marked as implemented the 1 June 09.
Written by Nanotron the 28 Feb 08 at 20:17. Related project: Nautilus. Status: Implemented
Rationale
I'm a big fan of Images like .iso. However it is not very easy to mount these Images.


Developer comments
There is already right click->open with "archive mounter" in Gnome, however it currently has a major bug: https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/299956

5716
votes
implemented
Selected solution (#1): Auto-generated solution of idea #194
Written by Nanotron the 28 Feb 08 at 20:17.
I feel there should be a Tool in Nautilus and Dolphin which allows mounting Images by double Click or something similar. (This feature exists int MacOS). Or with a right click on the I think that would be a very useful Tool for every one.
A good example for this is CDemu.

I know there are some other good programs, but I think that would be the easiest way
691
votes
implemented
Selected solution (#2): "Mount Image" avaiable in Right-Click Menu
Written by Bender2k14 the 26 Jan 09 at 04:42.
I should be able to right-click a disk image and select "Mount Image" in the context-sensitive section (just as right-clicking on a disk image provides the "Write to Disk..." option).
-16
votes
implemented
Selected solution (#3): Spruce up gisomount and extend
Written by cbx33 the 20 Mar 09 at 12:22.
Gisomount was created to make this an easy process. It needs a little love and attention, but offered things like md5sum browsing etc. Would make a good GSoC project.
0
votes
implemented
Selected solution (#4): gmount-iso
Written by markoresko the 13 May 09 at 08:35.
I use Gmount-iso to do just that.
sudo apt-get install gmountiso

But I also think that it could be more obvious to do that etc.
Maybe Gmount-iso should be available by default, under right-click on images, like proposed.
40
votes
implemented
Selected solution (#6): Make it possible to mount ISO image from CLI w/o root access
Written by mikaelstaldal the 20 Oct 09 at 12:14.
Also make it possible to mount ISO images from command line without root (sudo) access.
-71
votes
implemented
Selected solution (#7): Solution #3: Mount it automatically once the user double-clicks the ISO file
Written by dexter_greycells the 24 Oct 09 at 07:41.
When the user selects the ISO file (through the keyboard arrow keys, Tab key or a single click) in nautilus a pop-up should come up asking the user to 'Double-click' the ISO file to mount it.
-12
votes
implemented
Selected solution (#8): Okay, here it is :)
Written by r0g the 28 Oct 09 at 05:09.
In the form of a python script for nautilus actions.

http://www.technicalbloke.com/iso_mount.py

I don't have time to do the unmount command too but it should be easy to adapt if you know a little python, consider that homework & pls post me a copy :)

I think it would be nice if Ubuntu came with some more useful nautilus action scripts and a nicer way of adding/removing them. At the moment getting them in and out is more of a pain than it needs to be. It ought to be as easy as Firefox (if not easier!) to install plugins, maybe then people would make more.

Roger.
-44
votes
implemented
Selected solution (#9): Drag *.iso icon onto computer/desktop/places
Written by Lachu the 28 Oct 09 at 11:56.
Automatically mount *.iso files dragged onto computer window/desktop/places menu.

Attachments


Duplicates


Comments
Ventsy wrote on the 29 Feb 08 at 00:16
It is not a big deal but it could be improved. I guess it is one of the easy to implement requests.
I like how is done in MacOS.

pynej wrote on the 29 Feb 08 at 01:00
Actually, this is really easy easy to implement. Here are the scripts that I use all the time.

/usr/local/bin/isomnt
This bash script will mount or unmount an ISO file that you pass to it in the /media folder.
Example:
$-> isomnt myimage.iso
-----------------
#!/bin/bash
# ISO Mount/unmount Script
# Jeremy Pyne
# 01/09/2007
if [ -e "$*" ]; then
if [ -d /media/"$*" ]; then
echo "Unmounting '$*'..."
sudo umount -d /media/"$*"
sudo rmdir /media/"$*"
else
echo "Mounting '$*'..."
sudo mkdir /media/"$*"
sudo mount -o loop "$*" /media/"$*"
fi
else
echo "No image found to mount."
fi
-----------------


~/.gnome2/nautilus-scripts/(Un)Mount ISO
This Nautilus script will mount or unmount an iso file when you right-click->Scripts->Mount, again to the media folder.
-----------------
#!/bin/bash
# ISO Mount/unmount Script (Nautilus)
# Jeremy Pyne
# 01/09/2007
if [ -d /media/"$*" ]; then
gksudo ls /media
sudo umount -d /media/"$*"
sudo rmdir /media/"$*"
else
gksudo mkdir /media/"$*"
wd=$NAUTILUS_SCRIPT_CURRENT_URI#file://
sudo mount -o loop "$wd/$*" /media/"$*"
fi
-----------------

Feel free to use and abuse these scripts :P

mm wrote on the 29 Feb 08 at 01:14
Take a look at the "fuseiso" package.

http://fuse.sourceforge.net/wiki/index.php/FuseIso

It supports lots of different image formats.
Maybe this could be integrated into nautilus.

popi wrote on the 29 Feb 08 at 01:33
sudo mount /repertori/file.iso -o loop /media/iso
so you should use this comand by choosing favorite aplication
(fakeroot/gksudo) mount 0 -o loop /media/iso
need an existing folder /media/iso

wolfier wrote on the 29 Feb 08 at 01:59
We all know the command lines are easy, but it wouldn't be the "Ubuntu way" of doing things do we?

We have come a long way from just being a Debian branch.

deejross wrote on the 29 Feb 08 at 02:00
I think the point is that it would be nice to have one of those methods implemented by default and easily accessible by those who don't want or are too afraid to write scripts or run commands at the terminal.

icechen1 wrote on the 29 Feb 08 at 02:38
There is a program called Gmount-iso which do this with a GUI.

carlinuxlearner wrote on the 29 Feb 08 at 02:38
Also it would be nice if it would give you the option of mounting it automatically at boot time. Like if you wanted a ISO to always be mounted (The Ubuntu installation DVD for instance) And an option for you to STOP it from being auto mounted.

rigrig wrote on the 29 Feb 08 at 02:43
I think it should definitely be possible to simply mount .ISO images from Nautilus(/Konqueror/Thunar), it should probably be the default(double-click) action, although opening it in Archive Manager seems logical as well.
It would also be nice if you didn't need root privileges to do this, since you can open the file in Archive Manager anyway.
I'm not sure how stable the cdemu project is, but it would be nice to make use of that to mount other image formats besides .ISO as well.

hackel wrote on the 29 Feb 08 at 03:29
I voted no for this, because in my opinion, the default action that makes most sense is to open the image in an application to BURN it to a CD. This is certainly what I do most often with ISO's. Other than that, I don't even use them myself.

I do believe, however, that it is a must for ISO files to have a context (right-click) option to mount the image automagically.

exactopposite wrote on the 29 Feb 08 at 05:38
This would be very useful for times when you want to access the contents of a disk image file without actualy burning it to disk.

zigzed wrote on the 29 Feb 08 at 08:55
I agree because it's not very difficult to implement and more user friendly.

nathan_s wrote on the 29 Feb 08 at 10:06
Right, I think we all agree there are three "sane" actions to perform when someone double-clicks on an image file:


* mount it as a virtual optical drive
* open it in Archive Manager
* burn it to blank optical media

I believe options 1 and 2 are functionally the same for most users ("Hey, now I can browse the files."). Regardless, it should be trivial to change the default action.

How about asking the user the first time? Pop up a dialog asking:


"This file contains a [CD/DVD/Double-sided DVD/whatever, based on size] image. What should I do?

Pretend it's a real [CD/DVD/etc]
Open it in Archive Manager
Burn it to a real [CD/DVD/etc]

[] Always do this with [CDs/DVDs/etc] images. This setting can be changed later through ."


And of course an appropriate setting would be added in the UI. This would enable the user to, for instance, burn a CD but mount a DVD (assuming they have a combo drive).

jacen-me wrote on the 29 Feb 08 at 10:10
We could use a Nautilus script like the proposed one, implemented by the right Click but the user can't confirm sudo password every time he mounts an image. It must be automatic.

KeyserSoze93 wrote on the 29 Feb 08 at 10:25
I'm using Kubuntu with this service menu:
http://www.kde-apps.org/content/show.php/fuseisomount?content=46146

Since it is using fuseiso, it allows user ISO mounting without needing to sudo...

ZorbaTHut wrote on the 29 Feb 08 at 11:44
Another question would be, why should this require sudo or any sort of root access? Mounting a disk image should be doable entirely in userland. (I recognize that this is difficult today, but there's no reason mounting should need root access - it's just another of the "doing it this way is easier" things that lead to the hideous situation with Windows permissions.)

Eldmannen wrote on the 29 Feb 08 at 13:52
Very cool idea. :)

Zootropo wrote on the 29 Feb 08 at 14:16
I wrote a Nautilus Script some time ago to mount and unmount ISO images from the Nautilus menu:


http://mundogeek.net/nautilus-scripts/#nautilus-mount-image

brettalton wrote on the 29 Feb 08 at 16:17
I attached this ubuntuforums.org thread: http://ubuntuforums.org/showthread.php?t=87369

duriel wrote on the 29 Feb 08 at 18:39
I agree with most people that mounting ISO files is easy enough, though not obvious. There must be a GUI tool for this.

But one thing i am looking for is a "daemon tools" for linux.
It must support mdf files most importantly, as converting 4-7 gb images to iso format is not fun.

any other image format support will not hurt either.


rawsausage wrote on the 29 Feb 08 at 21:37
Afaik there exists already a Gnome virtual fs plugin for this. It handles at least iso's perfectly, I have used it for several times some time ago. If not, this is a place for making new GVFS plugin :-)

akiratheoni wrote on the 29 Feb 08 at 21:37
I mount ISOs quite often because I don't want to burn it to a disc... this is a very good idea, I like it.

Hagar wrote on the 29 Feb 08 at 23:28
Gmount-iso is already here. Its not one click mount, but still quite easy (right click on iso 'open in gmount-iso', then choose location to mount, click mount button - done). Maybe small upgrades to that application would solve all problems.
1. allowing to auto mount lets say inside /tmp and auto open file browser

Lets say we install gmount-iso open it then select 'allow automount' checkbox. After that whenever you right click on iso image and choose 'open in gmount-iso' gmount automatically mount in /tmp/isoname and show you files.

2. support for other formats

handy wrote on the 1 Mar 08 at 03:24
I used the following How-To on the Ubuntu forums & am very happy with the result:

http://ubuntuforums.org/showthread.php?t=704350

I think it is certainly a very useful ability to be able to mount/unmount from the RMB menu.

arbitrix wrote on the 1 Mar 08 at 07:14
if not too much off-topic: easy mounting of JFFS images would be nice too

franlade wrote on the 1 Mar 08 at 08:10
No scripts needed !!!!!!!
Use Gmount-iso !!!!!!!

Boobek wrote on the 1 Mar 08 at 14:10
or gisomount...

jamesw (Ubuntu developer) wrote on the 1 Mar 08 at 15:44
Hi all,

This was requested last year in the gnome bugzilla, bug
442191, but it has received no response yet.

James

sourcejedi wrote on the 1 Mar 08 at 17:08
Seems fairly natural to me. If you can plug in a USB stick with an ISO filesystem, there's no reason why you couldn't "plug in" a .iso file...


dan.fernandez wrote on the 2 Mar 08 at 21:30
I don't think gnomevfs is a good way to solve this. The answer to this problem should be desktop independent, since we are talking about accesing a type of disk -virtual, yes- legacy applications could/will need to use. Fuse looks like a better way to do it.

Besides, it's a lost of time doing it gnome way instead of general way, since the fix should then need to be ported to kubuntu, xubuntu, mythbuntu...

tomatz wrote on the 2 Mar 08 at 22:30
er you can already do this by mouse 2 "mount image"

cantormath wrote on the 2 Mar 08 at 22:38
This is very easy to do. The ubuntu devs cant fix user-errors like this.

icampana wrote on the 3 Mar 08 at 00:31
You should check out this project:

https://launchpad.net/nautilus-mount-image/

It is already in launchpad, I have tested and it work pretty fine, just right click, mount and you are ready to go, handled just like a pendrive.

Unmount when you don't want to use it and that's all, simple and could be easily added to the repositories, just a click away, I wouldn't bundle it with the default installation since not everybody want's to mount iso images.

mniess wrote on the 3 Mar 08 at 01:20
Everyone is only speaking of ISO here. Think about all the other image formats which _can't_ be mounted out of the box. CDEmu is the way to go there. They have a nice light-weight kernel-module and a library that allow reading the images. It is all written with current standards in mind.

The packages are already in REVU and have been worked on alot. So we can expect them to be in universe/multiverse by hardy+1 (intrepid?).

LeonB wrote on the 3 Mar 08 at 06:29
It would be nice if there could be support for more formats than only iso.

sin wrote on the 3 Mar 08 at 12:37
I'm using Kiso (Konqueror context menu) and it works great. It can mount images and convert them to and fro.

Vadim P. wrote on the 3 Mar 08 at 15:53
Give this a try:

http://www.gnomefiles.org/app.php?soft_id=2278 (although I suspect icampana got it covered)

meastp wrote on the 3 Mar 08 at 17:31
Nautilus scripts does this.

http://mundogeek.net/nautilus-scripts/#nautilus-mount-image

quinthar wrote on the 4 Mar 08 at 12:03
This sounds like a decent idea, but seriously, is this really a top issue? What fraction of users actually experience this, and would adding this feature really improve Ubuntu in the eyes of most users? I'm thinking this issue just got the benefit of a couple days on the "front page" at the very start, despite actually being a pretty minor improvement targeted to a very small set of users.

YokoZar (Ubuntu developer) wrote on the 4 Mar 08 at 12:09
Would a context menu for .bin files to convert them to .iso be appropriate?

This might not be so important if we could just mount .bin files straight (perhaps with CDEmu), but even then it might have some utility.

vicosanz wrote on the 4 Mar 08 at 20:45
I ever admire to Leopard for this tiny stuffs. A lot of tiny stuffs buils a great OS

nathan_s wrote on the 12 Mar 08 at 10:34
Tiger did it too. The vast majority of .iso files don't need to be burned (an exception is boot CD/DVDs). If there was a persistent desktop icon for optical drives, you could:

* Double-click to mount, transforming the .iso file into a CD-drive icon

* Drag the .iso to the existing CD drive, initiating a burn

browny_amiga wrote on the 13 Mar 08 at 01:41
YES!!! Finally somebody mentions it. We need this feature badly.

----------

>This sounds like a decent idea, but seriously, is this really a top issue? What fraction of users actually experience this, and would adding this feature really improve Ubuntu in the eyes of most users? I'm thinking this issue just got the benefit of a couple days on the "front page" at the very start, despite actually being a pretty minor improvement targeted to a very small set of users
----------------------

Well, check it out, (the votes) does not seem a very small set of users. Quiet a lot of people use .ISO images for mounting. I know I do almost all the time in Windows.
Virtual FS is no way to go, it is not really in the OS and only in the frontend and as Kubuntu User, you would have extra work porting it for me. Also, every program needs a VFS plugin to work with it (and many don't especially app xzy that is unique in providing functionality zyxy), so I am no fan of virtual file systems for that reason.

quinthar wrote on the 25 Mar 08 at 01:06
browny: My theory as to why this only-somewhat-valuable feature gets so many positive votes is because:

1) More people have voted on it, period
2) Most people vote yes (and simply don't vote on the nos)

The reason (1) is true is because it's at the top of a bunch of lists, and thus just gets more visibility than hundreds of other ideas -- may of which probably affect more people in a more direct way.

Most importantly, it was at the top of the *only* list for the first days (weeks?) of Brainstorm existing, meaning that in the first days it had a huge visibility advantage over the other ideas, and thus was given an insurmountable lead in votes (ensuring it always appears at the top of lists, and always gets more votes, etc).

I think this is a serious problem that reduces the overall value of Brainstorm. If you agree (or don't), consider my ideas for how to improve it here:

http://brainstorm.ubuntu.com/contributor/quinthar/

nami wrote on the 6 Apr 08 at 10:32
Mounting an iso should be as simple as right clicking the iso file and clicking mount...

nitro182 wrote on the 9 Apr 08 at 12:01
There are some programs that make this thing, but I think that an implementation in Nautilus it's better :D.

The user "pynej", author of the 2nd comment, should create a blueprint and attach it into this page.

Sorry if I made some mistakes with my (veeery) bad english.

RussellGee wrote on the 14 Apr 08 at 19:35
gnome-mount could be included by default.Has a nice little GUI that does this.

kenshiro wrote on the 7 May 08 at 14:34
For me gmountiso could be included by default. For Ubuntu and Xubuntu.
The problem is this: inexperienced users don't know not even what is a mount point and how make it. For some applications is necessary to make it on /media/cdrom*, don't everybody know this and some applications can to give some problems.
gmountiso may be give an "automake cdrom mountpoint" (option enabled by default), it creates automatically the first /media/cdrom* available after the CD/DVD Unit/s installed on the system (fstab) and use it for mountpoint.
Or load the iso image by means of MTAB like an USB FLASH DEVICE or like others removable device.
Goodbye.

Bishounen wrote on the 12 May 08 at 21:00
We absolutely need a feature like this in Ubuntu. Not only for .ISO files, but also for .bin, .cue and the many other image formats that are out there.

Working with disk image files in Ubuntu is a real PITA if you are unfamiliar with writing scripts or working with the shell. There really isn't any reason why we should have to go to the shell for something simple like mounting an image file.

A few have mentioned gmountiso as an option. The only problem with that is that gmountiso ONLY mounts .iso files, and ONLY comes in French. So unless you speak and read French fluently, it's useless. And if you need to mount something that isn't a .iso file, but is still an image, it's useless. So gmountiso is not really a viable option for the majority of Ubuntu users.

A simple right-click menu, as others have suggested, would be best. The choices of Open, Mount and Burn would also probably be the best options as well. Although having the popup menu choices after double-click would be a nice addition as well.

l0b0 wrote on the 15 May 08 at 15:22
Adding my own script to the string of suggestions:
http://l0b0.net/blog/?p=117

This script works in the shell and Nautilus, handles multiple files at the same time, and creates symlinks to the mount points named after the ISO files in the same directory as the ISO files.

frederyk wrote on the 3 Jul 08 at 11:24
Not only iso/bin/cue files should be mountable. dmg, squashfs ,dd-dumps and other images should be importable like usb-sticks without root accont.
the best would be a point in the popup-menu with the right-click on the image.

grigio wrote on the 4 Jul 08 at 08:38
http://grigio.org/mount_iso_file_human_being

A solution could be something like that with fuse iso

jscinoz wrote on the 31 Jul 08 at 03:54
I must agree with what grigio and other's said, fuseiso would be the best way to go about this, firstly because it supports a whole bunch of image formats (iso, bin, mdf, img, nrg according to the description in synaptic), also because its FUSE you don't need root to (un)mount the image.

Also, i think using GVFS for this is a bad idea, as this should be environment independent.

Basically, implement it in nautilus so you can easily (un)mount an image by simply right clicking and choosing said option, which should be in the top level menu, not in the scripts submenu.

waster wrote on the 15 Oct 08 at 15:10
So few useful comments on this important point.

Some very basic use cases are impossible for most users, and time consuming for those command-line jockeys.

E.g. play a DVD iso in a media player - this takes ten minutes of mounting, and reconfiguring mplayer/xine/whatever to point /dev/dvd to somewhere else

This really should not require installing more apps, scripts, or command line. The words "quite simple" followed by some pasted shell script is completely unacceptable for >99.9% of the world's computer users.


Endolith wrote on the 30 Oct 08 at 15:15
Currently you can right-click an ISO and select "Write to CD". Why isn't there an option for "Mount as Drive"??

Dinth wrote on the 7 Nov 08 at 21:30
What about CUE and other non-iso cdimage formats?

GNOME users have cdemu frontend on launchpad, and what about KDE users ?

jonathanmotes wrote on the 8 Nov 08 at 17:44
In Intrepid you can mount ISO images by right clicking on the image and selecting "Open with..."-> Open with "Archive Mounter".

Endolith wrote on the 9 Nov 08 at 15:51
In Intrepid you can mount ISO images by right clicking on the image and selecting "Open with..."-> Open with "Archive Mounter".

This doesn't work for me. File names look like "SETUP.EXE;1" instead of "Setup.exe" and "SETUP_EX.MAN;1" instead of "Setup.exe.manifest"

saivann (Brainstorm moderator) wrote on the 18 Nov 08 at 07:00
This feature is now included in intrepid. If you get any problems with this new feature, please open bug reports in http://bugs.launchpad.net/ for gvfs package.

Endolith : Your issue looks like bug 292963

Endolith wrote on the 18 Nov 08 at 16:20
This feature is now included in intrepid.

See comment on Launchpad. This is not enabled in Intrepid unless you go through the "Open with" menu, since it doesn't work with most apps.

Dinth wrote on the 18 Nov 08 at 18:00
Saivann : What about CUE and other non-iso cdimage formats?

That idea isnt included, is only partialy included, and that is big difference.

ISO is maybe popular, but also simplest CD Image format and in 99% dont works with game CD backups - and that is one of most importants reason to mount CD Images. It doesnt makes sense to make ISO backups of software, if you must also install no-cd cracks to use them and with no-cd crack CD Image is useless :) (and installing nocd cracks might be piracy also)

I dont want to say that ISO mounting is unimportant - its very important, but as first step to have complex CD Image mounting.

Endolith wrote on the 18 Nov 08 at 20:00
This is not "Done".

saivann (Brainstorm moderator) wrote on the 21 Nov 08 at 04:43
Endolith : "See comment on Launchpad. This is not enabled in Intrepid unless you go through the "Open with" menu, since it doesn't work with most apps."

It is enabled in default intrepid installation and it is available from the "Open with" menu, exactly. That fits in the initial idea description. The launchpad comment that you linked concerns Hardy.

Dinth : Thanks for mentioning that CUE image are still not supported. According to your comment and since CUE is mentioned in the idea description, I set back this idea to "New".

However, if GNOME does not plan to support it soon, this idea status should go back to "Implemented" and another idea should be posted to ask gvfs to support CUE and/or other image files formats.

Endolith wrote on the 21 Nov 08 at 15:25
It is enabled in default intrepid installation and it is available from the "Open with" menu, exactly.

No, it was relegated to the "Open with" menu and a custom command because it's not working well enough to be a default feature. It's supposed to show up in the main right-click menu for mountable archives, but the support for different formats is very poor at this point.

eierdieb wrote on the 4 May 09 at 14:47
I'm going to mark it as implemented -> look@developers comment - and let them fix the bugs :)


Post your comment