Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Ubuntu Help
Reload this Page fstab
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Ubuntu Help Discussion and help about Ubuntu, Kubuntu, Xubuntu, and all the Ubuntu family

Reply
 
Thread Tools Display Modes
Old 04-05-2008   #1 (permalink)
jmadero
Linux User
 
Join Date: Jul 2007
Location: California
Posts: 413
fstab

Hi All,

I have an external that used to mount with no problem at boot (or if I had it off when the system started I could just turn it on and it would mount) in Gutsy but can't get the same results in Hardy. On boot it shows my 250 GB media but when I click on it, it says permission denied (or something similar to this). If I go to terminal and type "sudo mount /dev/sdb6 /media/disk" it mounts with no problem. Here is the line in my fstab:

/dev/sdb6 /media/disk vfat utf8,umask=007,gid=46 0 1

The problem happens if I have it on at boot or if I have it off and turn it on once Ubuntu is fully loaded. Any help would be appreciated. Thanks all!
jmadero is offline   Reply With Quote
Old 04-05-2008   #2 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,095
Quote:
/dev/sdb6 /media/disk vfat utf8,umask=007,gid=46 0 1
Edit /etc/fstab file :
Code:
/dev/sdb6 /media/disk vfat defaults,umask=0 0 0
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline   Reply With Quote
Old 04-05-2008   #3 (permalink)
jmadero
Linux User
 
Join Date: Jul 2007
Location: California
Posts: 413
No luck with those commands. Changed fstab and rebooted. Same thing, in places there is my 250 GB media but when I click on it it comes up with an error saying "Cannout mount volume. You are not privileged to mount this volume."

If I do sudo mount ....... it works fine. Any other suggestions would be appreciated. Thanks!
jmadero is offline   Reply With Quote
Old 04-06-2008   #4 (permalink)
jmadero
Linux User
 
Join Date: Jul 2007
Location: California
Posts: 413
Hi All,

I'm getting more and more frustrated trying to figure out what's going on with my external. From my understanding I should be able to put "user,rw" and have it readable and writable by users (as well as mountable by user). When I have this I does mount to the point but I don't have permissions as user (I can't delete anything).

If I completely remove the line from fstab that pertains to my external it mounts and is writeable by user BUT the mount point is weird (changed every time). I want my external mounting to /media/disk but if I remove it from fstab every time I reboot it mounts to /media/disk-# (where # increases by one every time, leaving previous /media/disk-# folders in the /media folder with big red X's on them). Basically if I accept this method I would have my privileges fine but I would have 20 empty folders after only 10 reboots (external has two partitions)...prefer not to have it this way. Thanks all
jmadero is offline   Reply With Quote
Old 04-06-2008   #5 (permalink)
MikeTbob
Linux Guru
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Cowtown, Texas
Posts: 2,287
Quote:
Originally Posted by jmadero View Post
Hi All,

I'm getting more and more frustrated trying to figure out what's going on with my external. From my understanding I should be able to put "user,rw" and have it readable and writable by users (as well as mountable by user). When I have this I does mount to the point but I don't have permissions as user (I can't delete anything).

If I completely remove the line from fstab that pertains to my external it mounts and is writeable by user BUT the mount point is weird (changed every time). I want my external mounting to /media/disk but if I remove it from fstab every time I reboot it mounts to /media/disk-# (where # increases by one every time, leaving previous /media/disk-# folders in the /media folder with big red X's on them). Basically if I accept this method I would have my privileges fine but I would have 20 empty folders after only 10 reboots (external has two partitions)...prefer not to have it this way. Thanks all
This is very strange. I think you might consider filling a bug report with Ubuntu. Did you try devils caspers solution, and remove the GID from the fstab entry?
__________________
Linux user #286065
Distro:Gentoo + KDE-3.5.9
MikeTbob is offline   Reply With Quote
Old 04-06-2008   #6 (permalink)
jmadero
Linux User
 
Join Date: Jul 2007
Location: California
Posts: 413
I got the solution but still don't know why/how the previous problem was happening: here is the fstab section for my external now:


/dev/sdb5 /media/BACKUP vfat defaults,umask=000 0 0
/dev/sdb6 /media/disk vfat defaults,umask=000 0 0


What casper said did not fix it, this was the only way that I was able to get it to mount with permissions consistently to the same folder. Thanks all
jmadero is offline   Reply With Quote
Old 04-06-2008   #7 (permalink)
MikeTbob
Linux Guru
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Cowtown, Texas
Posts: 2,287
WOOHOO, way to go bro!
Glad you got it solved.
__________________
Linux user #286065
Distro:Gentoo + KDE-3.5.9
MikeTbob is offline   Reply With Quote
Old 04-07-2008   #8 (permalink)
jmadero
Linux User
 
Join Date: Jul 2007
Location: California
Posts: 413
I lied....still having a problem, I am just about to conclude that it is with Hardy and might go back to Gutsy. Here's that section of the fstab:

/dev/sdb5 /media/BACKUP vfat defaults,umask=000 0 0
/dev/sdb6 /media/disk vfat defaults,umask=000 0 0

They are the same thing (two partitions of external). Upon reboot I tested both, the backup works no problem while the other partition (the one I need most of the time) comes up with an error saying I don't have permissions to mount the drive! How can this be possible when they are IDENTICAL other than sdb5 vs sdb6!?!?! Then I do sudo mount /dev/sdb6 /media/disk and I get no problem but then it's back to I can't delete files as regular user (it's my 250 gig external with all my stuff on it and I delete/add often )

Any suggestions?
jmadero is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 06:58 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0