fix: GPT partition offset parsing in bootloader + remove invalid respawn field
Bootloader hardcoded RedoxFS partition offset at 2 MiB, which fails when efi_partition_size > 1 (redbear-full, redbear-grub use 16 MiB, placing RedoxFS at LBA 34816 = 17 MiB). Added GPT partition table parser that scans for Linux filesystem GUID (0FC63DAF) to find the actual offset. Also removed invalid 'respawn = true' from 31_debug_console.service in redbear-full.toml — init's service format does not support this field. Verified: all three ISOs boot in QEMU UEFI and reach login prompt.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/bootloader.git"
|
||||
patches = ["redox.patch", "fix-uefi-alloc-panic.patch"]
|
||||
patches = ["redox.patch", "fix-uefi-alloc-panic.patch", "P0-gpt-partition-offset.patch"]
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
|
||||
Reference in New Issue
Block a user