1 |
Afternoon all, |
2 |
|
3 |
Is there something special for me to set in the kernel config to enable it to |
4 |
find the root partition? I copied the config from 5.4.38, ran oldconfig and |
5 |
followed most of the suggested answers; but it won't boot. |
6 |
|
7 |
# cat /boot/loader/entries/30-gentoo-5.7.1.conf |
8 |
title Gentoo Linux 5.7.1 |
9 |
linux /vmlinuz-5.7.1-gentoo |
10 |
options root=/dev/nvme0n1p4 initrd=/intel-uc.img net.ifnames=0 |
11 |
raid=noautodetect |
12 |
|
13 |
That file hasn't changed, other than the kernel version. |
14 |
|
15 |
On booting with that setup, I got an error immediately (from the UEFI BIOS, I |
16 |
assume) complaining of an invalid parameter. A few seconds later the kernel |
17 |
panicked because it couldn't find the root device. |
18 |
|
19 |
So I chopped off everything after the 1p4 and booted again. No invalid- |
20 |
parameter error this time, but still it couldn't find the boot device. |
21 |
|
22 |
Something has changed, and I can't see what it is. |
23 |
|
24 |
I've tried compiling the kernel (and @system) with gcc-9.3.0 and with |
25 |
gcc-10.1.0, but I saw no difference. |
26 |
|
27 |
-- |
28 |
Regards, |
29 |
Peter. |