命令:parted disk
[[email protected] ~]# 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的意思)
非交互式分区
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/2002.html