Skip to content

install: Refuse configured systemd-boot on non-EFI hosts - #147

Draft
cgwalters-bot wants to merge 1 commit into
cgwalters-forge:mainfrom
cgwalters-bot:dispatch/implement/agent-run-44895053212
Draft

cgwalters-bot wants to merge 1 commit into
cgwalters-forge:mainfrom
cgwalters-bot:dispatch/implement/agent-run-44895053212

Conversation

@cgwalters-bot

Copy link
Copy Markdown
Collaborator

Executive summary

Installing alongside a BIOS-booted system with systemd-boot selected can remove the old boot files without leaving a bootable replacement. Reject systemd-boot from the install config or --bootloader before to-existing-root or alongside to-filesystem touches /boot or the ESP, and suggest --bootloader grub. This leaves to-disk and automatic bootloader detection unchanged.

All 345 bootc-lib unit tests passed. BIOS refusal and reboot coverage was not run: the existing VM install path selects UEFI, and this runner lacks the VM test tools.

Review: two passes, no remaining blockers; verifying that the old system reboots on a BIOS guest remains a follow-up.

Delivering this to atomic-linux requires carrying the change onto the fork’s cgwalters branch and publishing a forge-<sha12> prerelease. Neither is part of this PR.

Part of #145

Closes #145

Generated by dispatch · ◷

## Executive summary

Installing alongside a BIOS-booted system with systemd-boot selected can remove the old boot files without leaving a bootable replacement. Reject systemd-boot from the install config or `--bootloader` before `to-existing-root` or alongside `to-filesystem` touches `/boot` or the ESP, and suggest `--bootloader grub`. This leaves `to-disk` and automatic bootloader detection unchanged.

All 345 `bootc-lib` unit tests passed. BIOS refusal and reboot coverage was not run: the existing VM install path selects UEFI, and this runner lacks the VM test tools.

Review: two passes, no remaining blockers; verifying that the old system reboots on a BIOS guest remains a follow-up.

Delivering this to atomic-linux requires carrying the change onto the fork’s `cgwalters` branch and publishing a `forge-<sha12>` prerelease. Neither is part of this PR.

Part of cgwalters-forge#145

Assisted-by: https://github.com/cgwalters/cgwalters#llms
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.

1 participant