Archive for June, 2008

Wrong FS Error while mounting USB flash drive in Linux

Recently, when I plug in my USB flash drive into my Acer 3680 running Mandriva 2008.1, I got the following error:

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

When I did do a dmesg, I find the following error:

NTFS-fs warning (device sdb1): is_boot_sector_ntfs(): Invalid boot sector checksum.
NTFS-fs error (device sdb1): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device sdb1): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device sdb1): ntfs_fill_super(): Not an NTFS volume.

The problem is that the usb key is formatted in FAT32. Attempts to use windows to fix the volume and reformatting the volume did not fix the problem. The problem was eventually traced to the /etc/fstab file. In it, I find:

/dev/sdb1 /media/hd ntfs user,nls=utf8,sync 0 0

This apparently cause the USB key to be mounted as a NTFS volume, which resulted in the error. The solution was to just delete the line. I am not sure how the line got there in the first place. It’s probably something added by accident by the Mandriva installer.

Advertisements

June 3, 2008 at 12:28 am 1 comment


Calendar

June 2008
M T W T F S S
« May   Jul »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Posts by Month

Posts by Category