I was hoping to know if Ubuntu comes with a standard way of mounting ISOs. I looked around online and found a bunch of scripts that can do it.
This to me seems like core functionality, is it offered by default in Ubuntu. If not where is the best and simplest mounter for ISOs.
If you prefer to keep it old school, in a terminal:
This, of course, will not allow you to edit the ISO as the other mentioned tools will, but if you just need to quickly get into one and pull a few files from it, works like a charm :-)
Brasero
which comes with Ubuntu is able to create and open (to manipulate) ISOs. If you're looking for a way to mount an ISO so it's contents are available like a "drive" you may want to use simply Right Click the ISO and choose "Open With Archive Mounter" which will mount the ISO as a drive and you should see it listed under thePlaces
menu.This all assumes you are using 10.04
I always used Gmount-iso to mount ISO files.
apt-get install -y gmountiso
An alternative for quickly grabbing files off of an iso to DreadPirateJeff's solution of loopback mounting isos is the bsdtar(1) package .
For example, to grab the specific build information off of the Ubuntu 10.10 i386 livecd, which is contained in the /.disk/info file on the iso and dump it to STDOUT, you'd do
bsdtar -x -O -f ubuntu-10.10-desktop-i386.iso .disk/info
which would return
Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
Given that it's a variant tar utility, you can of course extract multiple files to disk. The advantage is that you can do all the above without root privileges, unlike loopback mounts.
(Another alternative is the isoinfo(1) utility from the genisoimage package ; however, it's slightly less straightforward to use than bsdtar.)
Old question, but im amazed no one mentioned the easiest method:
Open Nautilus and... double-click the .ISO file!
No need of terminal, or installing any app or script. Its default Ubuntu behaviour since (at least) 10.04 Lucid.
Works only with "regular" ISO images (single track, no multi-data, no sub channels), but those are the vast majority of images. For the special cases, I use
AcetoneISO
(already mentioned in another answer)The local mount point nautilus uses for such mounts is located under
~/.gvfs
, a hidden directory under your Home folder (you may have to hit Ctrl+H to find it when browsing in Nautilus or using Open/Save File dialogs). In the above example, the mount point isand it's thus accessible by any program, terminal, script, etc.
An alternative to archive-mounter is Furius ISO Mount which not only mounts ISOs but can
apt:furiusisomount
I think the easiest tool for mounting ISOs is AcetoneISO, it is very similar to DaemonTools for Windows. Give it a try :)