星期四, 10月 28, 2010

USB flash drive fail to automount in Debian

When I plugin the usb flash drive, it pop up the message like below:

Error mounting: mount exited with exit code 1: helper failed with:
mount: wrong fs type, bad option, bad superblock on /dev/sdf1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

Then I check out dmesg | tail
[x.x] sd 9:0:0:0: [sdf] Assuming drive cache: write through
[x.x] sd 9:0:0:0: [sdf] Assuming drive cache: write through
[x.x]  sdf: sdf1
[x.x] sd 9:0:0:0: [sdf] Assuming drive cache: write through
[x.x] sd 9:0:0:0: [sdf] Attached SCSI removable disk
[x.x] UDF-fs: No VRS found
[x.x] UDF-fs: Rescanning with blocksize 2048
[x.x] UDF-fs: No VRS found
[x.x] UDF-fs: No partition found (1)
[x.x] ISOFS: Unable to identify CD-ROM format.

after googling I found
http://crunchbanglinux.org/forums/topic/7681/solved-statler-failed-to-mount-media/

and
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597223

the debian-installer put the following into /etc/fstab
/dev/sdf1       /media/cdrom0   udf,iso9660 user,noauto     0       0

Just delete it...Orz

沒有留言: