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

Asked by Duncan Lithgow

I am the admin of my pc.

_After_ installing hardy I added a SATA HD with several partitions. I assume that is why those volumes are not automounted. Normally I would add them via fstab, but the permissions system in 8.04 showed me some option under 'Properties > Volume' which I thought would take care of this for me. So I added some settings which turned out to be a problem (volume is vfat):

Cannot mount volume.
Unable to mount the volume 'STORAGE1'.
Details
mount_point cannot contain the following characters: newline, G_DIR_SEPARATOR (usually /)
[ OK ]

I looked in /etc/fstab and it doesn't look like anythings been changed - but I haven't been able to solve this mess by editing fstab, I just get told that

My two attempts (now commented out) so far are:
# /dev/sdb1 /media/storage1 vfat defaults,umask=0777 0 1
# /dev/sdb1 /media/storage1 vfat defaults,utf8,umask=007,gid=46 0 1

these both result in the error: "You are not privileged to mount the volume 'STORAGE1'." (Shouldn't the new permissions system prompt me for a password here?)

So... where are these settings which I've messed up actually stored if it's not in /etc/fstab? and how to do change them or reset them? I just want the drive mounted automatically... the settings above usually give me.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu nautilus Edit question
Assignee:
No assignee Edit question
Solved by:
Pramod Dematagoda
Solved:
Last query:
Last reply:
Revision history for this message
Best Pramod Dematagoda (pmdematagoda) said :
#1

If it's an internal HD, then you would want to have that mounted at boot, did you try mounting it manually?

Revision history for this message
Duncan Lithgow (duncan-lithgow) said :
#2

Hi Pramod, I've found that I can mount it manually once I know the number, it's sdb1, so

$ sudo mkdir /media/sdb1
$ sudo mount /dev/sdb1 /media/sdb1

... works fine. But how do I make this work in the fstab file?

Revision history for this message
Duncan Lithgow (duncan-lithgow) said :
#3

Thanks Pramod Dematagoda, that solved my question.

Revision history for this message
Ipoke Smot (dshnit) said :
#4

I to am experiencing the same problem. what do i do to make my fstab work like the above directions?

Revision history for this message
Duncan Lithgow (duncan-lithgow) said :
#5

Hi Ipoke. please give us more information so we can help you better.

Revision history for this message
Masakazu Chou (mgdesigner) said :
#6

I have the same situation that I want to change the mountpoint. Is there any quide to fix which setting file?

Revision history for this message
Masakazu Chou (mgdesigner) said :
#7

I have the same situation that I want to change the mountpoint. Is there any quide to fix which setting file?