Afternoon all,

Is there something special for me to set in the kernel config to enable it to 
find the root partition? I copied the config from 5.4.38, ran oldconfig and 
followed most of the suggested answers; but it won't boot.

# cat /boot/loader/entries/30-gentoo-5.7.1.conf
title Gentoo Linux 5.7.1
linux /vmlinuz-5.7.1-gentoo
options root=/dev/nvme0n1p4 initrd=/intel-uc.img net.ifnames=0 
raid=noautodetect

That file hasn't changed, other than the kernel version.

On booting with that setup, I got an error immediately (from the UEFI BIOS, I 
assume) complaining of an invalid parameter. A few seconds later the kernel 
panicked because it couldn't find the root device.

So I chopped off everything after the 1p4 and booted again. No invalid-
parameter error this time, but still it couldn't find the boot device.

Something has changed, and I can't see what it is.

I've tried compiling the kernel (and @system) with gcc-9.3.0 and with 
gcc-10.1.0, but I saw no difference.

-- 
Regards,
Peter.




Reply via email to