VFS: Cannot open root device
"\"Cliff mcDiarmid\"" ([email protected] via blfs-support Mailing List) <[email protected]> Fri, 5 Sep 2025 11:15:01 +0000
| Newsgroups | gmane.linux.lfs.beyond.support |
|---|---|
| Message-ID | <[email protected]> |
Hello
I've never had any issue so far recompiling the kernel for LFS. Still
there's always a first.
After enabling some modules in an existing kernel(6.12.5) I get the following
error when rebooting:
VFS: Cannot open root device
"/dev/nvme0n1p4" or unknown block (0,0): error -6
Please append a correct "root=" boot option
List of of all bdev filesystems etc etc
I don't know what's supposed to have changed. I checked the partition for
errors with gparted all ok
My grub.cfg:
# Begin /boot/grub/grub.cfg
set default=0
set timeout=5
insmod part_gpt
insmod ext2
set root=(hd0,gpt4)
insmod efi_gop
insmod efi_uga
if loadfont /boot/grub/fonts/unicode.pf2; then
terminal_output gfxterm
fi
menuentry "GNU/Linux, Linux 6.12.5-lfs15-12.2" {
linux /boot/vmlinuz-6.12.5-lfs-12.2 root=/dev/nvme0n1p4 ro
}
menuentry "Firmware Setup" {
fwsetup
}
Any ideas anyone. Thanks
--
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page