Link to home
Start Free TrialLog in
Avatar of SiNNeS
SiNNeSFlag for Sweden

asked on

Problem mounting usb key in Ubuntu

Hi i got a usb key that i just can't mount.
I have never had that problem in Ubuntu before.
the drive works on my windows computer.
And i already sent the files over to my Ubuntu with pscp,
but i want to be able to mount the usb key in Linux.
Ofcourse i could just reformat it but that would not be as fun as knowing the cause of the problem.

this is what i have tried:
sudo mkdir /media/windows
sudo mount /dev/sdb /media/windows/ -t ntfs -o nls=utf8,umask=0222

sudo mkdir /media/windows
sudo mount /dev/sdb /media/windows/ -t vfat -o iocharset=utf8,umask=000

But still nothing.
This is what my dmesg looks like:
[ 2437.714316] usb 6-1: new high speed USB device using ehci_hcd and address 3
[ 2437.763082] usb 6-1: configuration #1 chosen from 1 choice
[ 2440.194876] usbcore: registered new interface driver libusual
[ 2440.264710] Initializing USB Mass Storage driver...
[ 2440.266688] scsi4 : SCSI emulation for USB Mass Storage devices
[ 2440.268501] usbcore: registered new interface driver usb-storage
[ 2440.268508] USB Mass Storage support registered.
[ 2440.268982] usb-storage: device found at 3
[ 2440.268984] usb-storage: waiting for device to settle before scanning
[ 2444.183331] usb-storage: device scan complete
[ 2444.183827] scsi 4:0:0:0: Direct-Access              USB Flash Memory PMAP PQ: 0 ANSI: 0 CCS
[ 2444.804352] sd 4:0:0:0: [sdb] 15874048 512-byte hardware sectors (8128 MB)
[ 2444.805048] sd 4:0:0:0: [sdb] Write Protect is off
[ 2444.805051] sd 4:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 2444.805053] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 2444.807043] sd 4:0:0:0: [sdb] 15874048 512-byte hardware sectors (8128 MB)
[ 2444.807549] sd 4:0:0:0: [sdb] Write Protect is off
[ 2444.807552] sd 4:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 2444.807554] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 2444.807558]  sdb: sdb1 sdb2 < sdb5 >
[ 2445.462304] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[ 2445.462352] sd 4:0:0:0: Attached scsi generic sg1 type 0
[ 2458.789326] UDF-fs: No partition found (1)
[ 2458.794572] UDF-fs: No partition found (1)
[ 2459.258333] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 2459.259032] ISOFS: Interleaved files not (yet) supported.
[ 2459.259035] ISOFS: File unit size != 0 for ISO file (1600).
[ 2459.259039] ISOFS: changing to secondary root
[ 2459.259530] ISOFS: Interleaved files not (yet) supported.
[ 2459.259533] isofs_fill_super: root inode is not a directory. Corrupted media?
[ 2459.275524] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 2459.276026] ISOFS: Interleaved files not (yet) supported.
[ 2459.276029] ISOFS: File unit size != 0 for ISO file (1600).
[ 2459.276032] ISOFS: changing to secondary root
[ 2459.276523] ISOFS: Interleaved files not (yet) supported.
[ 2459.276526] isofs_fill_super: root inode is not a directory. Corrupted media?
[ 2460.050686] UDF-fs: No partition found (1)
[ 2460.054384] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 2460.054983] ISOFS: Interleaved files not (yet) supported.
[ 2460.054988] ISOFS: File unit size != 0 for ISO file (1600).
[ 2460.054993] ISOFS: changing to secondary root
[ 2460.055684] ISOFS: Interleaved files not (yet) supported.
[ 2460.055695] isofs_fill_super: root inode is not a directory. Corrupted media?
[ 2460.190326] UDF-fs: No partition found (1)
[ 2460.194326] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 2460.194958] ISOFS: Interleaved files not (yet) supported.
[ 2460.194964] ISOFS: File unit size != 0 for ISO file (1600).
[ 2460.194968] ISOFS: changing to secondary root
[ 2460.195737] ISOFS: Interleaved files not (yet) supported.
[ 2460.195744] isofs_fill_super: root inode is not a directory. Corrupted media?
[ 2460.250706] UDF-fs: No partition found (1)
[ 2460.255298] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 2460.255900] ISOFS: Interleaved files not (yet) supported.
[ 2460.255905] ISOFS: File unit size != 0 for ISO file (1600).
[ 2460.255909] ISOFS: changing to secondary root
[ 2460.256599] ISOFS: Interleaved files not (yet) supported.
[ 2460.256604] isofs_fill_super: root inode is not a directory. Corrupted media?
[ 2464.961932] UDF-fs: No partition found (1)
[ 2464.965531] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 2464.966131] ISOFS: Interleaved files not (yet) supported.
[ 2464.966136] ISOFS: File unit size != 0 for ISO file (1600).
[ 2464.966141] ISOFS: changing to secondary root
[ 2464.966829] ISOFS: Interleaved files not (yet) supported.
[ 2464.966835] isofs_fill_super: root inode is not a directory. Corrupted media?
[ 2465.098186] UDF-fs: No partition found (1)
[ 2465.103438] UDF-fs: No partition found (1)
[ 2465.108672] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 2465.109270] ISOFS: Interleaved files not (yet) supported.
[ 2465.109276] ISOFS: File unit size != 0 for ISO file (1600).
[ 2465.109281] ISOFS: changing to secondary root
[ 2465.110069] ISOFS: Interleaved files not (yet) supported.
[ 2465.110075] isofs_fill_super: root inode is not a directory. Corrupted media?
[ 2472.006414] UDF-fs: No partition found (1)
[ 2472.010112] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 2472.010711] ISOFS: Interleaved files not (yet) supported.
[ 2472.010716] ISOFS: File unit size != 0 for ISO file (1600).
[ 2472.010721] ISOFS: changing to secondary root
[ 2472.011413] ISOFS: Interleaved files not (yet) supported.
[ 2472.011418] isofs_fill_super: root inode is not a directory. Corrupted media?
[ 2472.415142] UDF-fs: No partition found (1)
[ 2472.419036] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 2472.419638] ISOFS: Interleaved files not (yet) supported.
[ 2472.419640] ISOFS: File unit size != 0 for ISO file (1600).
[ 2472.419644] ISOFS: changing to secondary root
[ 2472.420146] ISOFS: Interleaved files not (yet) supported.
[ 2472.420150] isofs_fill_super: root inode is not a directory. Corrupted media?
[ 2472.556038] UDF-fs: No partition found (1)
[ 2472.559890] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 2472.555488] ISOFS: Interleaved files not (yet) supported.
[ 2472.555495] ISOFS: File unit size != 0 for ISO file (1600).
[ 2472.555499] ISOFS: changing to secondary root
[ 2472.555983] ISOFS: Interleaved files not (yet) supported.
[ 2472.555987] isofs_fill_super: root inode is not a directory. Corrupted media?
[ 2472.603209] UDF-fs: No partition found (1)
[ 2472.608706] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 2472.609456] ISOFS: Interleaved files not (yet) supported.
[ 2472.609462] ISOFS: File unit size != 0 for ISO file (1600).
[ 2472.609469] ISOFS: changing to secondary root
[ 2472.610323] ISOFS: Interleaved files not (yet) supported.
[ 2472.610329] isofs_fill_super: root inode is not a directory. Corrupted media?
[ 2490.970896] APIC error on CPU1: 40(40)
[ 2490.975804] APIC error on CPU0: 40(40)
[ 2548.535953] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 2548.536383] FAT: invalid media value (0x00)
[ 2548.536391] VFS: Can't find a valid FAT filesystem on dev sdb.
[ 2571.995706] usb 6-1: USB disconnect, address 3
[ 2577.893584] usb 6-3: new high speed USB device using ehci_hcd and address 4
[ 2578.027710] usb 6-3: configuration #1 chosen from 1 choice
[ 2578.028082] scsi5 : SCSI emulation for USB Mass Storage devices
[ 2578.028389] usb-storage: device found at 4
[ 2578.028392] usb-storage: waiting for device to settle before scanning
[ 2581.331150] usb-storage: device scan complete
[ 2581.331687] scsi 5:0:0:0: Direct-Access              USB Flash Memory PMAP PQ: 0 ANSI: 0 CCS
[ 2581.633909] sd 5:0:0:0: [sdb] 15874048 512-byte hardware sectors (8128 MB)
[ 2581.635219] sd 5:0:0:0: [sdb] Write Protect is off
[ 2581.635225] sd 5:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 2581.635227] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 2581.636612] sd 5:0:0:0: [sdb] 15874048 512-byte hardware sectors (8128 MB)
[ 2581.636954] sd 5:0:0:0: [sdb] Write Protect is off
[ 2581.636958] sd 5:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 2581.636960] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 2581.636969]  sdb: sdb1 sdb2 < sdb5 >
[ 2581.956110] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[ 2581.956161] sd 5:0:0:0: Attached scsi generic sg1 type 0
[ 2582.485263] UDF-fs: No partition found (1)
[ 2582.487311] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 2582.488343] ISOFS: Interleaved files not (yet) supported.
[ 2582.488352] ISOFS: File unit size != 0 for ISO file (1600).
[ 2582.488357] ISOFS: changing to secondary root
[ 2582.488864] ISOFS: Interleaved files not (yet) supported.
[ 2582.488869] isofs_fill_super: root inode is not a directory. Corrupted media?

I'm curious about how to solve this issue, and what the problem might be.
any ideas?
Thank you
// SiNNeS
Avatar of Tobias
Tobias
Flag of Switzerland image

Dear,

Could check first what is really the file system instant of trying all ?

fdisk /dev/sdb  

Could you try to do :

sudo mount /dev/sdb /media/windows/ -t ntfs

And give the result ?

Thanks & Best Regards

ASKER CERTIFIED SOLUTION
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
sdb2 is an extended partition, don't mount that.
Avatar of SiNNeS

ASKER

Thanks!
i used: sudo mount /dev/sdb1 /media/windows/ -t vfat -o iocharset=utf8,umask=000
and it works as a charm.