LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Thread Tools
Old 02-17-2005, 06:01 PM   #1
Royle
Member
 
Registered: Apr 2004
Posts: 112
Thanked: 0
I just compiled a new kernel, but I can't mount my vfat partition.


[Log in to get rid of this advertisement]
Ok, so I just compiled a new kernel, but I can't mount my vfat partition. In my kernel I enabled MSDOS fs support, and VFAT(WINDOWS-95) fs support. In my fstab I have this :
Code:
/dev/hdb6       /share          vfat    uid=500,umask=000        0       2
Here's is what I get if I try to mount the partition:
Code:
mike:/home/mike# mount /dev/hdb6
mount: wrong fs type, bad option, bad superblock on /dev/hdb6,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
or the same if I try
Code:
mike:/home/mike# mount /share   
mount: wrong fs type, bad option, bad superblock on /dev/hdb6,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
Is there something I left out of the kernel or am I doing something wrong? Any help is appreciated.
Royle is offline     Reply With Quote
Old 02-17-2005, 06:10 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040
Thanked: 0
maybe a missing 0 at umask?
umask=0000 instead of umask=000 might fix the problem...

Try mounting by hand:

mount -t vfat /dev/hdb6 /share
marghorp is offline     Reply With Quote
Old 02-17-2005, 06:17 PM   #3
Royle
Member
 
Registered: Apr 2004
Posts: 112
Thanked: 0

Original Poster
adding the 0 didn't help, and mounting by hand returned this:
Code:
mike:/home/mike# mount /dev/hdb6 
mount: wrong fs type, bad option, bad superblock on /dev/hdb6,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
Any other ideas? I was mounting this yesterday with an different kernel.
Royle is offline     Reply With Quote
Old 02-17-2005, 08:18 PM   #4
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424
Thanked: 0
Check your kernel config. In the file systems part there is a section called native language support. Make sure you have codepage 850 checked NLS iso-8851 and any others that you need. Also the NLF uts8 module. Hope this helps.
short101 is offline     Reply With Quote
Old 02-17-2005, 09:07 PM   #5
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597
Thanked: 0
First, check with the id command that your uid is really 500, but I think you don't really need to use uid or umask to access a vfat partition (although I might be wrong about this). I think a simple fstab line (supposing you've actually got the /share directory) like this should do the trick:
Code:
/dev/hdb6 /share vfat rw,user,noauto 0 0
If that doesn't seem to work, you can try this line instead:
Code:
/dev/hdb6 /share vfat rw,user,noauto,umask=0 0 0
Dead Parrot is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
vfat partition does not mount on lfs logicalfuzz Linux From Scratch 1 09-02-2005 12:12 PM
mount vfat partition manually during RH 6.0 install linuxify Red Hat 2 07-28-2005 06:04 PM
FC3 vfat partition mount problem darkranger Fedora 2 11-23-2004 08:23 AM
Kernel 2.6.7 problem - My vfat partition won't mount automatically !! gibiman Linux - General 4 08-11-2004 08:18 AM
How do I mount remote vfat partition with nfs x9abm Linux - Networking 10 08-29-2003 04:26 AM


All times are GMT -5. The time now is 08:00 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration