mount_point cannot contain the following characters: newline,G_DIR_SEPARATOR(usually /)

7 02 2009

You changed the mount options to “-rw”, “/Local Disk” or something illegal like this and you get the above error when you try to open the partition/drive… Simple solution.

WARNING: Follow the steps as a normal user in terminal. Using root access (sudo or su) might (will?) not work.

1. Open terminal (In Ubuntu, which I use…  Applications -> Accessories -> Terminal. It’s a called Konsole in KDE)

2. Type:

$ gconf-editor

3. In the left list pane, go to / -> system -> storage -> volumes.

4. Most probably there’ll be only one entry. If more than one, then select each and right click the “mount_options” key that shows up in the right. Click on “Unset Key” or modify the key to a new value if you want.

I suggest you just unset the key and then first check if you can mount the volume before setting a mew value for the key,  by doing this:

$ mount /dev/sdXN

(Here X can be ‘a’, ‘b’ or ‘c’ and N can be a number between 1 and 9. Sample: sda3, sdb4 etc. To know exactly what it is, go to the partition editor of your OS (In ubuntu, type parted or gparted in terminal.). The device should be the one which has no mount point defined(blank). )

Now:

$ mount

This will show you a list of mounted devices. Now try accessing the device.

If it works then great! Now you can experiment with setting up new mountpoints! :-)

Please comment if this does/doesn’t work. (I’m a noob!)


Actions

Information

One response

11 05 2009
JoeG

Thanks- awesome fix

Leave a comment