LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 01-28-2008, 12:39 PM   #1
cferron
Member
 
Registered: Jan 2006
Location: Trois-Rivières, Québec, Canada
Distribution: Slackware, Ubuntu
Posts: 74

Rep: Reputation: 15
Angry Unable to mount CF - IO charset iso8859-1 not found


Well I can't mount any FAT formatted compact flash card..
When trying to mount my FAT partition, I keep getting the error from KDE:

Code:
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
When I do "dmesg | tail" I get:

Code:
Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found
I have try to compile as module the support and I also tried to build it within the kernel.

Uname -a
Linux toshiba 2.6.23.14-smp #5 SMP Mon Jan 28 12:15:28 EST 2008 i686 Intel(R) Celeron(R) M CPU 430 @ 1.73GHz GenuineIntel GNU/Linux


Please help...

Last edited by cferron; 01-28-2008 at 04:10 PM.
 
Old 01-28-2008, 08:49 PM   #2
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: None (src & compile)
Posts: 253

Rep: Reputation: 36
Recompile your kernel and add it:

CONFIG_NLS_ISO8859_1=y


What it's set to is defined with:

CONFIG_FAT_DEFAULT_CODEPAGE=850
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"

Make sure the default code page is there too:

CONFIG_FAT_DEFAULT_CODEPAGE=850
CONFIG_SMB_NLS_REMOTE="cp850"
CONFIG_NLS_CODEPAGE_850=m

I'm assuming you have already kernel auto module loading...
 
Old 01-29-2008, 01:21 PM   #3
cferron
Member
 
Registered: Jan 2006
Location: Trois-Rivières, Québec, Canada
Distribution: Slackware, Ubuntu
Posts: 74

Original Poster
Rep: Reputation: 15
Thumbs up It worked!

Thanks for your quick help!!! Not sure what a codepage is and what is it's role, but it worked. Card is now mounting.

Thanks again.

Claude
 
  


Reply

Tags
codepage, drive, fat, mount, removable, solution, working


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
vfat charset mount help Iban Linux - General 3 11-08-2005 10:05 AM
charset ISO8859-1 not found:Error during mounting gaggarwal Linux - Newbie 2 08-16-2005 12:16 AM
NTFS partition: how to mount with UTF8 charset NullDevice23 Linux - General 0 02-28-2005 10:30 AM
charset "UTF-8" not supported, using "ISO8859-1". satishpatel Linux - Software 3 04-09-2004 08:11 AM
Unable to load any usable ISO8859 font TheCyberDude Linux - Software 0 08-17-2003 04:28 PM


All times are GMT -5. The time now is 09:31 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration