GRUB Deep Dive
The regeneration ritual
Edits land in /etc/default/grub + /etc/grub.d/*; NOTHING takes effect until:
sudo grub-mkconfig -o /boot/grub/grub.cfg
grub-editenv list # tracked state (failover flags etc.)
Common edits
# /etc/default/grub
GRUB_TIMEOUT=5 # menu seconds (0 hidden unless Shift held)
GRUB_DEFAULT=saved # remember last choice:
GRUB_SAVEDEFAULT=true
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" # everyday params
GRUB_CMDLINE_LINUX="resume=UUID=..." # always-present params
GRUB_DISABLE_OS_PROBER=false # keep Windows detection active
One-off kernel param test without permanent change: press e at menu, edit linux line, F10 boots THIS time only.
Theme & resolution
AcreetionOS ships branded GRUB bits under /boot/grub/themes/. Resolution quirks: GRUB_GFXMODE=1920x1080,auto + GRUB_GFXPAYLOAD_LINUX=keep.
Rescue ladder
| You see | Do |
|---|---|
grub> prompt |
|
No GRUB at all |
Boot ISO → Recovery Environment → Boot repair, or manual chroot: Chroot Rescue Guide |
Manual reinstall inside chroot:
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=AcreetionOS
grub-install --target=i386-pc /dev/sda # BIOS variant
grub-mkconfig -o /boot/grub/grub.cfg
Failover behavior (ACRECOVERY integration)
grubenv records failed boots; consecutive failures chainload the recovery partition automatically (Managing the ACRECOVERY Partition). Clear flags manually: grub-editenv /boot/grub/grubenv unset recordfail.