Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 111459  / 3 Years ago, sun, july 4, 2021, 10:52:42

I have a 16GB Hama usb stick and I'm using it on Ubuntu 14.04. Until yesterday it worked fine, but my Linux crashed and I had to copy some files on it using the low graphics interface. Anyways the files where copied and I reinstalled the system, but now I don't see my drive. Any other drives work.



This is what I get with dmesg | grep -i usb



[ 3028.034004] usb 2-1.6: reset high-speed USB device number 6 using ehci-pci
[ 3038.195532] usb 2-1.6: reset high-speed USB device number 6 using ehci-pci
[ 3054.355731] usb 2-1.6: reset high-speed USB device number 6 using ehci-pci
[ 3054.523730] usb 2-1.6: reset high-speed USB device number 6 using ehci-pci
[ 3064.685451] usb 2-1.6: reset high-speed USB device number 6 using ehci-pci
[ 3522.645454] usb 2-1.6: USB disconnect, device number 6
[ 3542.867682] usb 2-1.6: new high-speed USB device number 7 using ehci-pci
[ 3542.960989] usb 2-1.6: New USB device found, idVendor=058f, idProduct=6366
[ 3542.960994] usb 2-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3542.960998] usb 2-1.6: Product: Flash Card Reader/Writer
[ 3542.961000] usb 2-1.6: Manufacturer: Generic
[ 3542.961002] usb 2-1.6: SerialNumber: 058F63666438
[ 3542.961388] usb-storage 2-1.6:1.0: USB Mass Storage device detected
[ 3542.962447] scsi10 : usb-storage 2-1.6:1.0
[ 3574.943893] usb 2-1.6: reset high-speed USB device number 7 using ehci-pci
[ 3585.105482] usb 2-1.6: reset high-speed USB device number 7 using ehci-pci
[ 3601.265555] usb 2-1.6: reset high-speed USB device number 7 using ehci-pci
[ 3601.433364] usb 2-1.6: reset high-speed USB device number 7 using ehci-pci
[ 3611.594898] usb 2-1.6: reset high-speed USB device number 7 using ehci-pci


This is what I get with lsusb



Bus 002 Device 007: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0461:4d51 Primax Electronics, Ltd 0Y357C PMX-MMOCZUL (B) [Dell Laser Mouse]
Bus 001 Device 005: ID 413c:2110 Dell Computer Corp.
Bus 001 Device 003: ID 413c:1010 Dell Computer Corp.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


And this is what I get with lsblk



NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda 8:0 0 232.9G 0 disk
├─sda1 8:1 0 229G 0 part /
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 3.9G 0 part [SWAP]


Result for sudo fdisk -l



Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00042ebd

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 480237567 240117760 83 Linux
/dev/sda2 480239614 488396799 4078593 5 Extended
/dev/sda5 480239616 488396799 4078592 82 Linux swap / Solaris


Do you have any ideea what is happening to my drive?


More From » 14.04

 Answers
1

As your pendrive is visible in "Disk Utility" and



mount /dev/sdb /mnt


command returns



mount: /dev/sdb is not a valid block device


Therefore, your OS can detect the pendrive.



Now, open up terminal (Ctrl+Alt+T) and type in the command:



sudo su


to get root privileges.



Next, type:



mkfs.xfs /dev/sdb1 && mount /dev/sdb1 /mnt -t auto


This got to solve the problem. But if it doesn't please comment below. Thank You!


[#24571] Tuesday, July 6, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
poous

Total Points: 81
Total Questions: 101
Total Answers: 119

Location: Cambodia
Member since Sat, Oct 3, 2020
4 Years ago
poous questions
Tue, Jun 22, 21, 09:48, 3 Years ago
Thu, Mar 16, 23, 00:23, 1 Year ago
Mon, Jun 7, 21, 11:47, 3 Years ago
;