Closed schaefi closed 6 months ago
Do we want the partition UUID and the type UUID to be the same? I don't think so... I think the idea here is that we only set the type UUID, right @kraxel?
I think it looks inconsistent if the typecode and the GUID are different. If they vary systemd-boot as an example would be able to identify the root device and boot from it, but the same device would have a different /dev/disk/by-partuuid
device node name. So I did that for consistency and think it doesn't hurt
Well it creates the problem that Linux will get confused when trying to enumerate partitions when multiple formatted disks are present.
ah yes you are right, because the ID's are no longer unique
I will adapt ... tomorrow ;) late here
Do we want the partition UUID and the type UUID to be the same? I don't think so... I think the idea here is that we only set the type UUID, right @kraxel?
Yes. The Type-UUID specified what kind of partition this is, and the UUID should be unique for each partition. I think sfdisk already generates a UUID when creating a gpt entry , so there should be nothing to do.
ok, so the updated patch should address it correctly now
Make sure GUI and typecode are set. This Fixes #2517