我有一个可以被我的笔记本电脑识别的 USB 记忆棒,但没有可安装的分区。该设备在/dev/
as中列出,sdb
但没有分区/dev/sdb1
。fdisk -l
也没有显示任何关于 的内容/dev/sdb
。我也尝试重新读取分区表,但partprobe
没有效果。我没有更新内核,仍然重新启动,结果仍然相同。
我还发现了这个问题:安装无法识别的 USB 驱动器这是通过这里的答案解决的archlinux论坛,但这些对我没有帮助,因为我的/etc/udev/rules.d/
是空的。
dmesg
当我插入棒时输出以下内容:
usb 3-1: new high-speed USB device number 2 using xhci_hcd
usb-storage 3-1:1.0: USB Mass Storage device detected
scsi host6: usb-storage 3-1:1.0
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver uas
scsi 6:0:0:0: Direct-Access 2238 PRAM 1.00 PQ: 0 ANSI: 0 CCS
sd 6:0:0:0: [sdb] Attached SCSI removable disk
lsusb
显示我的棍子:
Bus 003 Device 004: ID 13fe:3100 Kingston Technology Company Inc. 2/4 GB stick
的输出udevadm monitor
是:
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[475.967958] add /devices/pci0000:00/0000:00:14.0/usb3/3-2 (usb)
KERNEL[475.968047] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0 (usb)
KERNEL[475.968467] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7 (scsi)
KERNEL[475.968757] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/scsi_host/host7 (scsi_host)
UDEV [476.071403] add /devices/pci0000:00/0000:00:14.0/usb3/3-2 (usb)
UDEV [476.136149] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0 (usb)
UDEV [476.136834] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7 (scsi)
UDEV [476.138221] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/scsi_host/host7 (scsi_host)
KERNEL[476.971068] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0 (scsi)
KERNEL[476.971147] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0 (scsi)
KERNEL[476.971196] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/scsi_disk/7:0:0:0 (scsi_disk)
KERNEL[476.971334] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/scsi_device/7:0:0:0 (scsi_device)
KERNEL[476.971780] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/bsg/7:0:0:0 (bsg)
KERNEL[476.971813] add /devices/virtual/bdi/8:16 (bdi)
KERNEL[476.971898] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/block/sdb (block)
UDEV [476.972288] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0 (scsi)
KERNEL[476.972597] change /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/block/sdb (block)
UDEV [476.973246] add /devices/virtual/bdi/8:16 (bdi)
UDEV [476.973710] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0 (scsi)
UDEV [476.974907] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/scsi_disk/7:0:0:0 (scsi_disk)
UDEV [476.974949] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/scsi_device/7:0:0:0 (scsi_device)
UDEV [476.975955] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/bsg/7:0:0:0 (bsg)
UDEV [476.986215] add /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/block/sdb (block)
UDEV [477.000467] change /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host7/target7:0:0/7:0:0:0/block/sdb (block)
由于看起来该棒快要死了,我想对数据进行备份,以便稍后恢复。我找到了这个如何创建 USB 记忆棒的位相同映像?
所以我跑了:
sudo dd if=/dev/sdb of=~/usb.img bs=4M
结果是:
dd: failed to open ‘/dev/sdb’: No medium found
我也尝试了同样的方法,ddrescue
得到了相同的结果:
ddrescue: Can't open input file: No medium found
那么,您知道有什么方法可以访问或至少保存我的设备中的数据吗?谢谢您的帮助!
编辑1
lsblk
今天,我想在评论中发布请求的输出,我的棍子显示出与我最初问这个问题时不同的行为。
dmesg
显示以下内容:
usb 1-2: new high-speed USB device number 9 using xhci_hcd
usb-storage 1-2:1.0: USB Mass Storage device detected
scsi host7: usb-storage 1-2:1.0
scsi 7:0:0:0: Direct-Access Kingston DT R500 PMAP PQ: 0 ANSI: 0 CCS
sd 7:0:0:0: [sdb] 31227904 512-byte logical blocks: (15.9 GB/14.8 GiB)
sd 7:0:0:0: [sdb] Write Protect is off
sd 7:0:0:0: [sdb] Mode Sense: 23 00 00 00
sd 7:0:0:0: [sdb] No Caching mode page found
sd 7:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 7:0:0:0: [sdb] Attached SCSI removable disk
usb 1-2: reset high-speed USB device number 9 using xhci_hcd
usb 1-2: device descriptor read/64, error -110
usb 1-2: device descriptor read/64, error -110
usb 1-2: reset high-speed USB device number 9 using xhci_hcd
usb 1-2: device descriptor read/64, error -110
usb 1-2: device descriptor read/64, error -110
usb 1-2: reset high-speed USB device number 9 using xhci_hcd
usb 1-2: device descriptor read/8, error -110
usb 1-2: device descriptor read/8, error -110
usb 1-2: reset high-speed USB device number 9 using xhci_hcd
usb 1-2: device descriptor read/8, error -110
usb 1-2: device descriptor read/8, error -110
usb 1-2: USB disconnect, device number 9
sd 7:0:0:0: [sdb] UNKNOWN Result: hostbyte=0x01 driverbyte=0x00
sd 7:0:0:0: [sdb] CDB:
cdb[0]=0x28: 28 00 01 dc 7f 80 00 00 08 00
blk_update_request: I/O error, dev sdb, sector 31227776
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880213bcf240
xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880213bcf288
usb 1-2: new high-speed USB device number 10 using xhci_hcd
usb 1-2: device descriptor read/64, error -110
usb 1-2: device descriptor read/64, error -110
usb 1-2: new high-speed USB device number 11 using xhci_hcd
usb 1-2: device descriptor read/64, error -110
usb 1-2: device descriptor read/64, error -110
usb 1-2: new high-speed USB device number 12 using xhci_hcd
usb 1-2: device descriptor read/8, error -110
usb 1-2: device descriptor read/8, error -110
usb 1-2: new high-speed USB device number 13 using xhci_hcd
usb 1-2: device descriptor read/8, error -110
usb 1-2: device descriptor read/8, error -110
usb usb1-port2: unable to enumerate USB device
我还将该棒连接到我的 Windows 计算机。它可以访问该棒,但没有显示文件。