Garuda 2 month install fails at 'loading ramdisk' - snapshot not loading

I've browsed the FAQ and searched the forums and I've found that I'm supposed to restore from a snap shot when Garuda fails to boot. I've also read that it's usually a video driver issue, which makes since because yesterday there was an nvidia driver update.

May I ask how long this should take? I've let it sit for two hours now and it's stuck at:
Loading Microcode & Initramfs: amd-ucode.img initramfs-linux-zen-fallback.img ....

it does that for all of my snapshots.

Also, according to the FAQ titled 'black screen on startup..' I should be able to use alt+ctrl+f2 to bring up the ability to type in a command line. I have yet to encounter this ability as loading ramdisk screen disables my keyboard completly (no numlock or capslock).

I would very much like to avoid a reinstall.

EDIT: I was prompted that I'd be ignored if I didn't post an inxi. I have one stored as a jpg from when my system was working, but I cannot post it as new users cannot post images.

Do you get anywhere when booting in recovery mode?

Recovery mode results in:

[4.077056] ----[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007]----

there is more information, however, i cannot share screenshots/images.

I don't like to give suggestions without being able to rely on logs or other information, however some users have recently solved similar problems by switching to the linux-lts kernel (which is anyway useful to keep available, should you solve your issue in other ways):

  • boot from a live ISO and use button in Garuda Welcome to chroot into your system
  • install the linux-lts kernel
sudo pacman -S linux-lts linux-lts-headers
  • exit from chroot, shutdown and remove the USB Key
  • boot and select the linux-lts kernel in the GRUB (should be under advanced options)
2 Likes

@filo I booted into the live USB stick I used to install garuda onto this system. inside welcome I clicked the chroot app:

grub-probe: error: cannot find a Grub drive for /dev/sde1. Check your device.map
grub-probe: error: cannot find a Grub drive for /dev/sda1. Check your device.map
==> Mounting {Garuda_Linus} [/dev/sda2]
--> mount: [/mnt]
--> mount: [/mnt/boot/efi]
--> mount: [/mnt/home]
--> mount: [/mnt/root]
--> mount: [/mnt/srw]
--> mount: [/mnt/var/cache]
--> mount: [/mnt/var/log]
--> mount: [/mnt/var/tmp]
[root@garuda-dr460nized /]# sudo pacman -S linux-lts linux-lts-headers
Bus error (core dumped)
[root@garuda-dr460nized /]#

EDIT: sorry about the spelling errors, I wish I could post a screenshot

We hate pictures from terminal :smiley:

The host name from your PC is garuda-dr460nized?

You can copy Ctrl+Shift+C and paste the terminal text.

Summary

How to chroot Garuda Linux

1 Like

Maybe try a

garuda-update

But I'm afraid it will fail with the same error, being based on pacman.
Have you run a S.M.A.R.T. test to rule out disk problems?

2 Likes

@filo SSD passes SMART check, yes

@SGS I've been posting on a different machine, I have to type it all out on a crappy keyboard. The host name for the bootable USB stick is that yes. I don't recall what my actual machine's host name is at the moment.

My fault, I edit my post, long time ago I must chroot :slight_smile:
All fine.

You can open a web browser in live ISO, login in forum and copy & paste the text.

1 Like

@SGS Push me in a direction? What should I do?

I don't think I"m chroot'ing correctly and the guide on how to do so was a tad over my understanding. Well, a lot over my understanding.

Please, do not ping moderators with @.

If necessary, save your important data, then consider reinstalling, as it’s not clear to me why a snapshot (do you have more than one?) doesn’t work either.

And filo has post what help

If your “machine” is a laptop with Nvidia GPU, then the problem is with the kernel.

1 Like

Understood about @

I posted what happened when I followed filo's suggestion. I believe it would help but I don't think I'm using chroot correctly. Any clarification would be helpful.

It's a desktop with an nvidia gpu. If the problem is with the kernel, I'd love to know how to solve it. I am unable to boot into the system to save the data.

I have four days worth of snapshots. None of which load. I don't know why.

Its what filo post

My nvidia GPU’s in my PC has no kernel problems, we know only problems with notebooks.

Use live ISO :slight_smile:
We know nothing about your DE, your Nvme, HDD, SSD and so on.
Use file browser and copy your data to a place you do not use for installing Garuda.

1 Like

OS: Garuda Linus x86_64
Host: A520M Phantom Gaming 4
Kernel 6.0.11-zen-1-zen
Shell: fish 3.5.1
DE: KDE Plasma 5.26.4
WH: Kwin (X11)
WH Theme: Sweet-dark
Theme Kvantum-dark sweetified
Terminal: konsole
CPU: AMD Ryzen 5 4500
GPU NVIDIA GeForce GTX 980
Memory 1.22 GiB / 15.49 Gib

SSD is a Scandisk 1 gig sata SSD, 96% health check in smart

