Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Cannot mount usb memory with correct filesystem encoding

From: Dotan Cohen <dotancohen(at)gmail.com>
Date: Tue Dec 25 2007 - 18:40:26 EST


How can I mount an SD card (via USB card reader) to have a specific filename encoding on Ubuntu Feisty 7.04? My laptop is UTF-8, but the SD card in my Nokia 6288 seems to be CP1255 or ISO-8859-8. The Hebrew filenames show up as question marks, not letters. So if on the Nokia I make three directories on the card:
EnglishDir
תיקייהעברית
עודאחד2

Then this is what I see on my laptop:
EnglishDir
???????????
??????2

What mount command should I use? I read man mount and I see no mention of encodings. The card is Fat32, formated by me on a windows machine.

$ sudo mount -o codepage=1225,iocharset=iso8859-8,utf8 -t vfat /dev/sdb1 /media/usb
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,

      missing codepage or other error
      In some cases useful info is found in syslog - try
      dmesg | tail  or so
  • snip from the end of dmesg --
    [420043.556000] usb 2-1: new low speed USB device using uhci_hcd and address 6
    [420043.756000] usb 2-1: configuration #1 chosen from 1 choice
    [420043.804000] input: HID 1241:1177 as /class/input/input44
    [420043.804000] input: USB HID v1.10 Mouse [HID 1241:1177] on usb-0000:00:1d.1-1
    [420704.856000] usb 3-1: new high speed USB device using ehci_hcd and address 26
    [420704.988000] usb 3-1: configuration #1 chosen from 1 choice
    [420704.988000] scsi7 : SCSI emulation for USB Mass Storage devices
    [420704.988000] usb-storage: device found at 26
    [420704.988000] usb-storage: waiting for device to settle before scanning
    [420709.988000] usb-storage: device scan complete
    [420709.988000] scsi 7:0:0:0: Direct-Access Generic USB SD Reader
    1.00 PQ: 0 ANSI: 0
    [420709.988000] scsi 7:0:0:1: Direct-Access Generic USB CF Reader
    1.01 PQ: 0 ANSI: 0
    [420709.988000] scsi 7:0:0:2: Direct-Access Generic USB SM Reader
    1.02 PQ: 0 ANSI: 0
    [420709.988000] scsi 7:0:0:3: Direct-Access Generic USB MS Reader
    1.03 PQ: 0 ANSI: 0
    [420710.176000] SCSI device sdb: 1984000 512-byte hdwr sectors (1016 MB)
    [420710.180000] sdb: Write Protect is off
    [420710.180000] sdb: Mode Sense: 03 00 00 00
    [420710.180000] sdb: assuming drive cache: write through
    [420710.180000] SCSI device sdb: 1984000 512-byte hdwr sectors (1016 MB)
    [420710.180000] sdb: Write Protect is off
    [420710.180000] sdb: Mode Sense: 03 00 00 00
    [420710.180000] sdb: assuming drive cache: write through
    [420710.180000] sdb: sdb1
    [420710.184000] sd 7:0:0:0: Attached scsi removable disk sdb
    [420710.184000] sd 7:0:0:0: Attached scsi generic sg2 type 0
    [420710.188000] sd 7:0:0:1: Attached scsi removable disk sdc
    [420710.188000] sd 7:0:0:1: Attached scsi generic sg3 type 0
    [420710.188000] sd 7:0:0:2: Attached scsi removable disk sdd
    [420710.188000] sd 7:0:0:2: Attached scsi generic sg4 type 0
    [420710.192000] sd 7:0:0:3: Attached scsi removable disk sde
    [420710.192000] sd 7:0:0:3: Attached scsi generic sg5 type 0
    [420951.876000] Unable to load NLS charset cp1225
    [420951.876000] FAT: codepage cp1225 not found

Might I need to install codepage cp1225? Is that something installable? Thanks in advance.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

  1. Because it messes up the order in which people normally read text.
  2. Why is top-posting such a bad thing?
Received on Tue Dec 25 18:40:56 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 06:49:22 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library