halkyon/deploy/host/grub-halkyon.cfg
Tizian 「ティツィアーン」 0144cea380
fix(deploy): dropbear at boot on initramfs-tools, with dracut's image as the way back (ADR 0039, D20)
Ubuntu 26.04 builds its boot images with dracut, and dropbear-initramfs needs
initramfs-tools, which replaces it. The host's step 2 now installs
initramfs-tools with cryptsetup-initramfs beside dropbear, sets the boot
image's address in a conf.d file of its own, and checks every new image for
what opens the disk, dropbear, its key and the adapter's driver before any
reboot. Before switching, dracut's image of the running kernel is kept as an
entry in GRUB's menu (shown 5 s, the boot in text), so a failed image is
undone at the iMac without a USB stick.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-11-08 22:07:21 +01:00

7 lines
383 B
INI

# GRUB on the instance's host at home (ADR 0039, D20), as /etc/default/grub.d/halkyon.cfg:
# its menu shown for 5 seconds, so that at the iMac the way back (grub-dracut-fallback)
# can be chosen, and the boot in text, without a splash: no desktop, and the
# passphrase's prompt is plain on the screen as over SSH.
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=5
GRUB_CMDLINE_LINUX_DEFAULT=""