Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-21-2005, 01:01 PM
|
#1
|
LQ Newbie
Registered: Feb 2005
Posts: 7
Rep:
|
Can't mount vfat after 2.6 migration [fixed]
Hello everyone
I just recently migrated to 2.6.10-gentoo-r6 from a 2.4 and I can't seem to mount any vfat partition anymore.
I have a fat32 filespace on /dev/hda1 which worked fine before but now I get:
f1x mnt # mount -t vfat /dev/hda1 /mnt/hda1/
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems
I believe the partition is fine because I dual-boot windows 2000 on it and it still loads fine.
I get the same error with another fat32 partition or my usb drive and digital camera, which I believe are all vfat devices.
My kernel looks like this:
x x <*> MSDOS fs support x x
x x <*> VFAT (Windows-95) fs support x x
x x (437) Default codepage for FAT x x
x x (iso8859-1) Default iocharset for FAT x x
x x <*> NTFS file system support x x
x x [ ] NTFS debugging support x x
x x [ ] NTFS write support
Those codepage / iocharset option are new in 2.6 could it have something to do with that ?
Or maybe it has something to do with the new udev ?
The device is there and seems ok:
f1x root # ls -l /dev/hda1
brw-rw---- 1 root disk 3, 1 Jul 18 2004 /dev/hda1
I don't know if this helps but here's a udevinfo output:
f1x root # udevinfo -q all -n hda1
P: /block/hda/hda1
N: hda1
T: b
M: 060660
S: ide/host0/bus0/target0/lun0/part1 discs/disc0/part1
O: root
G: disk
F: /etc/udev/rules.d/50-udev.rules
L: 22
U: 10
I don't know how to proceed, some help would be appreciated !
many thanks
paul
Last edited by paul167; 02-21-2005 at 05:10 PM.
|
|
|
02-21-2005, 01:23 PM
|
#2
|
Member
Registered: Jan 2005
Location: Santa Barbara, CA
Distribution: Ubuntu Hoary/Debian 3.1/RHEL-WS3/DSL 1.1
Posts: 66
Rep:
|
paul167,
Check out my similar problem with mounting a usb drive (FAT32 formatted) called:
"usb drive on Deb Sarge/2.6.10 mounting as msdos not vfat"
If you really need access to your data, try mounting as msdos (either in fstab or as a -t option with mount). Obviously, if you mount as msdos, all filenames will be truncated to 8.3 conventions, which is a real problem.
Be sure to post if you find a solution to this. I'm on the verge of going back to 2.4, but I think I'll work on it for a little while longer (and hopefully others more skilled than I are working too).
|
|
|
02-21-2005, 02:48 PM
|
#3
|
Member
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267
Rep:
|
Just subscribing... I have same problem
|
|
|
02-21-2005, 05:09 PM
|
#4
|
LQ Newbie
Registered: Feb 2005
Posts: 7
Original Poster
Rep:
|
I just fixed it, someone helped me at gentoo forums:
http://forums.gentoo.org/viewtopic-t-298597.html
Just enable the right language support in filesystems.
Hope this helps !
++
paul
|
|
|
04-10-2005, 04:57 PM
|
#5
|
Senior Member
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737
Rep:
|
I have exact same problem but I am on slack.
This is the fix on the gentoo forum:
-----------------------------------------------------------------------------
filesystems -> Native Language Support
(iso8859-1) Default NLS Option
<*> Codepage 437 (United States, Canada)
<*> ASCII (United States)
<*> NLS ISO 8859-1 (Latin 1; Western European Languages)
Just enabled those 3 things and it works now.
------------------------------------------------------------------------------
But where do I enable these at?

|
|
|
04-10-2005, 06:54 PM
|
#6
|
Member
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267
Rep:
|
They are in Filesystems -> Native Language Support
|
|
|
04-10-2005, 07:45 PM
|
#7
|
Senior Member
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737
Rep:
|
Is that a gentoo specific directory? cuz I cant find it.
Is filesystems the directory? and " Native Language Support " a file?
|
|
|
04-10-2005, 07:50 PM
|
#8
|
Member
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267
Rep:
|
Oh, that is from the kernel configuration menu that pops up when you type make menuconfig. From the root menu you go to Filesystem and then Native Language support, and there should be a whole mess of codepages available for you to check.
|
|
|
04-10-2005, 07:52 PM
|
#9
|
Senior Member
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737
Rep:
|
yes, but isnt that when your compiling a new kernel?
|
|
|
04-10-2005, 08:01 PM
|
#10
|
Member
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267
Rep:
|
Yes, it is, I had to recompile my kernel to get vfat support.
|
|
|
04-10-2005, 08:05 PM
|
#11
|
Senior Member
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737
Rep:
|
OMG! no friggin way? I had this darn flash drive mounted once. How could I have mounted it without vfat support? I must have a different problem then.
Do you know of a command that shows if vfat support is available or not?
Last edited by BajaNick; 04-10-2005 at 08:07 PM.
|
|
|
04-10-2005, 09:56 PM
|
#12
|
Member
Registered: Nov 2004
Location: Atlanta
Distribution: Gentoo 2005.1, Ubuntu 5.10
Posts: 267
Rep:
|
trying mounting it as -t msdos. If that works we probably have the same problem. It depends on how ur vfat support is compiled. You could use modprobe to search for it, but thats only if its a module. The easiest way would just be to check your kernel .config and see if you have vfat enabled. Recompiling a kernel isn't a big deal though, it took me 1/2 an hour the first time I did it.
|
|
|
04-10-2005, 10:19 PM
|
#13
|
Senior Member
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737
Rep:
|
I tried that to and no deal. I think its a different issue because I was able to mount it once and delete some files off of it. I just started a new thread.............:O
|
|
|
All times are GMT -5. The time now is 07:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|