![USB 闪存盘未出现在任何操作系统中](https://linux22.com/image/1360579/USB%20%E9%97%AA%E5%AD%98%E7%9B%98%E6%9C%AA%E5%87%BA%E7%8E%B0%E5%9C%A8%E4%BB%BB%E4%BD%95%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E4%B8%AD.png)
嗨,我买了新的金士顿 DataTraveller 驱动器。我在 OS X 中对其进行了重新分区,然后转储了另一个闪存驱动器的映像。又发生了几次同样的情况,但现在当我插入它时它不会出现在任何操作系统中。以下是 Linux 中 dmesg | tail 的输出:
[17470.869451] usb 2-2: new high-speed USB device number 4 using ehci_hcd [17470.987138] usb 2-2: New USB device found, idVendor=0951, idProduct=1643
[17470.987142] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[17470.987145] usb 2-2: Product: DataTraveler G3
[17470.987147] usb 2-2: Manufacturer: Kingston
[17470.987148] usb 2-2: SerialNumber: 001CC0EC346CFC70C71B2429
[17470.987590] scsi12 : usb-storage 2-2:1.0
[17472.091870] scsi 12:0:0:0: Direct-Access GENERIC USB Mass Storage 1.00 PQ: 0 ANSI: 4
[17472.092168] sd 12:0:0:0: Attached scsi generic sg7 type 0
[17472.097092] sd 12:0:0:0: [sdg] READ CAPACITY failed
[17472.097096] sd 12:0:0:0: [sdg] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[17472.097100] sd 12:0:0:0: [sdg] Sense Key : Unit Attention [current]
[17472.097104] sd 12:0:0:0: [sdg] Add. Sense: Not ready to ready change, medium may have changed
[17472.097713] sd 12:0:0:0: [sdg] Write Protect is off
[17472.097716] sd 12:0:0:0: [sdg] Mode Sense: 45 00 00 00
[17472.098713] sd 12:0:0:0: [sdg] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[17472.103079] sd 12:0:0:0: [sdg] READ CAPACITY failed
[17472.103083] sd 12:0:0:0: [sdg] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[17472.103086] sd 12:0:0:0: [sdg] Sense Key : Unit Attention [current]
[17472.103089] sd 12:0:0:0: [sdg] Add. Sense: Not ready to ready change, medium may have changed
[17472.104703] sd 12:0:0:0: [sdg] Attached SCSI removable disk
所以它看到了一点并将其指向 /dev/sdg
如果我使用 mount /dev/sdg /media/usb 挂载它:
mount: /dev/sdg: can't read superblock
如果我尝试使用 fdisk /dev/sdg 对其进行 fdisk 来查看分区(它没有),我会得到以下信息:
fdisk: unable to read /dev/sdg: Invalid argument
如果我尝试使用 dd if=/dev/zero of=/dev/sdg 将整个磁盘清零
dd: writing to ‘/dev/sdg’: No space left on device
1+0 records in
0+0 records out
0 bytes (0 B) copied, 0.000208433 s, 0.0 kB/s
我不知道如何删除整个磁盘并重新正确分区。有什么想法吗?
PS 在此之前,我确实设法在 openSuSe 中将其格式化为 ext2,但它引发了一堆错误,我不再记得了。Windows 也将其视为在线,但总大小为 0 字节,不允许我对其进行格式化。
亚历克斯
答案1
要排除 USB 集线器或电缆故障,请在另一台计算机上尝试。如果错误仍然存在,则 USB 驱动器可能已损坏。