The partition endpoint is specified in CHS format with end_cylinder, end_head, and end_sector. The size in 512-byte sectors is size_in_sectors.
The slight overspecification of the parameters is there because they depend on how the BIOS translates the disk geometry to the BIOS geometry. All CHS coordinates given to this command should be in the translated BIOS geometry.
The partition boot bit is enabled with the -boot-indication flag (default off).
The partition type can either raw numerical code, type_id, or a symbolic name, type_name. The following symbolic names are understood by the command: "unused" (0x0), "FAT12" (0x1), "FAT16" (0x4), "Extended (CHS)" (0x5), "FAT16B" (0x6), "NTFS/exFAT" (0x7), "FAT32 (CHS)" (0xb), "FAT32 (LBA)" (0xc), "FAT16 (LBA)" (0xe), "Extended (LBA)" (0xf), "Linux swap" (0x82), "Linux native" (0x83), "Linux extended" (0x85), "Linux LVM" (0x8e), "FreeBSD" (0xa5), "OpenBSD" (0xa6), "Apple UFS" (0xa8), "NetBSD" (0xa9), "Apple boot" (0xab), "Apple HFS" (0xaf), and "EFI system" (0xef).