我是新手,可能不太熟悉。
我在一台已经运行 Windows 的机器上双启动了 Ubuntu 12.04。我最终放弃了 Windows,并使用 Ubuntu Desktop LiveCD 上的 Gparted 来扩展我有限的硬盘空间。在这个过程中,我认为我可能弄乱了分区表。
我认为我的主分区在扩展分区内运行,这可能是一个问题?在我重新分区之前,外部硬盘会以只读方式安装,但现在无法安装。
当我输入时, sudo fdisk -l
我得到了这个:
Disk /dev/sda: 40.0 GB, 40000000000 bytes
255 heads, 63 sectors/track, 4863 cylinders, total 78125000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9dc96e9e
Device Boot Start End Blocks Id System
/dev/sda2 2048 78123007 39060480 5 Extended
/dev/sda5 4096 77080575 38538240 83 Linux
/dev/sda6 77082624 78123007 520192 82 Linux swap / Solaris
更新:更多信息。
所以,我基本上想弄清楚为什么我的外部驱动器无法再安装。我怀疑这与我所做的重新分区以及混乱的分区表有关,但也许我错了。
在添加设备之前和之后,有人在评论中询问了我 dmesg | tail 的问题:
前:
[332402.816025] parport0: FIFO is stuck
[332402.864049] parport0: BUSY timeout (1) in compat_write_block_pio
[332412.864070] FIFO write timed out
[332482.900041] parport0: FIFO is stuck
[332482.948067] parport0: BUSY timeout (1) in compat_write_block_pio
[332492.948038] FIFO write timed out
[332513.693367] usb 1-3: USB disconnect, device number 7
[332562.972045] parport0: FIFO is stuck
[332563.020056] parport0: BUSY timeout (1) in compat_write_block_pio
[332573.020100] FIFO write timed out
添加 Western Digital HFS Plus 外置硬盘后:
[332800.962790] sd 8:0:0:0: [sdb] No Caching mode page present
[332800.962800] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[332800.973591] sdb: [mac] sdb1 sdb2 sdb3 sdb4
[332800.977422] sd 8:0:0:0: [sdb] No Caching mode page present
[332800.977432] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[332800.977439] sd 8:0:0:0: [sdb] Attached SCSI disk
[332803.208062] parport0: FIFO is stuck
[332803.256075] parport0: BUSY timeout (1) in compat_write_block_pio
[332808.128065] usb 1-3: reset high-speed USB device number 8 using ehci_hcd
[332813.256036] FIFO write timed out
另外,当我拉出连接了 WD 外置硬盘的分区表时,在分区表下面我得到了以下内容:
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/sdb doesn't contain a valid partition table
我尝试连接的另一个外部驱动器是 Glyph GT050Q hfsplus,它产生类似的输出。
非常感谢您的帮助!
谢谢,
托德