LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 12-31-2005, 07:29 AM   #1
guedellas
Member
 
Registered: Dec 2005
Location: Espaņa
Distribution: Fedora Core 8 + Debian 4.0 + Vista
Posts: 61

Rep: Reputation: 15
Unhappy FAT: codepage cp850 not found


Hi all!!

I've a brand new compiled 2.6.14.3 kernel coexisting with my 2.4.24-2 fully operational kernel in a dual boot computer (debian etch + xp)

To share data between both OS I've created a FAT32 partition, as good as gone.

After compile my 2.6 kernel with fully support for vfat, MSDOS and ntfs file systems I've sadly found that the FAT partition cannot be mounted with the new kernel (but with 2.4 it does work).

fstab line for mounting it (works in 2.4 kernel):
/dev/hda4 /mnt/data vfat rw,user,auto,umask=0000 0 0

Error output when trying to mount the partition with the 2.6 kernel:
Code:
deimos:~# mount -t vfat -o codepage=437 /dev/hda4 /datos
mount: wrong fs type, bad option, bad superblock on /dev/hda4,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
deimos:~#
deimos:~# dmesg | tail
       FAT: codepage cp850 not found
       FAT: codepage cp437 not found
codepage 437 was the default codepage first time when you compile the kernel.
Codepage 850 was the output of chcp at a DOS cmd placed in my FAT partition (i've put it as default when compiled the kernel).

Have you guys any idea, for I'm completely stucked with this one...

Thanks in advance!!
 
Old 12-31-2005, 08:42 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
so did you enable support for these codepages on the native language support menu?
Code:
#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_CODEPAGE_850=y
 
Old 12-31-2005, 09:04 AM   #3
guedellas
Member
 
Registered: Dec 2005
Location: Espaņa
Distribution: Fedora Core 8 + Debian 4.0 + Vista
Posts: 61

Original Poster
Rep: Reputation: 15
Can't imagine that it was that easy

It worked like a charm. Thank you very much Andrew!!
 
  


Reply



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
codepage=936, iocharset=cp936 don't work in FC2's fstab! acer_peri Fedora 0 05-25-2004 12:26 PM
i want to compile fat file system module and get fat.o working ramya272 Linux - Newbie 9 02-26-2004 11:41 AM
samba codepage/char set problem Clemente Linux - Software 3 11-25-2003 12:31 PM
codepage erwin.meier Linux - General 0 10-06-2003 03:34 AM
Japanese codepage sourceman Linux - General 1 10-31-2002 09:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:59 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
Open Source Consulting | Domain Registration