我将我的系统硬盘克隆dd
到一个新的硬盘驱动器。它工作得很好,我可以从新驱动器启动。我的问题如下:我无法调整大小/dev/sdb1
给它留下的所有空间/dev/sdb5
。
/dev/sdb1 2048 52766719 52764672 25.2G Linux filesystem
/dev/sdb2 52766720 53743615 976896 477M EFI System
/dev/sdb3 53743616 54720511 976896 477M BIOS boot
/dev/sdb4 54720512 62531583 7811072 3.7G Linux swap
/dev/sdb5 62533632 468862094 406328463 193.8G Linux filesystem
我想/dev/sdb1
拥有/dev/sdb5
.
/dev/sdb5
是空的,应该被删除。
Disk /dev/sdb: 223.6 GiB, 240057409536 bytes, 468862128 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
Disklabel type: gpt
Disk identifier: D5725B1D-2D70-4FC8-A149-0BA1296F8381
Device Start End Sectors Size Type
/dev/sdb1 2048 52766719 52764672 25.2G Linux filesystem
/dev/sdb2 52766720 53743615 976896 477M EFI System
/dev/sdb3 53743616 54720511 976896 477M BIOS boot
/dev/sdb4 54720512 62531583 7811072 3.7G Linux swap
/dev/sdb5 62533632 468862094 406328463 193.8G Linux filesystem
Disk /dev/sda: 29.8 GiB, 32017047552 bytes, 62533296 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
Disklabel type: gpt
Disk identifier: D5725B1D-2D70-4FC8-A149-0BA1296F8381
Device Start End Sectors Size Type
/dev/sda1 2048 52766719 52764672 25.2G Linux filesystem
/dev/sda2 52766720 53743615 976896 477M EFI System
/dev/sda3 53743616 54720511 976896 477M BIOS boot
/dev/sda4 54720512 62531583 7811072 3.7G Linux swap