Opened 2 months ago

Last modified 2 months ago

#14839 assigned enhancement

DriveSetup doesn't modify GPT UUID Partition code when formating Haiku partition

Reported by: smallstepforman Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Applications/DriveSetup Version: R1/Development
Keywords: GPT UUID Partition Code Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Using DriveSetup, when formating an existing partition as a BeFS partition (ie. without creating new paritions first), DriveSetup doesnt modify the GPT UUID partition code. The GPT table will still maintain the previous OS partition code, and the EFI loader would struggle to identify a Haiku partition (I have to manually scan for bootable devices every boot, and play with safe mode settings to get 2 in 3 chances of booting. Once I discovered this issue, I used gdisk (a GPT version of fdisk) to modify the GPT UUID partition code to Haiku (42465331-3BA3-10F1-802A-4861696B7521, from https://en.wikipedia.org/wiki/GUID_Partition_Table 1). Once I fixed the GPT UUID parition code, Haiku's EFI loader would boot perfectly 100% of the time.

The Drive Setup tool would need to be updated so that it writes the GPT UUID partition code of Haiku (42465331-3BA3-10F1-802A-4861696B7521) when formatting a Haiku disk.

Change History (1)

comment:1 Changed 2 months ago by stippi

Owner: changed from stippi to nobody
Status: newassigned

Thank you for logging the ticket and documenting your findings so throughroughly. This is very helpful info. I will however unassign this ticket from myself, since I haven't actually been involved in this particular part of the code.

Note: See TracTickets for help on using tickets.