![用于减小分区大小并从命令行创建新分区的工具](https://linux22.com/image/44210/%E7%94%A8%E4%BA%8E%E5%87%8F%E5%B0%8F%E5%88%86%E5%8C%BA%E5%A4%A7%E5%B0%8F%E5%B9%B6%E4%BB%8E%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%88%9B%E5%BB%BA%E6%96%B0%E5%88%86%E5%8C%BA%E7%9A%84%E5%B7%A5%E5%85%B7.png)
目前我没有任何可用空间:
(parted) mkpart
Partition type? primary/extended? primary
File system type? [ext2]? ext4
Start? 60G
End? 62.9G
Warning: You requested a partition from 60.0GB to 62.9GB.
The closest location we can manage is 250GB to 250GB.
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 2097kB 62.9GB 62.9GB primary ntfs
2 62.9GB 63.4GB 524MB primary ext4
3 63.4GB 250GB 187GB primary boot, lvm
我想减小 NTFS 分区 (1) 的大小,以便创建一个新分区。我需要一个像 这样的控制台工具parted
,而不是像 那样的 GUI gparted
。