我有一个 USB 钥匙,上面有两个分区,我想在 Ubuntu 16.04 桌面上使用。当我插入它时,其中一个分区安装正常,另一个分区没有出现。
我检查了 dmesg:
[ 461.842961] usb 1-2: new high-speed USB device number 5 using xhci_hcd
[ 461.982989] usb 1-2: New USB device found, idVendor=abcd, idProduct=1234
[ 461.982994] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 461.982997] usb 1-2: Product: 1
[ 461.983000] usb 1-2: Manufacturer: 1
[ 461.983003] usb 1-2: SerialNumber: 1508051529112488889806
[ 461.997749] usb-storage 1-2:1.0: USB Mass Storage device detected
[ 461.997808] scsi host3: usb-storage 1-2:1.0
[ 461.998058] usbcore: registered new interface driver usb-storage
[ 461.999035] usbcore: registered new interface driver uas
[ 462.999382] scsi 3:0:0:0: Direct-Access General UDisk 5.00 PQ: 0 ANSI: 2
[ 462.999642] scsi 3:0:0:1: Direct-Access General UDisk 5.00 PQ: 0 ANSI: 2
[ 463.000018] sd 3:0:0:0: Attached scsi generic sg1 type 0
[ 463.000140] sd 3:0:0:0: [sdb] 4096 512-byte logical blocks: (2.10 MB/2.00 MiB)
[ 463.000276] sd 3:0:0:0: [sdb] Write Protect is on
[ 463.000280] sd 3:0:0:0: [sdb] Mode Sense: 0b 00 80 08
[ 463.000306] sd 3:0:0:1: Attached scsi generic sg2 type 0
[ 463.000465] sd 3:0:0:0: [sdb] No Caching mode page found
[ 463.000471] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[ 463.000594] sd 3:0:0:1: [sdc] 7794688 512-byte logical blocks: (3.99 GB/3.72 GiB)
[ 463.000781] sd 3:0:0:1: [sdc] Write Protect is off
[ 463.000785] sd 3:0:0:1: [sdc] Mode Sense: 0b 00 00 08
[ 463.000982] sd 3:0:0:1: [sdc] No Caching mode page found
[ 463.000986] sd 3:0:0:1: [sdc] Assuming drive cache: write through
[ 463.004150] sdb:
[ 463.007180] sdc:
[ 463.008099] sd 3:0:0:0: [sdb] Attached SCSI removable disk
[ 463.008537] sd 3:0:0:1: [sdc] Attached SCSI removable disk
[ 463.244222] FAT-fs (sdc): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
因此我运行了 fsck:
~$ sudo fsck /dev/sdc
fsck from util-linux 2.27.1
fsck.fat 3.0.28 (2015-05-16)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
? 1
Perform changes ? (y/n) y
/dev/sdc: 4 files, 2649/972432 clusters
运行此程序后,我重新插入驱动器,结果相同。我在 GParted 中打开了磁盘,看到其中一个分区以及驱动器上的警告:
plain floppy: device "/dev/sdc" busy (Resource temporarily unavailable):
Cannot initialize '::'
mlabel: Cannot initialize drive
奇怪的是,sdc 显示在 GParted 中,但 sdb 没有显示。我知道 sdb 是只读的,但这会阻止它在 GParted 中显示吗?此外,考虑到 GParted 中的警告,sdc 分区是否正常工作?
答案1
我遇到了同样的问题,我通过将分区格式化为清除(gparted 的最后一个选项)来解决它,应用更改,然后以 msdos 创建新分区表并再次应用更改。之后,您只需在可用空间中创建一个新分区。
我希望这对你有帮助