我正在尝试使用parted来调整分区的大小,但是它没有可用的“ resize”命令
gchain@archbogchain@archbook:~$ sudo parted /dev/sdb
GNU Parted 3.1
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) help
align-check TYPE N check partition N for TYPE(min|opt) alignment
help [COMMAND] print general help, or help on COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table, available devices, free space, all found partitions, or a
particular partition
quit exit program
rescue START END rescue a lost partition near START and END
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition NUMBER
unit UNIT set the default unit to UNIT
version display the version number and copyright information of GNU Parted
我正在使用Archlinux x86_64,这正常吗?
谢谢 !
1
你可以先转换从MBR到一个GUID分区表。该过程很简单,不容易出错。然后,gdisk工具可以调整这些分区的大小。在Arch Linux的“额外”存储库中。调整好大小后,请参见以下主题:如何将GPT转换回MBR。
—
zero2cx 2012年
gparted效果很好,但是您需要运行GUI桌面
—
LatinSuD '16