Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 12357 ideas, 58479 comments, 1187050 votes

Idea #194: Easy mounting of Images like ISO and CUE



up
4020
down
Written by Nanotron the 28 Feb 08 at 20:17. Category: System.
Related to: Nothing/Others. Status: New
Description
Hi!

I'm a big fan of Images like .iso.
But it is not very easy to mount this Images.
I think there must be a Tool in Nautilus and Dolphin wich alows mounting Images with a double Click. (This feature exists int MacOS). Or with a right click on the file and then there must be a poit "Mount Image". I thick that would be a very use full Tool for every one.
A good example for this is CDemu.

I know there are some ohter good programs, but I think that would be the easyest way and very confortible.

Nanotron
Tags: (none)

Attachments
bug Bug #197317 : Please support mounting iso images via the context menu


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...

DeveloperDeveloper 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.

DeveloperDeveloper 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.


Post your comment