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:
2026-05-04 00:46:48 +01:00
parent b9874d0941
commit bbd0bd0ffd
3 changed files with 204 additions and 2 deletions
-1
View File
@@ -411,7 +411,6 @@ requires_weak = [
cmd = "getty"
args = ["/scheme/debug/no-preserve", "-J"]
type = "oneshot_async"
respawn = true
"""
[[files]]