Can't load initramfs

Hi, after an upgrade have kernel panic as it can’t load initramfs - out of memory.

any help?

system is with intel cpu and nvidia 2080 gpu.

it is kde mokka

Can you restore the latest working snapshot?

1 Like

no, it says that can’t load initramfs of a restored shapshot as well

don’t have this issue with 6.16.4-zen1-1 kernel and nvidia 580.82.07-1 drivers

I can boot within a snapshot, but can’t make any changes in it. Once set that snapshot as a default - can’t boot as have “out of memory” issue and can’t load initramfs too

here is a point

have several ISO of garuda mokka and it boots only with
garuda-mokka-linux-zen-250308.iso

these ones don’t boot well, as screen resolution is 1074x763 then and CPU is overloaded (when boot from USB) with Nvidia drivers, but with open source drivers it is different as screen resolution is 1920x1080 but with 99% CPU load so can’t move a mouse even:

garuda-mokka-linux-zen-250902.iso & garuda-mokka-linux-zen-250907.iso

loaded latest Shani OS - it even didn’t boot ISO from Ventoy USB - showed Kernel Panic

The Cachy OS boots well from Ventoy USB, but after installatio shows the same Kernel Panic as can’t load the initramfs. My guess? This can be about Kernel issue as Nvidia 580 works with 6.16.4 kernel very well - that is last time I updated the Garuda on my laptop. Second laptop (the same hardware) - got Kernel Panic after update, because initramfs can’t been loaded as is “out of memory”

can someone help with the next

how to boot with USB, then change kernel to 6.16.4, update grub and reboot

it has UEFI particiion at 1.5gb size, so plentiful room for everything

I don’t use Nvidia GPUs, so I don’t follow the issues with those drivers and possible incompatibilities with the kernel.
Anyway, one point is not clear to me. When you say:

What do you mean with set as default?
You should just restore the snapshot after you booted (it should be guided by a message but can be done also from the btrfs assistant) and then reboot.
It’s normal not being able to make changes into a snapshot.
If this really doesn’t work (but I’d retry) I think you could chroot from the old ISO which works.
At that point, I’d suggest a garuda-update.
If that doesn’t help, rather than downgrading the kernel, maybe you could install and try the linux-lts kernel (and headers), although I don’t know if this will be ok with your current Nvidia drivers, but I guess so.

1 Like

that is the point

how make changes in the system, when booted from USB?

as for garuda-update. The issue is in the kernel or Nvidia new drivers. My guess - kernel that came after 16.16.4

as for snapshot

when grub boots, we can choose snapshot there. When we boot from snapshot and choose that snapshot as main (i call it default), then it has the same issue - can’t find any initramfs at all, but this time we have no “kernel panic” after that.

What do you mean “choose snapshot as main”??

You need to restore the snapshot.

1 Like

exactly that meant

Huh?

upgraded the system from old ISO to full new, except of four packages: grub, grub-btrfs, linux-zen and linux-zen-headers.

It works with 16.6.4 zen kernel. Now upgrading kernel to the latest. If it works either, then must exclude the update of grub.

well, the problem was causing the Grub.

Question - how to exclude Grub package from update procedure?

Upgraded all to the latest by using pamac, except of two packages: grub and grub-btrfs.

It works. no kernel panic.

should keep updating via pamac? But, would prefer to configure garuda-update to igonoe Grub and Grub-btrfs packages?

but the trick is here

on other laptop (all laptops are the same) upgraded all (including grub), except of kernel and nvidia drives. It works. Will upgrade there nvidia first, then kernels. To see what is happening.

This is probably the culprit.
If you update with garuda-update instead, it would automatically also reinstall the GRUB in your EFI system partition, and that could avoid your issue.

2 Likes

yes, culpprit, but no other way.

Upgraded Grub, it wrote a message that can’t see the NVME ssd, unknown device. And the UEFI partition is there. That is why could not load initramfs.

How to exclude Grub and Grub-btrfs packages from upgrade? That Grub release candidate is buggy, didn’t recognize NVME SSD in my system

Use the ignorepkg in pacman conf:

(this works also with garuda-update of course)

1 Like

grub wrote next

/usr/bin/grub-probe: warning: uknown device type nvme1n1

Next after what? I’m lost… :smiling_face:
It shouldn’t be a real problem.
Anyway, give a look here:

2 Likes
the removal of /etc/grub.d/60_memtest86+ solved nothing here

making fresh install from ISO, then pur grub and grub-btrfs into ignore list, then upgrade the system via garuda-update. Will tell the results once finish it

Solution

it is grub. Without new versions grub and grub-btrfs it works smooth without issues.