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

But at the end of the compilation I get:

* Kernel compiled successfully!
* 
* --no-bootloader set; Skipping bootloader update ...
* 
* Required kernel parameter:
* 
*       root=/dev/$ROOT
* 
* Where $ROOT is the device node for your root partition as the
* one specified in /etc/fstab

* If you require Genkernel's hardware detection features, you MUST
* tell your bootloader to use the provided initramfs file 
'/boot/initramfs-5.4.72-gentoo-x86_64.img'.

* WARNING... WARNING... WARNING...
* Additional kernel parameters that *may* be required to boot properly:

* Do NOT report kernel bugs as genkernel bugs unless your bug
* is about the default genkernel configuration...
* 
* Make sure you have the latest ~arch genkernel before reporting bugs.

-- 
Thelma

Reply via email to