Must be superuser to unmount

22 views
Skip to first unread message

Tanis Franco

unread,
Jul 15, 2025, 10:39:54 AMJul 15
to BitCurator Users
I can't unmount a disk... what do you do when you get a "must be superuser to unmount" message?

Thank you in advance

Tanis Franco

unread,
Jul 15, 2025, 10:46:34 AMJul 15
to BitCurator Users
I also just restarted the computer, unplugged the disk. When I click on Scripts>Disk Image Mount for the .info file nothing happens.

Kam Woods

unread,
Jul 15, 2025, 12:20:40 PMJul 15
to BitCurator Users
In order:

If you're seeing this  trying to unmount a partition mounted from a physical disk or raw disk image (and are unable to do so in Nautilus, or running into this warning), you can run the following in a terminal:

sudo umount /path/to/mount

where "/path/to/mount" will typically be something like "/media/bcadmin/name-of-your-partition".

Running Disk Image Mount on a .info file will do nothing, because the .info file is not a disk image file. The disk image file will by default have the .dd or .E01 extension if you have imaged a disk in Guymager.

If you've mounted a forensically packaged (say, E01) disk image using the Nautilus image mounting scripts, the mount/unmount scripts perform additional steps compared to mounting a raw image. These scripts rely on fmount (legacy versions) or imount (current versions), and create a base mount for the image file itself before attempting to identify and mount any contained partitions. If you have mounted an image with one of these scripts, you *must* use the equivalent unmount script to release the partition(s) and base mount (by right clicking on the disk image and selecting that unmount script), or run the equivalent fmount or imount command in a terminal.

For the legacy scripts (the ones you appear to be using), the "Disk Image Mount" and "Disk Image Unmount" scripts run the equivalent of the following in a terminal:

To mount:
sudo fmount -t /path/to/diskimage

And to unmount:
sudo fmount -u /path/to/diskimage

For the current scripts (the ones in BitCurator 5.x that we now recommend using), the "Mount Disk Image (imount)" and "Unmount Disk Image (imount)" scripts run the equivalent of the following in a terminal:

To mount:
sudo imount --no-interaction --pretty --mountdir /media /path/to/diskimage

And to unmount:
sudo imount --pretty --unmount --mountdir /media

It should make no difference whether you run these commands via the Nautilus scripts, or in a terminal, but hopefully this provides some useful context. It also gives you the option of modifying these command should you so desire.

Hope this helps.

Kam
Reply all
Reply to author
Forward
0 new messages