LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-25-2004, 03:39 PM   #1
mallyooh
LQ Newbie
 
Registered: Sep 2004
Location: scotland
Distribution: slackware, ubuntu, knoppix
Posts: 17

Rep: Reputation: 0
help mounting at startup


i can mount as root using the command
mount /dev/sdb6 /mnt/mp3 -t vfat
and
mount /dev/sdb5 /mnt/Films -t vfat
i want to be able to mount both partitions at startup with read write permissions for non root user, i edited the /etc/fstab file by adding the lines

/dev/sdb6 /mnt/mp3 vfat unmask=000 0 0
/dev/sdb5 /mnt/Films vfat unmask=000 0 0

this isnt working, i get the error message mount: wrong fs type, bad option, bad superblock on /dev/sdb6,
or too many mounted file systems
mount: wrong fs type, bad option, bad superblock on /dev/sdb5,
or too many mounted file systems
what am i doing wrong? here is fdisk

Device Boot Start End Blocks Id System
/dev/sda1 * 1 20321 10241406 c W95 FAT32 (LBA)
/dev/sda2 20321 238186 109804275 f W95 Ext'd (LBA)
/dev/sda5 20321 60961 20482843+ b W95 FAT32
/dev/sda6 60962 238186 89321368+ 7 HPFS/NTFS

Disk /dev/sdb: 122.9 GB, 122942324736 bytes
16 heads, 63 sectors/track, 238216 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 20321 238186 109804275 f W95 Ext'd (LBA)
/dev/sdb2 * 1 203 102280+ 83 Linux
/dev/sdb3 204 4266 2047752 82 Linux swap
/dev/sdb5 40641 101586 30716248+ b W95 FAT32
/dev/sdb6 101586 162531 30716248+ b W95 FAT32
/dev/sdb7 162531 238186 38130246 7 HPFS/NTFS
/dev/sdb8 20322 40640 10240744+ 83 Linux

and here is my edited version of /etc/fstab

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hdg3 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/sdb6 /mnt/mp3 vfat unmask=000 0 0
/dev/sdb5 /mnt/Films vfat unmask=000 0 0

any help much appreciated
 
Old 09-25-2004, 03:47 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,402

Rep: Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655Reputation: 1655
The option is umask=000 not unmask=000
 
Old 09-25-2004, 03:56 PM   #3
mallyooh
LQ Newbie
 
Registered: Sep 2004
Location: scotland
Distribution: slackware, ubuntu, knoppix
Posts: 17

Original Poster
Rep: Reputation: 0
Smile jings! what a numpty!

thanks very much it now works a treat! i really should learn to look more closely. needless to say i feel like a proper tool.
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting of windowsshare on startup mvo Linux - Newbie 2 05-10-2005 10:42 AM
Mounting Hard drives at startup Marvel Fedora 4 11-29-2004 03:30 AM
Auto-mounting drives at startup MandrakeDave Linux - General 7 09-29-2003 05:19 PM
Mounting on Startup gauge73 Linux - Newbie 1 01-20-2003 02:37 PM
mounting at startup Druaga Linux - Hardware 5 08-22-2002 11:25 PM


All times are GMT -5. The time now is 07:05 PM.

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