Hi Forum, I have a problem with my Garuda installation.
I recently updated my system, but it broke. I can’t boot into the Garuda system.
I have read that I could restore my system using a live boot image and the „snapshots“ tool. However, I’m not seeing a button in the boot screen
If anyone could help me with getting my system back, would be awesome!
Garuda-inxi of the live boot:
System:
Kernel: 5.19.2-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
misobasedir=garuda misolabel=GARUDA_DR460NIZED_TALON quiet
systemd.show_status=1 driver=free nouveau.modeset=1 i915.modeset=1
radeon.modeset=1
Desktop: KDE Plasma v: 5.25.4 tk: Qt v: 5.15.5 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 80Q7 v: Lenovo ideapad 300-15ISK
serial: <superuser required> Chassis: type: 10 v: Lenovo ideapad 300-15ISK
serial: <superuser required>
Mobo: LENOVO model: Paris 5A8 v: SDK0J40709 WIN
serial: <superuser required> UEFI-[Legacy]: LENOVO v: D5CN47WW
date: 09/08/2016
Battery:
ID-1: BAT0 charge: 20.4 Wh (100.0%) condition: 20.4/30.1 Wh (67.8%)
volts: 16.2 min: 14.4 model: SANYO L15S4A01 type: Li-poly serial: <filter>
status: full
CPU:
Info: model: Intel Core i7-6500U bits: 64 type: MT MCP arch: Skylake
gen: core 6 built: 2015 process: Intel 14nm family: 6 model-id: 0x4E (78)
stepping: 3 microcode: 0xF0
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
L3: 4 MiB desc: 1x4 MiB
Speed (MHz): avg: 1125 high: 2600 min/max: 400/3100 scaling:
driver: intel_pstate governor: powersave cores: 1: 2600 2: 700 3: 600
4: 600 bogomips: 20799
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 mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: retbleed mitigation: 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: IBRS, IBPB: conditional, RSB filling,
PBRSB-eIBRS: Not affected
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Lenovo driver: i915
v: kernel arch: Gen-9 process: Intel 14n built: 2015-16 ports:
active: HDMI-A-1,eDP-1 empty: DP-1,HDMI-A-2 bus-ID: 00:02.0
chip-ID: 8086:1916 class-ID: 0300
Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 M430 Radeon
520 Mobile] vendor: Lenovo driver: radeon v: kernel alternate: amdgpu
arch: GCN-1 code: Southern Islands process: TSMC 28nm built: 2011-20
pcie: gen: 3 speed: 8 GT/s lanes: 4 link-max: lanes: 8 bus-ID: 03:00.0
chip-ID: 1002:6660 class-ID: 0380
Device-3: Chicony Lenovo EasyCamera type: USB driver: uvcvideo
bus-ID: 1-4:3 chip-ID: 04f2:b50e class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
compositor: kwin_x11 driver: X: loaded: modesetting,radeon
alternate: fbdev,intel,vesa gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 3286x1080 s-dpi: 96 s-size: 869x285mm (34.21x11.22")
s-diag: 915mm (36.01")
Monitor-1: HDMI-A-1 mapped: HDMI-1 pos: right model: Samsung S22F350
serial: <filter> built: 2019 res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2
size: 477x268mm (18.78x10.55") diag: 547mm (21.5") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
Monitor-2: eDP-1 pos: primary,left model: ChiMei InnoLux 0x15c6
built: 2013 res: 1366x768 hz: 60 dpi: 101 gamma: 1.2
size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9
modes: 1366x768
OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 22.1.6
direct render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo
driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_soc_avs
bus-ID: 00:1f.3 chip-ID: 8086:9d70 class-ID: 0403
Sound Server-1: ALSA v: k5.19.2-zen1-2-zen running: yes
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.56 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 4000 bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp1s0 state: down mac: <filter>
Device-2: Intel Dual Band Wireless-AC 3165 Plus Bluetooth driver: iwlwifi
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0
chip-ID: 8086:3166 class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
bus-ID: 1-7:5 chip-ID: 8087:0a2a class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 2 state: up address: <filter>
Drives:
Local Storage: total: 990.11 GiB used: 0 KiB (0.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WD10JPCX-24UE4T0 size: 931.51 GiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
rev: 1A01 scheme: GPT
ID-2: /dev/sdc maj-min: 8:32 type: USB vendor: SMI (STMicroelectronics)
model: USB size: 58.59 GiB block-size: physical: 512 B logical: 512 B
type: N/A serial: <filter> rev: 1100 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
Message: No partition data found.
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 11.55 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 52.0 C pch: 40.5 C mobo: N/A gpu: radeon
temp: 43.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 181 Uptime: 11m wakeups: 1 Memory: 11.55 GiB used: 3.11 GiB
(26.9%) Init: systemd v: 251 default: graphical tool: systemctl
Compilers: gcc: 12.2.0 Packages: pacman: 1178 lib: 302 Shell: fish v: 3.5.1
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.20
warning: database file for 'garuda' does not exist (use '-Sy' to download)
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)
warning: database file for 'chaotic-aur' does not exist (use '-Sy' to download)
Garuda (2.6.6-1):
System install date: 2022-08-26
Last full system update: 2022-08-26 ↻
Is partially upgraded: No
Relevant software: NetworkManager
Windows dual boot: <superuser required>
Snapshots: Snapper
Failed units: snapper-cleanup.service
Kayo
26 August 2022 14:18
2
how did it break? Did it have to do with the recent GRUB update? If so, reinstall GRUB from the live USB. (do not use an old snapshot before doing that as it can break things). More info on the issue in this thread: Stuck in boot loop after update
If it has nothing to do with the GRUB update, you are going to have to fill us in on what is exactly wrong and what exact errors your are experiencing.
2 Likes
filo
26 August 2022 14:22
3
What happened exactly? Could it be this problem which is affecting some users (they cannot even reach the grub, going directly into the BIOS)?
Hi Garuda Users,
I am using a Dell XPS 9510 with an encrypted Garuda install. After the latest update (through Garuda Assistant) I can't get even get to Grub anymore. I can enter my decryption key, but right when "Slot0 opened" the laptop shuts down and reboots into Bios.
All I can do is change Bios settings or enter a wrong decryption key and interact with Grub rescue.
Any idea what's wrong?
Thanks.
From the live USB, search for “BTRFS Assistant” to restore a snapshot.
2 Likes
The Assistant is not starting, and when I start it from the welcome screen, the welcome screen just open straight back.
I Dont know how it broke, as I said, I ran an upgrade an then this happened. Also, I cant chroot, idk why.
Here is the error:
╭─garuda@garuda in ~ as 🧙 took 10m4s
╰─λ sudo mkdir /mnt
mkdir: cannot create directory ‘/mnt’: File exists
╭─garuda@garuda in ~ as 🧙 took 3ms
[🔴] × sudo mount /dev/sda /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
╭─garuda@garuda in ~ as 🧙 took 2s
[🔴] × sudo garuda-chroot /mnt/@
==> ERROR: Can't create chroot on non-directory /mnt/@
filo
26 August 2022 15:34
5
FuchsCrafter:
I cant chroot, idk why.
These are not the right commands to chroot.
Use this tutorial, of course changing /dev/nvme0n1p2 with your /dev/sdaX (X = your system partition, same for /dev/nvme0n1p4 with yor ESP partition)
From Grub fails after update - #3 by librewish
Some unlucky times that your system is not bootable and the only advised option is to use chroot from a Live ISO to repair the installed system (for example, to (re)install the bootloader), here is the suggested method:
steps required to chroot to your installed Garuda installation (btrfs)
Boot to a Garuda usb Live ISO
Start a terminal and
Find your installed system (btrfs) partition, you need the /dev/<something> part.
lsblk -f
Warning: Remem…
Sorry, again:
What happened exactly?
4 Likes
Sorry, you are right.
filo:
What happened exactly?
I updated my system using garuda-update. The update went well, though there were warnings about a dependency circle with ruby, but no other warning/error. When I booted into the system the next time, it just went straight to bios mode. This is everything I know.
Here is the garuda-inxi of the chroot:
sh-5.1# garuda-inxi
12System:
12Kernel 5.19.2-zen1-2-zen 12arch x86_64 12bits 64 12compiler gcc 12v 12.2.0
12parameters BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC misobasedir=garuda
misolabel=GARUDA_DR460NIZED_TALON quiet systemd.show_status=1 driver=free nouveau.modeset=1
i915.modeset=1 radeon.modeset=1
12Console N/A 12wm kwin_x11 12Distro Garuda Linux 12base Arch Linux
12Machine:
12Type Laptop 12System LENOVO 12product 80Q7 12v Lenovo ideapad 300-15ISK 12serial <filter> 12Chassis
12type 10 12v Lenovo ideapad 300-15ISK 12serial <filter>
12Mobo LENOVO 12model Paris 5A8 12v SDK0J40709 WIN 12serial <filter> 12UEFI-[Legacy] LENOVO 12v D5CN47WW
12date 09/08/2016
12Battery:
12ID-1 BAT0 12charge 20.4 Wh (100.0%) 12condition 20.4/30.1 Wh (67.8%) 12volts 16.2 12min 14.4
12model SANYO L15S4A01 12type Li-poly 12serial <filter> 12status full
12CPU:
12Info 12model Intel Core i7-6500U 12socket BGA1168 (U3E1) 12note check 12bits 64 12type MT MCP 12arch Skylake
12gen core 6 12built 2015 12process Intel 14nm 12family 6 12model-id 0x4E (78) 12stepping 3 12microcode 0xF0
12Topology 12cpus 1x 12cores 2 12tpc 2 12threads 4 12smt enabled 12cache 12L1 128 KiB 12desc d-2x32 KiB; i-2x32
KiB 12L2 512 KiB 12desc 2x256 KiB 12L3 4 MiB 12desc 1x4 MiB
12Speed (MHz) 12avg 945 12high 1185 12min/max 400/3100 12base/boost 2400/2600 12scaling
12driver intel_pstate 12governor powersave 12volts 0.8 V 12ext-clock 100 MHz 12cores 121 1185 122 727 123 949
124 921 12bogomips 20799
12Flags avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
12Vulnerabilities
12Type itlb_multihit 12status KVM: VMX disabled
12Type l1tf 12mitigation PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
12Type mds 12mitigation Clear CPU buffers; SMT vulnerable
12Type meltdown 12mitigation PTI
12Type mmio_stale_data 12mitigation Clear CPU buffers; SMT vulnerable
12Type retbleed 12mitigation IBRS
12Type spec_store_bypass 12mitigation Speculative Store Bypass disabled via prctl
12Type spectre_v1 12mitigation usercopy/swapgs barriers and __user pointer sanitization
12Type spectre_v2 12mitigation IBRS, IBPB: conditional, RSB filling, PBRSB-eIBRS: Not affected
12Type srbds 12mitigation Microcode
12Type tsx_async_abort 12status Not affected
12Graphics:
12Device-1 Intel Skylake GT2 [HD Graphics 520] 12vendor Lenovo 12driver i915 12v kernel 12arch Gen-9
12process Intel 14n 12built 2015-16 12ports 12active HDMI-A-1,eDP-1 12empty DP-1,HDMI-A-2 12bus-ID 00:02.0
12chip-ID 8086:1916 12class-ID 0300
12Device-2 AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 M430 Radeon 520 Mobile]
12vendor Lenovo 12driver radeon 12v kernel 12arch GCN-1 12code Southern Islands 12process TSMC 28nm
12built 2011-20 12pcie 12gen 3 12speed 8 GT/s 12lanes 4 12link-max 12lanes 8 12bus-ID 03:00.0
12chip-ID 1002:6660 12class-ID 0380
12Device-3 Chicony Lenovo EasyCamera 12type USB 12driver uvcvideo 12bus-ID 1-4:4 12chip-ID 04f2:b50e
12class-ID 0e02 12serial <filter>
12Display 12server X.org 12v 1.21.1.4 12with Xwayland 12v 22.1.3 12compositor kwin_x11 12driver 12gpu i915 12note
X driver n/a 12display-ID :0
12Monitor-1 HDMI-A-1 12model Samsung S22F350 12serial <filter> 12built 2019 12res 1920x1080 12dpi 102
12gamma 1.2 12size 477x268mm (18.78x10.55") 12diag 547mm (21.5") 12ratio 16:9 12modes 12max 1920x1080
12min 720x400
12Monitor-2 eDP-1 12model ChiMei InnoLux 0x15c6 12built 2013 12res 1366x768 12dpi 101 12gamma 1.2
12size 344x193mm (13.54x7.6") 12diag 394mm (15.5") 12ratio 16:9 12modes 1366x768
12Message GL data unavailable for root.
12Audio:
12Device-1 Intel Sunrise Point-LP HD Audio 12vendor Lenovo 12driver snd_hda_intel 12v kernel
12bus-ID 00:1f.3 12chip-ID 8086:9d70 12class-ID 0403
12Sound Server-1 ALSA 12v k5.19.2-zen1-2-zen 12running yes
12Sound Server-2 sndio 12v N/A 12running no
12Sound Server-3 JACK 12v 1.9.21 12running no
12Sound Server-4 PulseAudio 12v 16.1 12running no
12Sound Server-5 PipeWire 12v 0.3.56 12running yes
12Network:
12Device-1 Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 12vendor Lenovo 12driver r8169
12v kernel 12pcie 12gen 1 12speed 2.5 GT/s 12lanes 1 12port 4000 12bus-ID 01:00.0 12chip-ID 10ec:8168
12class-ID 0200
12IF enp1s0 12state down 12mac <filter>
12Device-2 Intel Dual Band Wireless-AC 3165 Plus Bluetooth 12driver iwlwifi 12v kernel 12pcie 12gen 1
12speed 2.5 GT/s 12lanes 1 12bus-ID 02:00.0 12chip-ID 8086:3166 12class-ID 0280
12IF wlp2s0 12state up 12mac <filter>
12Bluetooth:
12Device-1 Intel Bluetooth wireless interface 12type USB 12driver btusb 12v 0.8 12bus-ID 1-7:8
12chip-ID 8087:0a2a 12class-ID e001
12Report bt-adapter 12ID hci0 12rfk-id 2 12state up 12address N/A
12Drives:
12Local Storage 12total 990.11 GiB 12used 256.8 GiB (25.9%)
12ID-1 /dev/sda 12maj-min 8:0 12vendor Western Digital 12model WD10JPCX-24UE4T0 12size 931.51 GiB
12block-size 12physical 4096 B 12logical 512 B 12sata 3.0 12speed 6.0 Gb/s 12type HDD 12rpm 5400
12serial <filter> 12rev 1A01 12temp 28 C
12SMART yes 12state enabled 12health PASSED 12on 184d 9h 12cycles 2776
12ID-2 /dev/sdb 12maj-min 8:16 12type USB 12vendor SMI (STMicroelectronics) 12model USB 12size 58.59 GiB
12block-size 12physical 512 B 12logical 512 B 12type N/A 12serial <filter> 12rev 1100
12SMART Message Unknown USB bridge. Flash drive/Unsupported enclosure?
12Partition:
12ID-1 / 12raw-size 931.22 GiB 12size 931.22 GiB (100.00%) 12used 256.8 GiB (27.6%) 12fs btrfs
12block-size 4096 B 12dev /dev/sda2 12maj-min 8:2
12Swap:
12Kernel 12swappiness 133 (default 60) 12cache-pressure 100 (default)
12ID-1 swap-1 12type zram 12size 11.55 GiB 12used 0 KiB (0.0%) 12priority 100 12dev /dev/zram0
12Sensors:
12System Temperatures 12cpu 46.0 C 12pch 38.5 C 12mobo N/A 12gpu radeon 12temp 40.0 C
12Fan Speeds (RPM) N/A
12Info:
12Processes 198 12Uptime 23m 12wakeups 1 12Memory 11.55 GiB 12used 3.07 GiB (26.5%) 12Init systemd 12v 251
12default graphical 12tool systemctl 12Compilers 12gcc 12.2.0 12clang 14.0.6 12Packages 2007 12pacman 2000
12lib 527 12flatpak 7 12Client 12inxi 3.3.20
Garuda (2.6.6-1):
head: cannot open '/var/log/pacman.log' for reading: No such file or directory
System install date:
Last full system update: 2022-08-25
Is partially upgraded: No
Relevant software: NetworkManager connman
Windows dual boot: No/Undetected
Snapshots: Snapper
Running in chroot, ignoring command 'list-units'
Failed units:
EDIT:
I have an error whilst doing the steps suggested in the Guide:
sh-5.1# mount /dev/sda /boot/efi
mount: /boot/efi: /dev/sda already mounted or mount point busy.
dmesg(1) may have more information after failed mount system call.
sh-5.1# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=garuda --recheck
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.
filo
26 August 2022 18:54
7
FuchsCrafter:
mount /dev/sda /boot/efi
You should use your EFI system partition instead of the disk sda here.
Check your
lsblk -f
2 Likes
I dont know which one is it, i assume sda1
?
sh-5.1# lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0
loop1
loop2
loop3
sda
|-sda1
`-sda2 670.1G 28% /
sdb
|-sdb1
`-sdb2
sr0
zram0 [SWAP]
If yes, this is the output:
sh-5.1# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=garuda --recheck
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.
filo
26 August 2022 19:11
9
Ah you're in legacy mode! So you don't need that mount.
grub-install /dev/sda
1 Like
We're getting there
sh-5.1# grub-install /dev/sda
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: error: filesystem `btrfs' doesn't support blocklists.
filo
26 August 2022 19:34
11
lsblk -no PKNAME /dev/sda2
?
filo
26 August 2022 19:52
13
Can you disable the legacy mode or CSM in your BIOS to boot in EFI mode and repeat the process (EFI case)?
1 Like
Yes, I repeated the process and It got done with the following warning:
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Is it ok to boot now or do I have to do any additional steps now?
filo
26 August 2022 20:17
15
Yes, please, try rebooting now
Yes, it seemed to work, I'm seeing my normal Desktop.
There is only one thing I want to know: How can I prevent this in the future(because i will have to update my system sooner or later)?
Thank you In advance.
filo
26 August 2022 20:28
17
You did nothing wrong and there's nothing you could have done differently in this case.
There's a bug in the latest grub update.
It happens with rolling releases.
Keep on updating normally.
3 Likes
OK, thank you, I will do this.
Have a great day/night!
2 Likes
system
Closed
28 August 2022 20:29
19
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.