Kernel Panic - VFS: Unable to mount root fs on unknown-block(0,0)

Hello, I tried installing a SDK program called devKitPro onto my laptop to try to explore Nintendo DS homebrew/game making. I followed the installation steps here (Customising Existing Pacman Install): https://devkitpro.org/wiki/devkitPro_pacman

Once the sudo pacman -Syu command was finished and I rebooted, my computer failed booting into EndeavourOS and I got this Kernel Panic error.


Full disclosure, I installed the 2024.09.22 build of EndeavourOS onto this laptop because that was what I had on hand. And I did not run sudo pacman -Syu before I tried installing devKitPro, which might be what caused this issue.

When I booted into the EndeavourOS live environment off of my USB I could see the main partition of my system was still intact through the File Manager. It also showed up alongside my swap partition when running the fdisk -l command in the terminal. (I forgot to take a picture of that but the two partitions did show up)

I have scoured through forums and videos in trying to fix this kernel panic issue, but I just can’t figure it out properly. I’m still quite new to linux, and this is the first time this has happened to me, so I’m at a bit of a loss on what exactly to do.

If this isn’t fixable and I have to reinstall/install a more up to date version of EndeavourOS, is it possible to backup files from my main partition onto my USB through the live environment? I didn’t have too much installed on this laptop, but it would be nice if I could backup say my Minecraft world and some pictures I have downloaded from the internet.

I appreciate any advice given in hopes of fixing this, thank you in advance!

You should be able to scan the QR code and look up what it means.

I tried to, but my phone can’t register it for some reason.

Have you tried booting from the fallback kernel in the boot menu?

Yes, it still booted into the kernel panic error.

I would start by booting from the live iso and then chrooting into your system.
https://discovery.endeavouros.com/system-rescue/arch-chroot/2022/12

Then try reinstalling your kernel, then exit out and reboot. Do you have something like Timeshift or Btrfs setup?

I got it working! Thank you so so much. I followed the article you linked as well as this one: https://discovery.endeavouros.com/system-rescue/repair-a-non-booting-grub/

I followed the guide and put in the commands in the terminal. It seems once I was in the root of my system the command grub-mkconfig -o /boot/grub/grub.cfg got it to work! I tried reinstalling grub too like the article said, but it didn’t work for some reason. It’s fine though, since the kernel panic error is now gone. Thank you!

You have a BIOS system and not UEFI system? Sounds like something nukes Grub if that fixed it. Glad to have helped out and that you got it working.

1 Like