View previous topic :: View next topic |
Author |
Message |
coren2000 Tux's lil' helper
Joined: 19 Aug 2003 Posts: 75 Location: Toronto Canada
|
Posted: Thu Sep 07, 2006 2:09 am Post subject: USB Harddrive: mount fail: vfat drive |
|
|
Hello,
Could you please help me? I have a 2 USB external harddrives I wish to mount.
One is fat16
Other is fat32
I cannot mount the second with this command
Code: | mount -t vfat /dev/sda1 /mnt/usb |
I can mount both drives with this command
Code: | mount -t msdos -o codepage=437 /dev/sda1 /mnt/usb |
when I mount with the msdos option, my file/folder names are truncated to tightly.
Can someone please help me mount with wider file/folder names please? _________________ "The most important design issue... is the fact that Linux is supposed to be fun...". - Linus Torvalds |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54807 Location: 56N 3W
|
Posted: Thu Sep 07, 2006 8:22 am Post subject: |
|
|
coren2000,
Both commands will need theoption. If that is required for mount to work at all, it indicates you have set a defualt codepage to be used in the kernel other than 437 but not actually compiled it under NLS Support.
The error message that the vfat mount returns would be useful _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
ChickensDontFly n00b
Joined: 03 Jan 2004 Posts: 64 Location: TN
|
Posted: Thu Sep 07, 2006 8:25 am Post subject: |
|
|
What happens with mount -t auto? |
|
Back to top |
|
|
coren2000 Tux's lil' helper
Joined: 19 Aug 2003 Posts: 75 Location: Toronto Canada
|
Posted: Fri Sep 08, 2006 10:31 pm Post subject: |
|
|
Code: | localhost coren # mount -t vfat -o codepage=437 /dev/sda1 /mnt/usb
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
localhost coren # mount -t auto -o codepage=437 /dev/sda1 /mnt/usb
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
|
_________________ "The most important design issue... is the fact that Linux is supposed to be fun...". - Linus Torvalds |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54807 Location: 56N 3W
|
Posted: Sat Sep 09, 2006 1:21 pm Post subject: |
|
|
coren2000,
What does the end of dmesg show after you ave attempted to moount /dev/sda1 ?
is a really bad idea. It asks mount to guess the filesystem.
Thats ok for reading, when mount guesses wrong. You just get a mess.
When you write ... well, you have backups don't you ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
coren2000 Tux's lil' helper
Joined: 19 Aug 2003 Posts: 75 Location: Toronto Canada
|
Posted: Tue Sep 19, 2006 11:03 pm Post subject: |
|
|
It says
Code: | Unable to load NLS charset iso8859-1
FAT: IO charset iso8859-1 not found |
_________________ "The most important design issue... is the fact that Linux is supposed to be fun...". - Linus Torvalds |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Wed Sep 20, 2006 5:31 am Post subject: |
|
|
According to that message, the kernel that system is running on lacks iso8859-1 character set support in its Native Language Support. It would seem a new kernel is in order. When configuring the new kernel, under 'File systems --->', 'Native Language Support --->', select (at least one of) 'Codepage 437 (United States, Canada)' or 'NLS ISO 8859-1 (Latin 1; Western European Languages)', along with whatever else is of interest. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54807 Location: 56N 3W
|
Posted: Wed Sep 20, 2006 12:09 pm Post subject: |
|
|
coren2000,
You have selected a defualt codepage for VFAT to use but not actually made the codepage for the kernel.
You can use the mount option Code: | -o codepage=<codepage> | to avoid a kernel build.
See under FAT _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|