On 08/06/2020 11:06, Peter Humphrey wrote:
> 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.

Sounds like missing drivers. oldconfig didn't do everything it was
supposed to. Moving across multiple major versions, this is to be
expected. A lot of names of things have changed.

Do a comparison of your configuration between old and new.

diff -uN old-config-file /usr/src/linux/.config

Make sure to at least enable NVME with CONFIG_BLK_DEV_NVME=y and try
booting 5.7 again. Other than that, the naming scheme may have changed
but I don't know about this. For better future-proofing, use a UUID of
your root partition rather than a device name.

root=UUID=...

You can get this UUID with the blkid command.

Andrew

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to