LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 02-17-2005, 05:01 PM   #1
Royle
Member
 
Registered: Apr 2004
Posts: 112

Rep: Reputation: 15
I just compiled a new kernel, but I can't mount my vfat partition.


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.
 
Old 02-17-2005, 05:10 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
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
 
Old 02-17-2005, 05:17 PM   #3
Royle
Member
 
Registered: Apr 2004
Posts: 112

Original Poster
Rep: Reputation: 15
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.
 
Old 02-17-2005, 07:18 PM   #4
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Rep: Reputation: 30
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.
 
Old 02-17-2005, 08:07 PM   #5
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
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
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 11:12 AM
mount vfat partition manually during RH 6.0 install linuxify Red Hat 2 07-28-2005 05:04 PM
FC3 vfat partition mount problem darkranger Fedora 2 11-23-2004 07:23 AM
Kernel 2.6.7 problem - My vfat partition won't mount automatically !! gibiman Linux - General 4 08-11-2004 07:18 AM
How do I mount remote vfat partition with nfs x9abm Linux - Networking 10 08-29-2003 03:26 AM


All times are GMT -5. The time now is 02:15 PM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration