Skip to content

fix(boot): repair GRUB advanced menu rendering and launch state - #143

Merged
Leonmmcoset merged 1 commit into
mainfrom
codex/fix-grub-advanced-menu
Dec 5, 2026
Merged

Leonmmcoset merged 1 commit into
mainfrom
codex/fix-grub-advanced-menu

Conversation

@Leonmmcoset

Copy link
Copy Markdown
Collaborator

Opening Advanced options could display a GRUB theme error, and selecting its diagnostic entries could silently return to the menu because the submenu lost the selected release and boot health state.

  • Remove the invalid selected_item_pixmap_style = "none" pattern. Supply a one-pixel background matching the existing solid color so GRUB has a valid background bitmap, and stage the PNG decoder for BIOS and UEFI.
  • Export the selected release, confirmation/attempt state, and candidate slot values needed by the launch guard inside a submenu. Keep the existing confirmation and fallback checks.
  • Add a QEMU menu regression tool that exercises the production theme, submenu, selection functions and exports with validated-state fixtures and intercepted kernel launch commands.

Validation: GRUB syntax checks; all 20 build regression suites; real EFI/BIOS boot-file staging; QEMU BIOS and UEFI menu navigation, back/re-enter, all four advanced entries, and fallback to a confirmed slot. The QEMU fixture checks selected paths and boot arguments without booting an OS. Full production image and VMware startup were not tested. Existing installations require updated boot files; newly built images include the fix.

@Leonmmcoset
Leonmmcoset merged commit 221d9e5 into main Dec 5, 2026
8 checks passed
@Leonmmcoset
Leonmmcoset deleted the codex/fix-grub-advanced-menu branch December 5, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants