I have some raw partition images created using dd
this way:
dd if=/dev/sdXY of=/path/file.img
I know I can mount them using:
sudo mkdir /media/mountpoint
sudo mount -o loop /path/file.img /media/mountpoint
But... is there any easier way? I would like to have the same functionaly and ease-of-use as Nautilus handles .ISO CD/DVD images, which is:
- Double click to mount
- It shows up in Desktop and in Nautilus left panel
- Auto-detects filesystem (as mount does)
- No need of sudo or administrator privileges
- No need to pre-create a mountpoint folder (or to delete it afterwards)
- Handy "Eject" button to unmount
Ive tried renaming the images as .IMG, .BIN, .ISO, with no sucess. Also tried configuring Opwn With > Archive Mounter, and it didnt work.
How can I do that?
Main Answer
There should be the Archive Mounter option. Just right click the image and click "Archive Mounter", this should mount most disk based file systems like ISO 9660 (to left pane of Nautilus and on the Desktop) - however, it mounts images to:
Alternative Answer
There's an extremely useful script that has been created, called nautilus-mount-image which should mount most filesystems.
This can be downloaded from here.
This is from Raúl González Duque's PPA; looking at the code, it essentially figures out what type of filesystem the Image has, and attempts to mount it. It supports:
For general use, you can use this script by right clicking the file that you want to mount, and clicking "Mount image..." like so:
To answer your requests:
Unfortunately, I don't know how this script will react to Images with multiple filesystems. Kittens may burn. You've been warned ;)
Reference:
Nautilus Scripts