Kernel panic: device not found
1 Attachment(s)
Hi,
I just completed my LFS (version 9.1, sysvinit) project with pkgutils installed, but I can't seem to boot into my system. I get a kernel panic about VFS device "nvme0n1p3" not found type of error. On this computer, I can choose between using AHCI or RAID or disable it completely in my BIOS settings, and right now I have the AHCI set in my BIOS. My grub.cfg is Code:
# Begin /boot/grub/grub.cfg Code:
# Begin /etc/fstab I can't seem to figure out what I'm doing wrong here. I'll appreciate any suggestions or tips that can help me figure this out. ** EDIT ** I do have the NVMe configured into my kernel as described here: https://wiki.gentoo.org/wiki/NVMe I've also added a picture of the kernel panic trace leading up to the error. |
I'd use the host grub to boot it. If it was the only OS on the ssd I'd use the uefi hint available at the main lfs menu.
|
@arch-linq, I did follow that hint
http://www.linuxfromscratch.org/hint...s/lfs-uefi.txt with some modifications for my system. The only thing is that they're using /dev/sda[x] but I need NVMe so /dev/nvme0n1p[x] should be the LFS partition, is it not? |
Did you actually enable NVME support in your kernel?
In Linux 5.7, that's a category of its own under Device Drivers. |
@TheRealGrogan, you were right and actually I was thinking about this earlier today. Turns out that I had CONFIG_BLK_DEV_NVME=m instead of 'y'.
Now I can boot into my fresh installed LFS! :) Thanks everyone for your help! |
All times are GMT -5. The time now is 06:45 PM. |