Cannot mount USB drive with "wrong fs type, bad option, bad superblock" error message
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
lsblk
sda 8:0 0 931,5G 0 disk
├─sda1 8:1 0 100M 0 part
├─sda2 8:2 0 150,3G 0 part
├─sda3 8:3 0 558,5G 0 part
├─sda4 8:4 0 1K 0 part
├─sda5 8:5 0 220,7G 0 part /
└─sda6 8:6 0 2G 0 part [SWAP]
sdb 8:16 1 7,5G 0 disk
└─sdb1 8:17 1 7,5G 0 part
sr0 11:0 1 1024M 0 rom
And when I try
mount /dev/sdb /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
missing codepage or helper program, or other error
With dmesg -tail
dmesg | tail
[ 1059.082039] usbcore: registered new interface driver usb-storage
[ 1059.109149] usbcore: registered new interface driver uas
[ 1060.081502] scsi 6:0:0:0: Direct-Access JetFlash Transcend 8GB 8.07 PQ: 0 ANSI: 4
[ 1060.081841] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 1060.083326] sd 6:0:0:0: [sdb] 15679488 512-byte logical blocks: (8.02 GB/7.47 GiB)
[ 1060.085260] sd 6:0:0:0: [sdb] Write Protect is off
[ 1060.085264] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 1060.086416] sd 6:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 1060.092027] sdb: sdb1
[ 1060.096224] sd 6:0:0:0: [sdb] Attached SCSI removable disk
parted /dev/sdb
GNU Parted 3.2
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: JetFlash Transcend 8GB (scsi)
Disk /dev/sdb: 8028MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 131kB 8028MB 8028MB primary
How to solve this?
Solution 1:
The USB drive seems to be partitioned. Do not mount the device directly, but the partition /dev/sdb1
instead:
mount /dev/sdb1 /mnt