1、虽然使用的是parted进行分区,但还是要使用fdisk查看磁盘的信息fdisk -l
2、parted /dev/sdb
3、定义分区表格式
4、Ignore/Cancel? IgnoreYes/No? YesIgnore/Cancel? Ignore
5、Ignore/Cancel? Ignore (parted) mkpart part1File system t烤恤鹇灭ype? [ext2]? Start? 1 End? 8T (parted)
6、使用print命令进行查看
时间:2024-10-15 21:22:09
1、虽然使用的是parted进行分区,但还是要使用fdisk查看磁盘的信息fdisk -l
2、parted /dev/sdb
3、定义分区表格式
4、Ignore/Cancel? IgnoreYes/No? YesIgnore/Cancel? Ignore
5、Ignore/Cancel? Ignore (parted) mkpart part1File system t烤恤鹇灭ype? [ext2]? Start? 1 End? 8T (parted)
6、使用print命令进行查看