Par*_*rto 13 format usb-drive usb
我有一个 SanDisk 16GB USB 驱动器,它没有被 Ubuntu 14.04 检测到,但被 Windows 7 检测到。
lsusb检测它但sudo fdisk -l或blkid没有。
甚至 GParted 和磁盘也无法检测到它。
这是一些终端输出:
Bus 002 Device 006: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E230/E270/E870 HSDPA/HSUPA Modem
Bus 002 Device 004: ID 0781:5576 SanDisk Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 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 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 1a2c:0021 China Resource Semico Co., Ltd Keyboard
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04f2:b070 Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Run Code Online (Sandbox Code Playgroud)
Sep 10 22:28:22 xhakz kernel: [ 2203.587319] usb 2-2: USB disconnect, device number 4
Sep 10 22:28:25 xhakz kernel: [ 2206.212045] usb 2-2: new high-speed USB device number 7 using ehci-pci
Sep 10 22:28:25 xhakz mtp-probe: checking bus 2, device 7: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2"
Sep 10 22:28:25 xhakz kernel: [ 2206.344889] usb 2-2: New USB device found, idVendor=0781, idProduct=5576
Sep 10 22:28:25 xhakz kernel: [ 2206.344895] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 10 22:28:25 xhakz kernel: [ 2206.344897] usb 2-2: Product: Cruzer Facet
Sep 10 22:28:25 xhakz kernel: [ 2206.344900] usb 2-2: Manufacturer: SanDisk
Sep 10 22:28:25 xhakz kernel: [ 2206.344902] usb 2-2: SerialNumber: 4C532000030522108444
Sep 10 22:28:25 xhakz mtp-probe: bus: 2, device: 7 was not an MTP device
Run Code Online (Sandbox Code Playgroud)
T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 7 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0781 ProdID=5576 Rev=01.26
S: Manufacturer=SanDisk
S: Product=Cruzer Facet
S: SerialNumber=4C532000030522108444
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
Run Code Online (Sandbox Code Playgroud)
我不知道该怎么做才能检测到它,而且我不想格式化它,因为它包含重要数据。
我在另一台笔记本电脑上备份了我的数据,在 Windows 7 中格式化了驱动器,但仍然无法识别。有趣的是,Windows 7 检测到它并正常使用它,但在 Ubuntu 中没有检测到它,除了lsusb命令。奇怪的。
请求的命令输出:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 149.1G 0 disk
??sda1 8:1 0 1.5G 0 part
??sda2 8:2 0 74.4G 0 part
??sda3 8:3 0 1K 0 part
??sda4 8:4 0 32G 0 part /media/kagz/New Volume
??sda5 8:5 0 1.9G 0 part [SWAP]
??sda6 8:6 0 39.4G 0 part /
sr0 11:0 1 1024M 0 rom
Run Code Online (Sandbox Code Playgroud)
http://paste.ubuntu.com/8332788/
Linux xhakz 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:01 UTC 2014 i686 i686 i686 GNU/Linux
Run Code Online (Sandbox Code Playgroud)
一些有趣的事情:
将USB DOES NOT访客模式,但WORKS在现场会话模式。全部运行 Ubuntu 14.04。
重新安装不是一种选择。
其他 USB 不工作,这是系统的问题而不是 USB。
结果发现该usb-storage模块在启动时未加载,因此无法检测到任何 USB 驱动器。
首先尝试一下,我插入了我的 USB,打开终端并输入sudo modprobe usb-storage并被检测到。
为了使更改永久化,我/etc/modules以 root 身份编辑了该文件并添加了该行usb-storage
我的文件现在看起来像这样:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
usb_storage
lp
Run Code Online (Sandbox Code Playgroud)
来源:ubuntuforums