/* /=========================================\ * |PARTITION TABLE LAYOUT (offset 446|0x1BE)| * \=========================================/ * * +--- Bit 7 is the active partition flag, bits 6-0 are * | zero (when not zero this byte is also the drive * | number of the drive to boot so the active * | partition is always found on drive 80H, * | the first hard disk). * | * | +--- Starting CHS in int $0x13 call format. * | | * | | +--- Partition type byte. * | | | * | | | +--- Ending CHS in int $0x13 call format. * | | | | * | | | | +-- Starting LBA. * | | | | | * | | | | | +-- Size in sectors. * /| V /| V V V * VV /--+---\ VV /--+---\ /-+---\ /-+----\ * 0 1 2 3 4 5 6 7 8 9 A B C D E F <- offset * DL DH CL CH TB DH CL CH LBA..... SIZE.... =========== * 00 00 01 04 83 FE 7F 08 04FB0000 C5FA3F00 1st entry * 00 00 41 09 82 FE BF 0D C9F54000 C5FA3F00 2nd entry * 80 00 81 0E 0C FE FF FF 8EF08000 63EFA606 3rd entry * 00 01 01 00 83 FE 3F 03 3F000000 C5FA0000 4th entry * * The above translates to this (from linux fdisk): * Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID * 1 00 0 1 4 254 63 264 64260 4192965 83 * 2 00 0 1 265 254 63 525 4257225 4192965 82 * 3 80 0 1 526 254 63 1023 8450190 111603555 0c * 4 00 1 1 0 254 63 3 63 64197 83 */ Partition UUID: EXT1/MINIX - offset 0x42c - offset 0x42f from start of partition EXT2/EXT3/EXT4 - offset 0x468 - offset 0x477 from start of partition Linux Swap - offset 0x40c - offset 0x41b from start of partition NTFS - offset 0x48 - offset 0x4f from start of partition FAT32 - offset 0x43 - offset 0x46 from start of partition FAT16 - offset 0x27 - offset 0x2a from start of partition