GRUB Broken after update, multiple EFI bootloaders present

I have an encrypted install of Garuda on my nvme0 drive. I recently rebooted my system after a long period of constant uptime and several updates and had issues with grub. I followed the instructions found on Grub fails after update - #2 by librewish (besides the step to mount /dev/sdxy to /mnt, since the partition is encrypted I needed to cryptsetup luksOpen the partition then mount the mapper), to boot into a live cd and update grub, then rebooted, but I was still encountering issues with grub (this time it was about the drive not being recognized). After booting the livecd again, I noticed it had an option to detect efi boot loaders, and when I selected that it gave me two options, one in EFI/boot and one in EFT/Garuda. When I select the boot one I have issues with grub, when I select the Garuda one it boots as expected. After manually selecting the bootloader in /EFI/Garuda I was able to log in as normal and check the contents of /boot/efi/EFI with ls -l. /boot/efi/EFI/boot contains bootx64.efi, which has not been updated since the date I installed garuda. /boot/efi/EFI/Garuda contains grubx64.efi, which was updated on October 14, 2022 (today's date).

Does anyone have advice on how I can get my system to boot to the functioning boot loader without having to use a live cd to manually select it? If I can safely get rid of the old boot loader that doesn't work that would be good too.

System:
Kernel: 6.0.1-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=c1150b4d-37fd-45ba-891c-c970b4133d9c rw rootflags=subvol=@
amd_iommu=on vfio-pci.ids=1002:687f,1002:aaf8 iommu=pt video=efifb:off
cryptdevice=UUID=fdeba41a-daf3-4497-ad26-81235b8d841f:luks-fdeba41a-daf3-4497-ad26-81235b8d841f
root=/dev/mapper/luks-fdeba41a-daf3-4497-ad26-81235b8d841f splash
rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1
resume=/dev/mapper/luks-317c8a85-28be-4c8e-b38d-98f1eb5cd257 loglevel=3
video=efif:off
Desktop: KDE Plasma v: 5.26.0 tk: Qt v: 5.15.6 wm: kwin_x11 vt: 1
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: ROG STRIX X570-F GAMING v: Rev X.0x
serial: UEFI: American Megatrends v: 4403
date: 04/27/2022
CPU:
Info: model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 2 gen: 3
level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701021
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 32 MiB desc: 2x16 MiB
Speed (MHz): avg: 3148 high: 4100 min/max: 2200/5041 boost: disabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 4099 2: 2200
3: 4095 4: 4099 5: 2200 6: 4080 7: 2200 8: 2200 9: 2200 10: 4099 11: 2200
12: 4099 13: 4100 14: 2200 15: 2200 16: 4100 bogomips: 131204
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
protection
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
always-on, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M] vendor: Tul
/ PowerColor driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s
lanes: 16 ports: active: DP-2,DP-3,HDMI-A-1 empty: DP-1 bus-ID: 0c:00.0
chip-ID: 1002:73df class-ID: 0300
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting,radeon
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 7040x1440 s-dpi: 96 s-size: 1862x381mm (73.31x15.00")
s-diag: 1901mm (74.83")
Monitor-1: DP-2 mapped: DisplayPort-1 pos: right model: BenQ LCD
serial: built: 2016 res: 2560x1440 hz: 60 dpi: 123 gamma: 1.2
size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
max: 2560x1440 min: 720x400
Monitor-2: DP-3 mapped: DisplayPort-2 pos: primary,center
model: Samsung C27HG7x serial: built: 2033 res: 2560x1440 hz: 144
dpi: 109 gamma: 1.2 size: 598x336mm (23.54x13.23") diag: 686mm (27")
ratio: 16:9 modes: max: 2560x1440 min: 720x400
Monitor-3: HDMI-A-1 mapped: HDMI-A-0 pos: primary,left model: Asus VE228
serial: built: 2014 res: 1920x1080 dpi: 102 gamma: 1.2
size: 477x268mm (18.78x10.55") diag: 547mm (21.5") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
OpenGL: renderer: AMD Radeon RX 6700 XT (navi22 LLVM 14.0.6 DRM 3.48
6.0.1-zen2-1-zen) v: 4.6 Mesa 22.2.1 direct render: Yes
Audio:
Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel
pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 0c:00.1 chip-ID: 1002:ab28
class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 0e:00.4 chip-ID: 1022:1487 class-ID: 0403
Sound API: ALSA v: k6.0.1-zen2-1-zen running: yes
Sound Interface: sndio v: N/A running: no
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.59 running: yes
Network:
Device-1: Qualcomm Atheros AR9462 Wireless Network Adapter vendor: Foxconn
driver: ath9k v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
bus-ID: 05:00.0 chip-ID: 168c:0034 class-ID: 0280
IF: wlp5s0 state: down mac:
Device-2: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 06:00.0
chip-ID: 8086:1539 class-ID: 0200
IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac:
IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
Bluetooth:
Device-1: Foxconn / Hon Hai type: USB driver: btusb v: 0.8 bus-ID: 3-6:5
chip-ID: 0489:e076 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 1 state: up address:
Drives:
Local Storage: total: 3.41 TiB used: 1.09 TiB (32.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Sabrent model: Rocket 4.0 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B
speed: 63.2 Gb/s lanes: 4 type: SSD serial: rev: RKT401.3
temp: 51.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:4 model: PCIe SSD size: 931.51 GiB
block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4
type: SSD serial: rev: EHFM31.1 temp: 50.9 C scheme: MBR
ID-3: /dev/sda maj-min: 8:0 vendor: A-Data model: SP550 size: 223.57 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD
serial: rev: 3B5a
ID-4: /dev/sdb maj-min: 8:16 vendor: Mushkin model: MKNSSDCR480GB-7-A
size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: rev: BBF0
ID-5: /dev/sdc maj-min: 8:32 vendor: Samsung model: SSD 860 EVO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: rev: 2B6Q scheme: MBR
ID-6: /dev/sdd maj-min: 8:48 type: USB vendor: SanDisk model: Cruzer Fit
size: 28.65 GiB block-size: physical: 512 B logical: 512 B type: N/A
serial: rev: 1.00 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: 896.76 GiB size: 896.76 GiB (100.00%) used: 816.36 GiB
(91.0%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-fdeba41a-daf3-4497-ad26-81235b8d841f
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 736 KiB
(0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 896.76 GiB size: 896.76 GiB (100.00%) used: 816.36
GiB (91.0%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-fdeba41a-daf3-4497-ad26-81235b8d841f
ID-4: /var/log raw-size: 896.76 GiB size: 896.76 GiB (100.00%) used: 816.36
GiB (91.0%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-fdeba41a-daf3-4497-ad26-81235b8d841f
ID-5: /var/tmp raw-size: 896.76 GiB size: 896.76 GiB (100.00%) used: 816.36
GiB (91.0%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-fdeba41a-daf3-4497-ad26-81235b8d841f
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.26 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
ID-2: swap-2 type: partition size: 34.45 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/dm-3 maj-min: 254:3
mapped: luks-317c8a85-28be-4c8e-b38d-98f1eb5cd257
Sensors:
System Temperatures: cpu: 45.0 C mobo: 39.0 C gpu: amdgpu temp: 52.0 C
mem: 54.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Info:
Processes: 464 Uptime: 7m wakeups: 0 Memory: 31.26 GiB used: 5.45 GiB
(17.4%) Init: systemd v: 251 default: graphical tool: systemctl
Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman pkgs: 2018
libs: 515 tools: octopi,paru pm: flatpak pkgs: 0 Shell: fish v: 3.5.1
default: Bash v: 5.1.16 running-in: yakuake inxi: 3.3.22
Garuda (2.6.8-1):
System install date: 2021-12-15
Last full system update: 2022-10-14
Is partially upgraded: No
Relevant software: NetworkManager
Windows dual boot: No/Undetected
Snapshots: Snapper (maybe)
Failed units:

Just change the EFI boot order in your UEFI setup utility. Otherwise you can also just change it using efibootmgr, which you should already have installed.

1 Like

Thanks for the advice. Changing the boot order in my motherboard's bios/uefi didn't work because it doesn't have options to pick which boot loader to use when there are multiple on the same partition (I don't think I have ever seen one that does, but I haven't tried using multiple boot loaders on one partition and I mostly use Asus boards), but I was able to change the order with efibootmgr and was able to log in without the need for a live cd after a reboot

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.