Thelma
On 11/24/2020 10:08 PM, the...@sys-concept.com wrote:
> I'm getting a kernel panic when booting a new system.
>
> kernel panic - not syncing: VFS: unable to mount root fs on unknown-block
> (0,0)
>
> fstab:
> LABEL=boot /boot vfat noauto,noatime 1 2
> root=UUID=d32946b3-2236-4998-80dd-68b7d78e0c7b /
> ext4 noatime 0 1
> LABEL=swap none swap sw 0 0
>
> I even use: emerge --ask sys-kernel/genkernel
> genkernel all
>
> So all the driver are compile-in (nothing should be missing)
>
> ls -al /boot/vmlinu* /boot/initramfs*
> -rwxr-xr-x 1 root root 11221820 Nov 24 21:30
> /boot/initramfs-5.4.72-gentoo-x86_64.img
> -rwxr-xr-x 1 root root 9036672 Nov 24 10:56 /boot/vmlinuz-5.4.72-gentoo
> -rwxr-xr-x 1 root root 8513920 Nov 24 21:18
> /boot/vmlinuz-5.4.72-gentoo-x86_64
This problem is solved, it seems to me I was booting old kernel.
Removing old kernel and re-running:
grub-mkconfig -o /boot/grub/grub.cfg
Solved the problem.