Hi,
I've always been a bit puzzled by the fact that Anaconda provides no option to manually create a partition table and specify if it's MBR or GPT.
From what I can tell - at least under CentOS 7.x - Anaconda will default to
MBR, even if I specify a BIOS Boot partition. Maybe it switches automatically to GPT if the disk size requires it ( > 2 TB IIRC) though I don't have any corresponding hardware here to test it.
Is this documented somewhere? Or is there a nifty little trick to tell Anaconda to prefer GPT partition tables?
Cheers,
Niki
Hi,
I've always been a bit puzzled by the fact that Anaconda provides no option to manually create a partition table and specify if it's MBR or GPT.
From what I can tell - at least under CentOS 7.x - Anaconda will default to MBR, even if I specify a BIOS Boot partition. Maybe it switches automatically to GPT if the disk size requires it ( > 2 TB IIRC) though I don't have any corresponding hardware here to test it.
I haven't a lot of experience here but I always thought the general rule for boot disks is: classic BIOS -> MBR and UEFI -> GPT.
Regards, Simon
Le 28/11/2020 à 18:58, Simon Matter a écrit :
I haven't a lot of experience here but I always thought the general rule for boot disks is: classic BIOS -> MBR and UEFI -> GPT.
After some more research, I think I found the definitive answer to the problem. It's a little bit more complicated.
UEFI -> GPT
BIOS -> MBR
BIOS with disk > 2^32 sectores (2 TiB) -> GPT
And searching for this, I stumbled over docs.centos.org, whose existence I ignored. Must be relatively new:
https://docs.centos.org/en-US/centos/install-guide/StorageSpoke-x86/
See section "MBR and GPT considerations".
Cheers,
Niki