Boot broken after GRUB repair?

Hey there!

I was one of the many affected by the recent grub problems.To fix that, I followed a post here, on garuda forum with instructions to repair it.
However, with grub being fixed, I think it introduced a whole new set of problems.
It's been a long time, yeah, but I wasn't using this machine too much since, but now I'm back home and need to fix that.

The most strange thing is how I should turn my computer on.
If I just idle and wait for it to boot, usually it gives that grub error or just black screen. However, sometimes it does boot into some kind of grub, which is not decorated (like garuda dragon on the back and stuff) and then 50/50 it boots.
The only reliable way of booting my machine is to enter boot menu directly (pressing F12 on startup) and choosing (3) garuda linux from the options there:

  1. UEFI OS (Samsung SSD 980 1TB)
  2. Samsung SSD 980 1TB
  3. garuda (Samsung SSD 980 1TB)

Choosing anything else leads to permanent black screen/infinite load.
This option leads to a nice garuda customized grub and loads fine.

Now the strangest thing is that if I enter the BIOS first, and choose the same option from there, it leads to this undecorated grub I mentioned before, and usually doesn't boot.

Apart from that, even when I boot, everything became kind of laggy since then, but I'm not sure this is related (still a noticeable coincidence).

So, summary:

  1. I guess there are TWO grubs somehow on my machine? One is the buggy old one and one is the updated one?
  2. Very specific steps should be taken to even turn my machine on
  3. Laggy performance on every level after booting (like, 70% of the time)

What should I do to diagnose the problems and solve them?

Thanks!

garuda-inxi
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=d4f24890-497a-4b6f-bb80-b3374410998b rw rootflags=subvol=@
    quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    systemd.unified_cgroup_hierarchy=1
    resume=UUID=97fa3e3b-b2f7-493c-94c8-2f34455cf554 loglevel=3
  Desktop: KDE Plasma v: 5.26.0 tk: Qt v: 5.15.6 info: latte-dock
    wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: B550 AORUS PRO AX
    serial: <superuser required> UEFI: American Megatrends LLC. v: F16a
    date: 02/16/2022
CPU:
  Info: model: AMD Ryzen 5 5600G with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22 process: TSMC n7
    (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000C
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 4096 high: 4453 min/max: 1400/4464 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 4437 2: 3811
    3: 4442 4: 4440 5: 3536 6: 4354 7: 3900 8: 3900 9: 4453 10: 4433 11: 3900
    12: 3548 bogomips: 93426
  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 status: Not affected
  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, IBRS_FW,
    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 Cezanne vendor: Gigabyte driver: amdgpu v: kernel
    arch: GCN-5.1 code: Vega-2 process: TSMC n7 (7nm) built: 2018-21 pcie:
    gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
    active: HDMI-A-1 empty: none bus-ID: 06:00.0 chip-ID: 1002:1638
    class-ID: 0300 temp: 43.0 C
  Device-2: GEMBIRD USB2.0 PC CAMERA type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 3-2.1:3 chip-ID: 1908:2310
    class-ID: 0102
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
    compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: Idek Iiyama PL2492H
    serial: <filter> built: 2021 res: 1920x1080 hz: 60 dpi: 93 gamma: 1.2
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  OpenGL: renderer: RENOIR (renoir 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 Renoir Radeon High Definition Audio driver: snd_hda_intel
    v: kernel pcie: bus-ID: 3-2.1:3 gen: 3 chip-ID: 1908:2310 speed: 8 GT/s
    class-ID: 0102 lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 06:00.1
    chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD Family 17h/19h HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 06:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  Device-3: GEMBIRD USB2.0 PC CAMERA type: USB
    driver: snd-usb-audio,uvcvideo
  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: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: f000 bus-ID: 03:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp3s0 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp4s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-5:2 chip-ID: 8087:0029 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
Drives:
  Local Storage: total: 931.51 GiB used: 528.71 GiB (56.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 1B4QFXO7
    temp: 39.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 914.67 GiB size: 914.67 GiB (100.00%) used: 528.71 GiB
    (57.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 592 KiB
    (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 914.67 GiB size: 914.67 GiB (100.00%) used: 528.71
    GiB (57.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 914.67 GiB size: 914.67 GiB (100.00%) used: 528.71
    GiB (57.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 914.67 GiB size: 914.67 GiB (100.00%) used: 528.71
    GiB (57.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 14.98 GiB used: 7.41 GiB (49.5%)
    priority: 100 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 16.54 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 59.1 C mobo: 28.0 C gpu: amdgpu temp: 42.0 C
  Fan Speeds (RPM): fan-1: 0 fan-2: 0 fan-3: 637
  Power: 12v: N/A 5v: N/A 3.3v: 1.69 vbat: 1.59
Info:
  Processes: 355 Uptime: 6m wakeups: 0 Memory: 14.98 GiB used: 6.05 GiB
  (40.4%) Init: systemd v: 251 default: graphical tool: systemctl
  Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman pkgs: 2612
  libs: 590 tools: octopi,paru Shell: fish v: 3.5.1 default: Bash v: 5.1.16
  running-in: yakuake inxi: 3.3.22
e[1;34mGaruda (2.6.8-1):e[0m
e[1;34m  System install date:e[0m     2021-11-16
e[1;34m  Last full system update:e[0m 2022-10-16 e[1;31m↻
e[1;34m  Is partially upgraded:  e[0m No
e[1;34m  Relevant software:      e[0m NetworkManager
e[1;34m  Windows dual boot:      e[0m No/Undetected
e[1;34m  Snapshots:              e[0m Snapper
e[1;34m  Failed units:           e[0m 

What is the post you followed? It does not sound like the issue has been fixed. Have you reinstalled Grub yet?

This could be anything. Check your logs. If something is broken and spamming the journal with errors, that can chew at the CPU.

Hey!

If I remember correctly, this was that How to chroot Garuda Linux article.

I'm now wondering if I made a mistake at some point and now my boot partition is borked.

It sounds like it might be worth reinstalling Grub again.

If you can boot into the system, it's as simple as running grub-install (much easier than the whole chroot from live media process).

Before you do, clean up unwanted boot entries with efibootmgr. If this is your only system on the machine (i.e. not dual-booting), I would go ahead and delete all of them since you have a few broken ones. grub-install will automatically create a new EFI boot entry after it runs.

4 Likes

Thanks, mate!

I deleted all entries through efibootmgr -b 000x -B (had 3 of them with x={0,1,3}).
After that, I did sudo grub-install and it boots fast and good now!

2 Likes

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