Grub doesn't detect garuda after upgrade

I just upgrade my system using but for some reason after that, once I boot again garuda was no more on the grub options. The snapshots are there, so I booted the version prior to the upgrade and restore it. I upgrade again assuming that for some reason grub didn't got upgraded and run sudo update-grub, the output says that the snapshots are detected, but no mention of garuda.

The output of update-grub is:

Generating grub configuration file ...
Found theme: /usr/share/grub/themes/garuda/theme.txt
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2022-12-10 09:56:26 | @/.snapshots/3305/snapshot | pre  | pacman --sync -y -u --                                                   |
Found snapshot: 2022-12-10 02:40:37 | @/.snapshots/3304/snapshot | post | archlinux-keyring audacity autopep8 bash-language-server binutils blende |
Found snapshot: 2022-12-10 02:30:20 | @/.snapshots/3303/snapshot | pre  | /usr/bin/pacman -Syu                                                     |
Found snapshot: 2022-12-08 22:59:00 | @/.snapshots/3302/snapshot | post | libreoffice-extension-writer2latex                                       |
Found snapshot: 2022-12-08 22:58:56 | @/.snapshots/3301/snapshot | pre  | /usr/bin/pacman -S community/libreoffice-extension-writer2latex          |
Found snapshot: 2022-12-08 22:51:22 | @/.snapshots/3300/snapshot | post | pulsar-bin                                                               |
Found snapshot: 2022-12-08 22:50:08 | @/.snapshots/3299/snapshot | pre  | pacman --upgrade --noconfirm -- /home/franky/.cache/paru/clone/pulsar-bi |
Found 7 snapshot(s)
Unmount /tmp/grub-btrfs.znbILsRanp .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

When I compare the /boot directories from the snapshot and the after upgrade, I see that vmlinuz-linux-zen is not there. Among upgrade packages, linux-zen 6.0.11.zen1-1 was one of them.

Could you please check in your BIOS if it is set to boot to Garuda in the boot options?

The bios boots the GRUB as always. Actually I am not on dual boot, Garuda is my only OS.

Do you update with garuda-update?
Just asking because the initial sentence seems truncated. This is important, due to some recent changes.

1 Like

I used paru to upgrade, I didn't knew that garuda-update was a thing until today that I started to search for this bug on other's posts.

1 Like

Try restoring the latest working snapshot again and then garuda-update
It can be used also to update AUR packages.

2 Likes

Do you mind also providing your Garuda inxi as well as the complete update terminal log?

3 Likes

Here it is:

System:
  Kernel: 6.0.9-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=57bfd257-df50-470b-9076-4a717cc9f164 rw [email protected]
    quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    systemd.unified_cgroup_hierarchy=1
    resume=UUID=483b6e5f-22d5-4187-a4c3-4f2fb01da0ea loglevel=3
  Desktop: MATE v: 1.26.0 info: mate-panel wm: marco v: 1.26.0 vt: 7
    dm: LightDM v: 1.32.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: Z390M Pro4 serial: <superuser required>
    UEFI: American Megatrends v: P4.10 date: 05/03/2019
