1.安装parted命令
[root@localhost ~]yum install parted -y
2. 将MBR磁盘格式化为GPT
[root@localhost ~]# parted /dev/sdb # 你需要转换的硬盘,我这里假设为sdb
GNU Parted 3.1
使用 /dev/sdb
Welcome to GNU Parted! Type ‘help‘ to view a list of commands.
(parted) mklabel gpt # 输入gpt ,使用mklabel 参数转换为GPT类型
警告: The existing disk label on /dev/sdb will be destroyed and all data on this disk will be lost. Do you want to continue?
是/Yes/否/No? yes # 输入yes
(parted) mkpart primary 0 -1
警告: The resulting partition is not properly aligned for best performance.
忽略/Ignore/放弃/Cancel? # 输入Ignore忽略,输入Cancel放弃操作
3.查看是否生成一个8T的分区
[root@localhost ~]#lsblk
3. 将
原文:https://www.cnblogs.com/laod/p/13070604.html