FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Laptop

 
 
LinkBack Thread Tools
 
Old 12-25-2007, 10:40 PM
"Dotan Cohen"
 
Default Cannot mount usb memory with correct filesystem encoding

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
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-*-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
 
Old 12-25-2007, 11:30 PM
"Dotan Cohen"
 
Default Cannot mount usb memory with correct filesystem encoding

In my first email, I confused codepage 1255 with codepage 1225. I have
corrected and tried with 1255 (the correct Hebrew codepage) with no
change in situation, ie, no success in reading the Hebrew filenames.

Dotan Cohen

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

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
 
Old 12-25-2007, 11:49 PM
Christopher White
 
Default Cannot mount usb memory with correct filesystem encoding

The problem might be the terminal: the fact that it's dealing with
right-to-left correctly makes it seem that the terminal just can't
display the hebrew characters. If you're using one of the kernel tty's,
you might try starting X and using xterm.



Although I mount in Konsole, the problem is evident while browsing the
file system in Konqueror, which supports Hebrew on the local system
(and remote systems via ssh) perfectly.




I guess that's not it then. I'm afraid I don't have any other ideas.

Christopher


--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-26-2007, 09:12 AM
"Nickel Cobalt"
 
Default Cannot mount usb memory with correct filesystem encoding

On Dec 26, 2007 7:40 AM, Dotan Cohen <dotancohen@gmail.com> wrote:

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

How about this? You should try it

$ sudo mount -o codepage=cp1225,iocharset=utf8 -t vfat /dev/sdb1 /media/usb

$ sudo mount -o utf8 -t vfat /dev/sdb1 /media/usb
$ sudo mount -o iocharset=utf8 -t vfat /dev/sdb1 /media/usb

As you can see, change some options, maybe this will help you

Nickel Cobalt
 

Thread Tools




All times are GMT. The time now is 07:08 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org