On 12/11/2020 10:45 AM, Michael wrote: > On Friday, 11 December 2020 16:42:08 GMT tedheadster wrote: >> On Fri, Dec 11, 2020 at 9:27 AM <the...@sys-concept.com> wrote: >>> On 12/11/2020 07:07 AM, the...@sys-concept.com wrote: >>>> Now, when I boot I get a message: >>>> >>>> Block device UUID=d32946b3-2236-4998-80dd-68b7d78e0c7b is not a valid >>>> root device. >>> >>> This puzzles me. I cannot find the string "is not a valid root device" (or >> >> sub-strings) in the source code for the Linux kernel, GRUB2, and refind. It >> seems to me it should be in one of them. >> >> - Matthew > > The error is indicative of the kernel driver for the / block device missing. > If it is not built in-the-kernel, but as a module, then it should be in > initramfs. > > Copy the kernel image, System.map, .config and corresponding initramfs to the > /boot partition, then point your boot manager to the kernel to boot it.
grep -i initramfs .config (not showing anything) CONFIG_INITRAMFS_SOURCE="" After cofiguring kernel, I run: make && make modules_install make install grub-install --target=x86_64-efi --efi-directory=/boot Installing for x86_64-efi platform. Installation finished. No error reported. grub-mkconfig -o /boot/grub/grub.cfg I'm using kernel: System.map-5.4.72-gentoo ll /boot/ total 56547 drwxr-xr-x 4 root root 512 Dec 11 08:23 EFI -rwxr-xr-x 1 root root 4730365 Dec 11 11:01 System.map-5.4.72-gentoo -rwxr-xr-x 1 root root 4618921 Dec 11 08:57 System.map-5.4.72-gentoo-x86_64 -rwxr-xr-x 1 root root 4451817 Dec 11 10:16 System.map-5.4.80-gentoo-r1-x86_64 -rwxr-xr-x 1 root root 121805 Dec 11 11:01 config-5.4.72-gentoo -rwxr-xr-x 1 root root 212517 Dec 11 06:18 config-5.4.72-gentoo-x86_64 -rwxr-xr-x 1 root root 121783 Dec 11 09:48 config-5.4.72-gentoo.old drwxr-xr-x 5 root root 512 Dec 11 11:11 grub -rwxr-xr-x 1 root root 3573416 Dec 11 08:59 initramfs-5.4.72-gentoo-x86_64.img -rwxr-xr-x 1 root root 10521824 Dec 11 10:26 initramfs-5.4.80-gentoo-r1-x86_64.img -rwxr-xr-x 1 root root 9991040 Dec 11 11:01 vmlinuz-5.4.72-gentoo -rwxr-xr-x 1 root root 9831296 Dec 11 08:57 vmlinuz-5.4.72-gentoo-x86_64 -rwxr-xr-x 1 root root 9726336 Dec 11 10:17 vmlinuz-5.4.80-gentoo-r1-x86_64 Doesn't matter which kernel I boot, the login is: "This is (none). unknown domain .... (none) longin: I can login as user but not as root. It seems to me it didn't boot correctly. Don't now what else to try.