summaryrefslogtreecommitdiffstats
path: root/hacks/ubuntu
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-07-25 23:58:48 +0200
committerAhmed Abdelhalim <[email protected]>2026-07-25 23:58:48 +0200
commit504296802f3993459d13d82fdc67aa7d8bf8c8ca (patch)
tree78184034cd0afba5649e51cead88eacebc9e6904 /hacks/ubuntu
parentd008d693ca16960dc65127b44b9c09384fa08f16 (diff)
Fix Mac dual-boot rEFInd never showing OS entries
A legacy NVRAM entry (registered by an old refind-install run before --usedefault existed) points at EFI/refind/, a copy this role used to maintain for "Mac NVRAM compatibility". That mirroring predates the refind.conf split into per-distro includes (ubuntu.conf/archlinux.conf) and was never updated to copy them too, so the entry Mac actually boots by default could never show any OS menu entries. Drop the EFI/refind mirroring entirely and manage one explicit NVRAM entry pointing at EFI/BOOT/bootx64.efi instead: delete any existing "rEFInd Boot Manager" entries and recreate exactly one every run, so it never accumulates duplicates and self-heals whenever the partition GUID changes after a disk wipe. Avoids relying on Mac firmware's undocumented and noticeably slower fallback boot scan. Co-Authored-By: Claude.ai
Diffstat (limited to 'hacks/ubuntu')
0 files changed, 0 insertions, 0 deletions