Centos7使用gpt分区
时间:2021-05-05 来源:服务器在线 投稿:admin 点击:次
[root@localhost ~]# parted /dev/sdb
GNU Parted 3.1
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel gpt
Warning: 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
(parted) mkpart
Partition name? []? data
File system type? [ext2]? ext4
Start? 1
End? -1
(parted) q
Information: You may need to update /etc/fstab.
GNU Parted 3.1
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel gpt
Warning: 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
(parted) mkpart
Partition name? []? data
File system type? [ext2]? ext4
Start? 1
End? -1
(parted) q
Information: You may need to update /etc/fstab.
如果您的问题仍未解决,还可以加入服务器在线技术交流QQ群:8017413寻求帮助。
相关内容