DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# mount /dev/sdb1 /media/disk
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Code:
# dmesg | tail
[ 2852.066714] scsi 2:0:0:0: Direct-Access USB_DISK USB_DISK 1.00 PQ: 0 ANSI: 0
[ 2852.068812] sd 2:0:0:0: [sdb] 2009088 512-byte hardware sectors: (1.02 GB/981 MiB)
[ 2852.069312] sd 2:0:0:0: [sdb] Write Protect is off
[ 2852.069318] sd 2:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 2852.069321] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 2852.071185] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 2852.071193] sdb: sdb1
[ 2852.072746] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[ 2882.202526] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 2882.240087] FAT: codepage cp437 not found
so: do i a) miss a tool to mount it (like msdos-tools or such) or b) did i miss something when compiling the kernel.
thanks, the result is the same.
apt-cache search vfat only gave me the msdostools, and they are installed. as said: i compiled the kernel on my own, without knowing exactly what i did (just for fun)...oh my. i wouldnt know how to get to know if that is the problem.
What filesystem is on the drive?
If it is ntfs, you need to compile it in the kernel
Code:
mount -t ntfs /dev/sdb1 /media/disk
that is difficult to answer for me. fdisk -l gives me this:
/dev/sdb1 1 1994 1004287+ 6 FAT16
so, as far i understand, it aint a ntfs-system. or better: mounting it with -t ntfs tells me so.
on my other installation i may mount it with a simple
awsome !
so: youre right, the mentioned module is installed in the backports-kernel (which mounts the stick) and aint installed on mine (under /lib/modules/2.6.30-mt1/kernel/fs/nls i cant find it)
just to be sure: i got to re-configure the kernel and run the compilation again, correct?
thanks a lot
awsome !
so: youre right, the mentioned module is installed in the backports-kernel (which mounts the stick) and aint installed on mine (under /lib/modules/2.6.30-mt1/kernel/fs/nls i cant find it)
just to be sure: i got to re-configure the kernel and run the compilation again, correct?
thanks a lot
SOLVED ( i dont know how to edit the first post, sorry)
repo wrote:
Code:
nls_cp437
which was correct. i ran the make menuconfig and the compilation again and added it under:
filesystems -> native language support -> codepage 437 (UnitedStates, Canada).
Not that i would understand it, but im happy it works again.
cola wrote:
Quote:
Can you post:
Code:
uname -a
sudo fdisk -l
though the problem seems to be solved, sure:
Code:
$ uname -a
Linux desktop-lenny 2.6.30-mt2 #1 Wed Oct 21 18:37:45 CEST 2009 i686 GNU/Linux
Code:
root@desktop-lenny# fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xec31ec31
Device Boot Start End Blocks Id System
/dev/sda1 1 851 6835626 83 Linux
/dev/sda2 852 19457 149452695 5 Extended
/dev/sda5 852 1181 2650693+ 82 Linux swap / Solaris
/dev/sda6 1182 15509 115089628+ 83 Linux
/dev/sda7 * 15510 19457 31712278+ 83 Linux
Disk /dev/sdb: 1028 MB, 1028653056 bytes
16 heads, 63 sectors/track, 1993 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0x49e2a461
Device Boot Start End Blocks Id System
/dev/sdb1 1 1994 1004287+ 6 FAT16
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.