Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 15664 ideas, 77393 comments, 1416168 votes

Idea #689: Force mount button when usb has been unmounted improperly



up
288
down
Written by cornbread the 29 Feb 08 at 03:39. Category: System.
Related to: Nothing/Others. Status: New
Description
I get a message all the time when a buddy hands me his usb stick after not unmounting properly in windows. says I have to type in the terminal to force mount.

Why not add a force mount button that just gives a warning about it being unmounted improperly?
Tags: (none)

Attachments
No attachments.


Duplicates


Comments
jericho wrote on the 1 Mar 08 at 08:28
My idea got marked a duplicate and added 27 votes to this one with six.

With no offense to the original author, (I searched for combinations of "Unable to mount volume" and "unclean" so I didn't find this one)

I bring this up because it looks like this one will now be more visible with our combined heft, I will repost my proposal #2015 so it can be seen here as I detailed the wording of a possible solution.


------------

Currently if you plug in a hard drive like an external drive that was not completely shut down (which doesn't include hibernating the system or a system crash, it only means start, shutdown or ejecting it) the drive will not mount.

Imagine if your a novice user and your windows box died, you can't reinstall it and someone gives you a handy dandy ubuntu cd, but it wont load any of your files unless you edit things in a scary command line, your first impressions might be quite negative.

If you plug in a drive, like an external drive that was not cleanly shutdown you get this block of text telling you, (Unhelpfully to the majority of ubuntu users) to edit things in fstab or manually mount the drive. This block of text is not novice friendly and should be replaced.

The Current text:---------
Unable to mount the volume 'EXT 200 Gig'.

$LogFile indicates unclean shutdown (0, 0) Failed to mount '/dev/sdb1': Operation not supported Mount is denied because NTFS is marked to be in use. Choose one action: Choice 1: If you have Windows then disconnect the external devices by clicking on the 'Safely Remove Hardware' icon in the Windows taskbar then shutdown Windows cleanly. Choice 2: If you don't have Windows then you can use the 'force' option for your own responsibility. For example type on the command line: mount -t ntfs-3g /dev/sda1 /media/sda1/ -o force

Or add the option to the relevant row in the /etc/fstab file:
-------

I propose this is replaced with a simple prompt which will automate these options, with sufficient warnings.


-------
This drive was not shut down completely when it was last used, This could be the result of a system crash, setting a system to Hibernate and then booting Ubuntu, or unplugging a drive without ejecting or unmounting it first. The recommended course of action is to boot into your other operating system, and eject the drive or shutdown the system before loading Ubuntu.

Warning: Editing the contents of a drive while another operating system is hibernating could be harmful to the system or the file.

If you would like to force the system to mount the unclean drive click Mount this time, if you would like the system to always mount this drive if it is unclean, click Mount Always.

Do not load this drive | Mount this time | Mount Always

lionbeast wrote on the 2 Mar 08 at 23:53
i had the exact same problem. and i didn't have a clue what to do. so lucky me, i didn't have anything on it so i mounted the external hard drive with gparted that means erasing everything i guess.... but what if i had some important files on it.

i tried the command line the text gives....but didn't work. rather didn't understand what to do.


Fjatle wrote on the 7 Oct 08 at 21:42
I recently experienced this too.
The way it is handled is just plain silly.

The error message tells you just about exactly what to do. This only mean that a very novice user might not understand it, and cannot view the content of e.g a USB-stick
But anyone above completly novice will force the mount.

So why is there not just some button to push to force the mount? It would be a good idea with a good warning message, telling you why there could be a risk (like the one jerich here has an example of)

This is one of the things that 'Easy' Ubuntu should not have to have in the brainstorm list. It should be at Launchpad under bugs :)

nexxteh wrote on the 17 Oct 08 at 12:15
At the very least I think this should be replaced with something similar to the Disk Manager error:

http://img204.imageshack.us/img204/7059/screenshotdiskmanagervx2.png

Not only does it provide a 'force' option, but the $LogFile text is put in a formatted textbox so it doesn't create a 'wall of text' effect.

niobium wrote on the 4 Nov 08 at 00:53
@Fjatle:

Actually it doesn't tell you exactly what to do. Yes, it gives you a command to run, but it fails to mention that you first have to create a folder in /media by the name of "New Disc" or something similar before mounting "New Disc".

Also, that folder can, of course, only be created by a sudo'd user. (further confusing newbies).

Also if the default name has a space in it (like New Disc) the command fails, as the space becomes the end of the parameter.

Basically the dialogue sux and should be replaced with something automated.

skimmas wrote on the 1 Dec 08 at 11:17
IMHO it should just say something like this:

"your drive "%DriveLabel" was not correctly unmounted. Forcing Mount may result in data loss."

[Cancel] [Force Mount]


I guess that will even transmit the message that the user should do proper unmounts.


Post your comment