Linux-命令-parted
命令:parted disk
[root@Atlantis ~]# parted /dev/sdb
GNU Parted 2.1
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) help
1.转换成gpt分区表
--mklabel : mklabel gpt
2分区
--mkpart: mkpart primary 0 10 (10M的意思)
非交互式分区
--------------------
阑心而慧智,心静而致远.
--------------------