You are not logged in.
I noticed that my swap partition has been created with the partition code 8300 (Linux filesystem), but there is actually a specific type for that purpose - 8200 (Linux swap). Should I be using that instead? Everything has been working fine thus far, so I'm not sure if it matters. Actually, all my partitions are encrypted, so maybe it's best to use 8308 (Linux dm-crypt) instead (for normal and swap partitions).
All I've found about the partition type GUID is that it is used to describe the type and general purpose of the partition. But that doesn't really answer it. Where is it used exactly and what happens if I use incorrect type?
Raul Laasner
Offline
Para todos todo, para nosotros nada
Offline
So I gather the partition types are used for automatically generating entries in /etc/fstab and maybe also in /etc/crypttab. I usually edit those files manually anyway so I guess the choice of a partition type doesn't make much difference for me.
Raul Laasner
Offline
It matters in some cases. For example, systemd-boot will refuse to install if the boot and EFI partition do not have the right GUIDs.
EDIT : also, I'm guessing that if the EFI partition does not have the EFI GUID, the firmware may not recognize it as such.
Last edited by SuperBoby (2020-05-18 08:52:52)
Offline