我想调整 Linux 分区的大小。为此,我启动了 Ubuntu 14.04 live USB 驱动器并打开 gparted。现在的问题是 Gparted 只显示我的 USB 驱动器,而不显示我的硬盘。无法在设备下选择我的硬盘。
当我正常启动后打开 Gparted 时也出现了同样的事情:插入 USB 驱动器时,Gparted 不会显示我的 HDD。一旦未插入 USB 驱动器,它就会正常显示我的 HDD 及其所有分区。
以下是正常启动后 fdisk -l 的输出:
WARNING: GPT (GUID Partition Table) detected on '/dev/nvme0n1'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/nvme0n1: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 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: 0x9a04939e
Device Boot Start End Blocks Id System
/dev/nvme0n1p1 1 500118191 250059095+ ee GPT
Disk /dev/sda: 8002 MB, 8002732032 bytes
241 heads, 36 sectors/track, 1801 cylinders, total 15630336 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
Device Boot Start End Blocks Id System
/dev/sda1 * 32 15630335 7815152 b W95 FAT32