You are not logged in.

#1 2025-06-04 07:53:26

adrit1234
Member
Registered: 2023-06-21
Posts: 28

[SOLVED]Kernel panic warning init not found

I accidentally installed two grub instances on my system today and tried to get rid of one of them, which caused the grub rescue shell to show. I then tried to fix that problem by reinstalling grub which did work but when I click on the archlinux entry in this restored grub, the kernel panic BSOD shows with the: warning init not found error.

I tried fixing the issue by attempting to reinstall systemd, linux and mkinitcpio but doing so shows the following errors:

error: GPGME error: Invalid crypto engine
(1/1) checking package integrity                                                   [------------------------------------------------] 100%
error: GPGME error: Invalid crypto engine
error: mkinitcpio: missing required signature
:: File /var/cache/pacman/pkg/mkinitcpio-39.2-3-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]

I also can't install any packages at all from inside the chroot and it seems like my system has become corrupted and I can't regenerate mkinitcpio anymore. I would appreciate any insights into this problem.

Last edited by adrit1234 (2025-06-04 17:00:57)

Offline

#2 2025-06-04 12:24:07

seth
Member
Registered: 2012-09-03
Posts: 64,477

Re: [SOLVED]Kernel panic warning init not found

Use the pacman of the install iso.
Don't chroot, but "pacman --root=/mnt --cachedir=/var/cache/pacman/pkg …"

Package integrity:

sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files' | grep backup

When re-installing the kernel or grub or explicitly regenerating initramfs or grub.cfg, make sure to mount the proper /boot partition into /mnt/boot - you can inspect the journal on the installed system, https://wiki.archlinux.org/title/System … al_to_view - if the BOOT_IMAGE shows up …=/boot/vmlinuz-… you're booting directly from the root partition …=/vmlinuz-… means there's some boot partition involved.

Offline

#3 2025-06-04 17:00:22

adrit1234
Member
Registered: 2023-06-21
Posts: 28

Re: [SOLVED]Kernel panic warning init not found

I used the install iso's pacman to reinstall mkinitcpio, linux and systemd and got the system back up and running again!

Initially, I moved the grub files to my root partition to free up some space in my esp, but it led to two different grub instances when I reinstalled grub(the 2nd one got installed back into my esp). I then tried to fix it by deleting the grub that got moved to the root partition, causing a grub rescue error and the kernel must've gotten corrupted in the process. I am now back to where I started before all this with grub back into my esp and many lessons learned.

Thank you for your help! I managed to solve this problem much more quickly than expected smile

Offline

Board footer

Powered by FluxBB