1、虽然使用的是parted进行分区,但还是要使用fdisk查看磁盘的信息
fdisk -l

2、parted /dev/sdb

3、定义分区表格式

4、Ignore/Cancel? Ignore
Yes/No? Yes
Ignore/Cancel? Ignore

5、Ignore/Cancel? Ignore
(parted) mkpart part1
File system type? [ext2]?
Start? 1
End? 8T
(parted)

6、使用print命令进行查看

时间:2026-02-14 01:51:12
1、虽然使用的是parted进行分区,但还是要使用fdisk查看磁盘的信息
fdisk -l

2、parted /dev/sdb

3、定义分区表格式

4、Ignore/Cancel? Ignore
Yes/No? Yes
Ignore/Cancel? Ignore

5、Ignore/Cancel? Ignore
(parted) mkpart part1
File system type? [ext2]?
Start? 1
End? 8T
(parted)

6、使用print命令进行查看