CPU:
  Info: model: Intel Core i7-9700 bits: 64 type: MCP arch: Coffee Lake
    gen: core 9 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 0xD (13) microcode: 0xF4
  Topology: cpus: 1x cores: 8 smt: <unsupported> cache: L1: 512 KiB
    desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB L3: 12 MiB
    desc: 1x12 MiB
  Speed (MHz): avg: 3000 min/max: 800/4700 scaling: driver: intel_pstate
    governor: performance cores: 1: 3000 2: 3000 3: 3000 4: 3000 5: 3000 6: 3000
    7: 3000 8: 3000 bogomips: 48000
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT disabled
  Type: retbleed mitigation: Enhanced IBRS
  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: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2070 Rev. A] vendor: ASUSTeK
    driver: nvidia v: 520.56.06 alternate: nouveau,nvidia_drm non-free: 520.xx+
    status: current (as of 2022-10) arch: Turing code: TUxxx
    process: TSMC 12nm built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:1f07
    class-ID: 0300
  Device-2: Logitech HD Pro Webcam C920 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-11:5 chip-ID: 046d:082d
    class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 21.1.99
    compositor: marco v: 1.26.0 driver: N/A display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1200 s-dpi: 93 s-size: 524x321mm (20.63x12.64")
    s-diag: 615mm (24.19")
  Monitor-1: DP-2 res: 1920x1200 hz: 60 dpi: 94
    size: 518x324mm (20.39x12.76") diag: 611mm (24.05") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 520.56.06 renderer: NVIDIA GeForce RTX
    2070/PCIe/SSE2 direct render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: ASRock driver: snd_hda_intel
    v: kernel bus-ID: 1-11:5 chip-ID: 046d:082d
    alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    class-ID: 0102 chip-ID: 8086:a348 serial: <filter> class-ID: 0403
  Device-2: NVIDIA TU106 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:10f9 class-ID: 0403
  Device-3: Logitech HD Pro Webcam C920 type: USB
    driver: snd-usb-audio,uvcvideo
  Sound API: ALSA v: k6.0.9-zen1-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.60 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: ASRock driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15bc class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Ralink RT2870/RT3070 Wireless Adapter type: USB
    driver: rt2800usb bus-ID: 1-9:4 chip-ID: 148f:3070 class-ID: 0000
    serial: <filter>
  IF: wlp0s20f0u9 state: up mac: <filter>
Drives:
  Local Storage: total: 931.51 GiB used: 830.72 GiB (89.2%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000DM003-1CH162
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 7200 serial: <filter> rev: CC47 scheme: GPT
Partition:
  ID-1: / raw-size: 130 GiB size: 130 GiB (100.00%) used: 104.82 GiB (80.6%)
    fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 592 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 766.82 GiB size: 766.82 GiB (100.00%)
    used: 725.9 GiB (94.7%) fs: btrfs dev: /dev/sda4 maj-min: 8:4
  ID-4: /var/log raw-size: 130 GiB size: 130 GiB (100.00%)
    used: 104.82 GiB (80.6%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 130 GiB size: 130 GiB (100.00%)
    used: 104.82 GiB (80.6%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 31.27 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 34.4 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda3 maj-min: 8:3
Sensors:
  System Temperatures: cpu: 43.0 C pch: 41.0 C mobo: N/A gpu: nvidia
    temp: 44 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
  Processes: 310 Uptime: 31m wakeups: 1 Memory: 31.27 GiB used: 4 GiB (12.8%)
  Init: systemd v: 252 default: graphical tool: systemctl Compilers:
  gcc: 12.2.0 alt: 10/11 clang: 14.0.6 Packages: 3593 pm: pacman pkgs: 3584
  libs: 610 tools: octopi,pamac,paru pm: flatpak pkgs: 9 Shell: Zsh v: 5.9
  running-in: terminator inxi: 3.3.23
Garuda:
  System install date:     2021-12-06
  Last full system update: 2022-11-28
  Is partially upgraded:   Yes
  Using TLP:               No
  Windows dual boot:       No/Undetected
  Snapshots:               Snapper

Currently I am trying to do a partial upgrade (upgrading packages I assume have nothing to do with this like librewolf, etc.) to create a btrfs stapshot where going backward and upgrade stops being time consuming.

You really need to update and reboot.

2 Likes

Please update and copy paste your entire update log onto bin.garudalinux.org, do not reboot until further instructions please.

1 Like

I don't know how to get the update log. However, I have upgraded every package with the exception of:

lib32-nvidia-utils-525.60.11-1 lib32-opencl-nvidia-525.60.11-1 lib32-systemd-252.3-1 linux-firmware-20221109.60310c2-2 linux-firmware-whence-20221109.60310c2-2 linux-zen-6.0.12.zen1-1 linux-zen-headers-6.0.12.zen1-1 nvidia-dkms-525.60.11-1 nvidia-settings-525.60.11-2 nvidia-utils-525.60.11-1 opencl-nvidia-525.60.11-1 systemd-252.3-1 systemd-libs-252.3-1 systemd-sysvcompat-252.3-1 wayland-1.21.0-2 wayland-protocols-1.31-1 webkit2gtk-4.1-2.38.2-2 xorg-xinit-1.4.2-1 xorg-xkbcomp-1.4.6-1 xorg-xprop-1.2.6-1 xorg-xrandr-1.5.2-1 xorg-xset-1.2.5-1 xterm-377-1 xxhash-0.8.1-3 xz-5.2.9-1 yad-12.1-1 zlib-1:1.2.13-2

I skipped this ether because I think the problem is within one of them or because I don't want to partially upgrade xorg/nvidia/wayland without upgrading the kernel.

At this point, even if I upgrade with garuda-update the grub stops recognizing Garuda.

Copy paste into a pastebin service?

He might be asking for the name and location of the upgrade log. Are you needing the /var/log/pacman.log or does garuda-update have its own log?

I don't want that log I literally just want the copy pasted log from the terminal :stuck_out_tongue:

I understand, TY, you want him to copy the output he gets when running Garuda-update (aka upd).

I just updated and here is the update log:

(12/21) Updating linux initcpios...
call to execv failed (No such file or directory)
error: command failed to execute correctly

Alright, there is your issue.

At this point, I have good reason to believe you messed your pacman.conf file up and that is causing your issues.

Run garuda-update remote fix followed by garuda-update -- linux-zen to get back on track.

3 Likes

I did that, but I got

error: failed to commit transaction (conflicting files)
expect: /usr/bin/mkpasswd exists in filesystem (owned by whois)
expect: /usr/share/man/man1/mkpasswd.1.gz exists in filesystem (owned by whois)
Errors occurred, no packages were upgraded.

Here is my pacman.conf, I modified when I installed Garuda and I have not modified since then.

In-fact the [Garuda] repository (linked to chaotic-aur mirrorlist) is missing there.
Too bad, there was an announcement explicitely requiring to launch garuda-update for that change.

1 Like