How I can safely remove a USB external drive?
Ubuntu 12.10 does not come with this option, only to "Unmount" the disk, but not "Eject".
I have tried both USB sticks and with my external hard drive.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
To safely remove i.e. disconnect an external USB drive you need to manually unmount all of its partitions (represented by 'drive icons'):
either in Unity Launcher
or in Nautilus
In the example above: to remove my Hitachi external USB drive I have to unmount all of the partitions on the said drive. To make things easier when formatting my drive I named (labelled) all of its partitions so that the names (labels) begin with 'HIT'.
For further reading please refer to the bug report (the lack of either "Safely remove" or "Eject" is a bug in Ubuntu 12.10):
Don't forget to mark 'This bug affects me' in the upper portion of the page.
There seems to be a bug report about the missing option.
@k-k-patel Even if "eject" and "safely remove" are virtually the same for external hard drives, none of the two are available. Only "unmount" is offered.
@hari @isoma No "unmount" and "eject/safely remove" are not the same and even for an external hard drive "eject/safely remove" is not subsumed by "unmount". For instance, consider a drive with two partitions. If the "user" unmounts one of them, the other one will remain mounted, and, as a result, if the user unplugs the drive, they face a data loss on the second partition. On the other hand, if the user "ejects/safely removes" the first partition, both will get unmounted.
My toy project can help on this problem:
This is a appindicator for ubuntu that uses udisks for detach device
I found a way to do this in Nautilus, in Ubuntu 12.04, using Gnome desktop (not Unity). There was no "unmount" in the right-click menu. But, there was an icon to the right of the name of the USB hard drive. I clicked it and it did the unmount, and after that 1) "Mount" was in the menu and 2) "Safely remove" worked fine.