Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-10-2009, 12:48 AM   #1
Registered: Sep 2009
Posts: 73

Rep: Reputation: 17
Question Problem in Auto Mount of partition at startup

I'm using ubuntu 9.10
I have a partition having Fat32 file system (/dev/sda2)
For it to get automatically mounted at the startup I added Line

/dev/sda2 /media/s fat32,rw 0,0

in file /etc/fstab

but its not working
and when I'm trying to manullay mount the partition its showing the error

Unable to mount s

Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sda2 on /media/s


Old 11-10-2009, 02:13 AM   #2
Senior Member
Registered: Apr 2004
Location: Currumbin Valley, Australia
Distribution: Devuan
Posts: 3,431
Blog Entries: 33

Rep: Reputation: 227Reputation: 227Reputation: 227
Hi, you need to add user rights to that line, or sudo to root...
sudo mount /dev/sda2 /media/s
Lines in my /etc/fstab for m$win partitions
/dev/sda1 /mnt/win_c ntfs-3g defaults,umask=000 0 0

/dev/sdb8 /mnt/win_c2 vfat umask=000,iocharset=utf8 0 0

/dev/sda11 /mnt/win_d vfat umask=000,iocharset=utf8 0 0

/dev/sdb9 /mnt/win_d2 vfat umask=000,iocharset=utf8 0 0
Hope this helps, Glenn
Old 11-10-2009, 02:37 AM   #3
Registered: Aug 2004
Location: Israel
Distribution: Debian Bullseye/Sid
Posts: 271

Rep: Reputation: 34
It has to be
/dev/sda2 /media/s vfat users,rw 0,0


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
User auto mount USB stick (with ext3 partition) tonyfreeman Linux - Hardware 5 11-09-2008 02:12 AM
auto mount partition script SweetLou Linux - General 2 02-19-2007 09:39 PM
DVD (auto)mount problem, gnome-mount, hal, Fedora C 5 lazarion Linux - Hardware 5 01-10-2007 04:45 AM
devices in /etc/fstab don't auto mount at startup : jabka Linux - General 3 08-23-2006 03:28 PM
Multiple Help: Cannot get sound, no scroll wheel, auto mount ntfs partition... ZephyrXero Linux - Newbie 8 05-11-2004 11:45 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration