我曾经能够在插入 USB 记忆棒时自动安装到我的 GNOME 桌面上。经过一番摆弄我的系统后,它不再发生了。我现在必须求助于使用命令行来完成此操作。
这是我将其插入时出现的窗口:
这是输出的结尾dmesg
:
[20500.548090] usb 2-3: new high speed USB device using ehci_hcd and address 6
[20500.703390] usb 2-3: New USB device found, idVendor=8564, idProduct=1000
[20500.703399] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[20500.703406] usb 2-3: Product: Mass Storage Device
[20500.703411] usb 2-3: Manufacturer: JetFlash
[20500.703416] usb 2-3: SerialNumber: 64V6ZJ34LRL69IU1
[20500.703868] usb 2-3: selecting invalid altsetting 1
[20500.704828] scsi8 : usb-storage 2-3:1.0
[20502.122302] scsi 8:0:0:0: Direct-Access JetFlash Transcend 8GB 1100 PQ: 0 ANSI: 0 CCS
[20502.123693] sd 8:0:0:0: Attached scsi generic sg2 type 0
[20502.125043] sd 8:0:0:0: [sdb] 15826944 512-byte logical blocks: (8.10 GB/7.54 GiB)
[20502.125774] sd 8:0:0:0: [sdb] Write Protect is off
[20502.125782] sd 8:0:0:0: [sdb] Mode Sense: 43 00 00 00
[20502.125789] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[20502.132333] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[20502.133529] sdb: sdb1
[20502.135252] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[20502.135257] sd 8:0:0:0: [sdb] Attached SCSI removable disk
[20502.658377] UDF-fs: No anchor found
[20502.658380] UDF-fs: Rescanning with blocksize 2048
[20502.682376] UDF-fs: No anchor found
[20502.682379] UDF-fs: No partition found (1)
[20502.738750] ISOFS: Unable to identify CD-ROM format.
答案1
所以我尝试安装 USB 记忆棒pmount /dev/sdb1 /mnt/blah
,它给出了比 GUI 对话框更有用的消息:
Warning: device /dev/sdb1 is already handled by /etc/fstab, supplied label is ignored
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
这让我发现“/etc/fstab" 实际上有一个 /dev/sdb1 的条目:
/dev/sdb1 /media/cdrom0 udf,iso9660 user,noauto 0 0
原因是我的棒实际上是在安装 Debian Squeeze 时附加的,因此会自动添加到那里。这就是当您从同一根棒安装时会发生的情况,现在我很好奇其他人如何避免这种有问题的情况。
答案2
看起来您的 USB 记忆棒有一个隐藏分区,充当 CD-ROM 驱动器。不幸的是,您可能需要寻找制造商提供的 Windows 实用程序来删除它。