「Linux」- 查看和修改分区表类型

查看分区表类型

在如下命令输出信息中,将显示分区表类型:

parted "/dev/sdX" print

修改分区表类型

如下命令将使分区使用 MBR 分区:

parted "/dev/sdX" mklabel "msdos"

参考文学

How can I check and change the partition table type?