可能重复,但所有其他示例似乎都有 sudo fdisk -l /dev/sdx 的输出。插入 USB 后,dmesg 中会出现以下内容·Ubuntu 不承认该设备,不提供挂载等。
adam@horb:~$ dmesg | tail
[ 1808.351548] usb 2-2: USB disconnect, device number 6
[ 1809.726597] usb 2-2: new high-speed USB device number 7 using ehci-pci
[ 1809.864964] usb 2-2: New USB device found, idVendor=090c, idProduct=3000
[ 1809.864976] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1809.864985] usb 2-2: Product: SM3252A MEMORY BAR
[ 1809.864992] usb 2-2: Manufacturer: Silicon Motion,Inc.
[ 1809.865486] scsi9 : usb-storage 2-2:1.0
[ 1810.861535] scsi 9:0:0:0: Direct-Access USB MEMORY BAR 1000 PQ: 0 ANSI: 0 CCS
[ 1810.863458] sd 9:0:0:0: Attached scsi generic sg6 type 0
[ 1810.866537] sd 9:0:0:0: [sdg] Attached SCSI removable disk
该设备出现在 /dev 中,但没有我预期的 /dev/sdg1 等分区。
adam@horb:~$ ls -larF /dev | grep sdg
brw-rw---- 1 root disk 8, 96 Oct 25 18:32 sdg
fdisk 没有显示任何结果;
adam@horb:~$ sudo fdisk -l /dev/sdg
adam@horb:~$
lsusb 注意到了这一点
adam@horb:~$ lsusb
Bus 002 Device 007: ID 090c:3000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.)
Bus 002 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 002 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 15d9:0a4d Trust International B.V. Optical Mouse
Bus 002 Device 005: ID 046d:c31c Logitech, Inc. Keyboard K120 for Business
有没有什么办法可以恢复这个 USB 上的数据?
答案1
尝试直接挂载/dev/sdg
(而不是或如此操作)。如果整个设备(而不是分区)已格式化,此方法将有效。类似(有多种分区管理器)的/dev/sdg1
工具可以让您了解磁盘的分区。fdisk(8)
如果系统无法识别 USB 驱动器,则可能是因为其数据已被破坏,或者 USB 驱动器已损坏。