I would adore if you could share this output via an external image site by taking a picture on your phone and sharing the link here. Unfortunately, your account does not yet allow you to post images due to frequent abuse by new users, but I hope that would work for you!

4 Likes

This is how far I got attempting to chroot using the guide:

grub-probe: error: cannot find a GRUB drive for /dev/sde1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sde1.  Check your device.map.
==> Mounting (Garuda_Linux) [/dev/sda2]
 --> mount: [/mnt]
 --> mount: [/mnt/boot/efi]
 --> mount: [/mnt/home]
 --> mount: [/mnt/root]
 --> mount: [/mnt/srv]
 --> mount: [/mnt/var/cache]
 --> mount: [/mnt/var/log]
 --> mount: [/mnt/var/tmp]
[root@garuda-dr460nized /]# lsblk -f
NAME   FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0
loop1
loop2
loop3
sda
|-sda1                          298.8M     0% /boot/efi
|-sda2                          426.5G    53% /var/tmp
|                                             /var/log
|                                             /var/cache
|                                             /srv
|                                             /root
|                                             /home
|                                             /
`-sda3
sdb
sdc
sdd
sde
|-sde1
`-sde2
sr0
zram0                                         [SWAP]
[root@garuda-dr460nized /]# sudo mkdir -p /mnt/broken
Bus error (core dumped)
[root@garuda-dr460nized /]# cd /mnt/broken
bash: cd: /mnt/broken: No such file or directory
[root@garuda-dr460nized /]# sudo mkdir -p /mnt/broken
Bus error (core dumped)
[root@garuda-dr460nized /]#  mkdir -p /mnt/broken
[root@garuda-dr460nized /]# cd /mnt/broken
[root@garuda-dr460nized broken]# cd root
bash: cd: root: No such file or directory
[root@garuda-dr460nized broken]# cd /
[root@garuda-dr460nized /]# sudo mount /dev/sda2
Bus error (core dumped)
[root@garuda-dr460nized /]# mount /dev/sda2 /mnt/broken
[root@garuda-dr460nized /]# garuda-chroot /mnt/broken/@
bash: garuda-chroot: command not found
[root@garuda-dr460nized /]# chroot
chroot: missing operand
Try 'chroot --help' for more information.
[root@garuda-dr460nized /]# chroot /mnt/broken/@
sh-5.1# update
:: Synchronizing package databases...
 garuda
 core
 extra
 community
 multilib
/usr/sbin/update: line 11:    12 Bus error               (core dumped) $PACMAN -Sy
:: Synchronizing package databases...
error: failed to synchronize all databases (unable to lock database)
grep: /proc/cmdline: No such file or directory
/usr/lib/garuda/garuda-update/main-update: line 9: /dev/fd/63: No such file or directory
sh-5.1# tee: /dev/fd/63: No such file or directory
sudo pacman -S linux-ltx linux-lts-headers
Bus error (core dumped)
sh-5.1# pacman -S linux-ltx linux-lts-headers
error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
  if you're sure a package manager is not already
  running, you can remove /var/lib/pacman/db.lck
sh-5.1# rm /var/lib/pacman/db.lck
sh-5.1# pacman -S linux-ltx linux-lts-headers
error: target not found: linux-ltx
sh-5.1# pacman -S linux-lts linux-lts-headers
resolving dependencies...
looking for conflicting packages...

Packages (2) linux-lts-5.15.90-1  linux-lts-headers-5.15.90-1

Total Download Size:   155.54 MiB
Total Installed Size:  270.86 MiB

:: Proceed with installation? [Y/n] y
warning: no /var/cache/pacman/pkg/ cache exists, creating...
error: could not open file: /etc/mtab: No such file or directory
error: could not determine filesystem mount points
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
sh-5.1# exit
exit
[root@garuda-dr460nized /]# sudo pacman -S linux-lts linux-lts-headers
Bus error (core dumped)
[root@garuda-dr460nized /]# pacman -S linux-lts linux-lts-headers
resolving dependencies...
looking for conflicting packages...

Packages (2) linux-lts-5.15.90-1  linux-lts-headers-5.15.90-1

Total Download Size:   155.54 MiB
Total Installed Size:  270.86 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 linux-lts-5.15.90-1-x86_64
 linux-lts-headers-5.15.90-1-x86_64                                                       0.0   B  0.00   B/s 00:00 [c  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  ]   0%
 Total (0/2)                                                                              0.0   B  0.00   B/s 00:00 [c  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  o  ]   0%
Bus error (core dumped)
[root@garuda-dr460nized /]# ^C
[root@garuda-dr460nized /]#

Any help with chroot is appreciated.

kepler gpu's are now legacy, he will need the LTS kernel and the 470xx drivers once he gets his rig up again.

3 Likes

@Michael_joseph Does that include the 980? I thought kepler was the 7XX's?

1 Like

GTX 980 is Maxwell. 7xx is kepler. (source: Wikipedia)

2 Likes