The GPT partition scheme (GUID Partition Table) is the official successor to the MBR scheme (Master Boot Record). GPTs have been supported by virtually all platforms for almost 20 years. They eliminate various disadvantages of the MBR scheme and are described in the UEFI specification. Therefore, they have long been standard on PCs and Macs with UEFI BIOS.
Media for the Atari usually have a root sector in the old MBR format. Up to 4 partitions are defined in the root sector, all other definitions are distributed across the disk in special structures. This format is described in the AHDI specification. DOS and Windows handle the MBR scheme in a similar way, but the MBR partition table is structured differently than in TOS, which causes compatibility issues.
With a GUID partition table, all partition data (usually for up to 128 partitions) are located on the first sectors. The last sectors always contain a complete backup of this table. The integrity of the partition data is secured by checksums. Media with a capacity of more than 2 TiB absolutely require a GPT scheme, since an MBR (like TOS) is limited to 32 bit sector numbers. 64 bit sector numbers on the Atari are supported in conjunction with the SCSI Driver by tools such as HDDRUTIL or DISKUS. The actual partition data do not change with a GPT scheme, only the structure of the partition table.
With the Atari, it depends on the hard disk software whether a GPT scheme can be used. HDDRIVER has supported GPTs since version 10.10, HDDRUTIL since version 12.50.
The Atari also benefits from a GPT scheme. The main advantages and disadvantages for the Atari are summarized below.
AdvantagesHDDRIVER users should not only consider using a GPT scheme for data exchange with other platforms. The higher data security (recovering the partition table) alone can speak in favor of a GPT scheme.
MBR partition types on the Atari consist of three characters, usually uppercase. On DOS/Windows each MBR type consists of one byte. GPT partition types are represented by a 16-byte platform independent unique ID. Therefore TOS and DOS/Windows partitions can coexist on the same medium. GUIDs are mapped to the types used on the Atari as follows.
GUID | Designation | DOS MBR Type | TOS MBR Type | XHDI Type |
---|---|---|---|---|
EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 | Microsoft basic data | $0E (FAT16 LBA), $0C (FAT32 LBA) |
- | $0E, "F32" |
734E5AFE-F61A-11E6-BC64-92361F002671 | Atari TOS basic data | - | "BGM" (FAT16), "F32" (FAT32) |
"BGM", "F32" |
35540011-B055-499F-842D-C69AECA357B7 | Atari TOS raw data (XHDI) | - | "RAW" | "RAW" |
0FC63DAF-8483-4772-8E79-3D69D8477DE4 | Linux filesystem | $83 | "LNX" | "LNX" |
481B2A38-0561-420B-B72A-F1C4988EFC16 | Minix filesystem | $81 | "MIX" | "MIX" |
If possible, for XHDI types HDDRIVER uses the TOS types instead of the equivalent DOS types.
When partitioning with a GPT scheme, HDDRUTIL automatically creates the corresponding GPT types instead of the MBR types, so that the user does not have to rethink. Partitioning is done as usual, and the familiar MBR types always appear externally. There are no other visible changes during normal operation either.