我以前可以在我的GNOME桌面上插上我的USB卡自动安装。在对我的系统做了些改动之后,它就不会再发生了。现在我不得不使用命令行来执行此操作。
这是当我把它插进去时会出现的窗口:
下面是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.
发布于 2011-02-07 17:04:54
因此,我试着用pmount /dev/sdb1 /mnt/blah
安装USB棒,它提供了一个比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 1条目:
/dev/sdb1 /media/cdrom0 udf,iso9660 user,noauto 0 0
原因是,我的棍子实际上是在安装Debian压缩时附加的,所以自动添加到其中。这就是当您从同一条安装时会发生的情况,现在我很好奇其他人如何避免这种有问题的情况。
发布于 2011-02-07 16:47:05
看起来你的USB棒有一个隐藏的分区,作为一个光盘驱动器.不幸的是,您可能需要从制造商那里寻找一个Windows实用程序来删除它。
https://unix.stackexchange.com/questions/7028
复制相似问题