Opened 18 months ago

Last modified 17 months ago

#18047 new bug

Partition parsing in the UEFI boot loader has a different behavior compared to BIOS (CSM)

Reported by: oco Owned by: jessicah
Priority: normal Milestone: Unscheduled
Component: Partitioning Systems/GPT Version: R1/beta3
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I use to boot an Haiku partition on the main disk of my laptop using an USB stick.

With hrev56580, i have noticed that i can boot in two different ways (there is now two partitions on the USB stick). If i am not mistaken, one is plain UEFI boot loader. The other partition use the legacy BIOS (CSM is activated in my BIOS).

In the UEFI mode, partitions are parsed correctly and i can choose in the boot loader the partitions on the main disk to boot from.

But in the BIOS mode, there is an error while parsing the same disk only the USB stick partition is listed (see errors in the logs on the attached photo).

You might ask why i would use BIOS mode but unfortunately, native screen resolution is not proposed in the UEFI mode while i can choose the appropriate video mode in the legacy BIOS boot loader.

Attachments (1)

IMG_20221105_210726.jpg (3.8 MB ) - added by oco 18 months ago.

Change History (6)

by oco, 18 months ago

Attachment: IMG_20221105_210726.jpg added

comment:1 by korli, 18 months ago

is it a regression?

comment:2 by nephele, 18 months ago

Component: - GeneralPartitioning Systems/GPT
Owner: changed from nobody to jessicah

comment:3 by jessicah, 18 months ago

No, I don't think it's a regression, the code in UEFI is slightly different due to how the UEFI loader is on the ESP, not the Haiku boot partition.

comment:4 by jessicah, 18 months ago

The "failed to scan it" is weird though. Sounds like perhaps there's a corrupted GPT. I'd recommend using gptfdisk/gdisk on Linux or such to check the status of the GPT.

comment:5 by dsizzle, 17 months ago

deleted comment

Last edited 17 months ago by dsizzle (previous) (diff)
Note: See TracTickets for help on using tickets.