Name

partnew

Synopsis

partnew part type from to

Make a new primary partition, part, specified in GRUB syntax. type is the partition type, specified as a number in the range 0-0xff. from and to are the starting and ending sectors, specified as absolute numbers. Some of the common partition types are:

Type

Number

None

0

FAT 16, lt 32M

4

FAT 16, gt 32M

6

FAT 32

0xb

FAT 32, with LBA

0xc

WIN 95, extended

0xf

EXT2FS

0x83

Linux extended

0x85

Linux RAID

0xfd

FreeBSD

0xa5

OpenBSD

0xa6

NetBSD

0xfd

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.