Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] kernel panic - not syncing: VFS: unable to mount root fs on unknown-block (0,0)
Date: Wed, 25 Nov 2020 05:08:09
Message-Id: c2076a86-850e-6902-e0d4-2f8bf98f8735@sys-concept.com
1 I'm getting a kernel panic when booting a new system.
2
3 kernel panic - not syncing: VFS: unable to mount root fs on unknown-block (0,0)
4
5 fstab:
6 LABEL=boot /boot vfat noauto,noatime 1 2
7 root=UUID=d32946b3-2236-4998-80dd-68b7d78e0c7b / ext4 noatime 0 1
8 LABEL=swap none swap sw 0 0
9
10 I even use: emerge --ask sys-kernel/genkernel
11 genkernel all
12
13 So all the driver are compile-in (nothing should be missing)
14
15 ls -al /boot/vmlinu* /boot/initramfs*
16 -rwxr-xr-x 1 root root 11221820 Nov 24 21:30 /boot/initramfs-5.4.72-gentoo-x86_64.img
17 -rwxr-xr-x 1 root root 9036672 Nov 24 10:56 /boot/vmlinuz-5.4.72-gentoo
18 -rwxr-xr-x 1 root root 8513920 Nov 24 21:18 /boot/vmlinuz-5.4.72-gentoo-x86_64
19
20 But at the end of the compilation I get:
21
22 * Kernel compiled successfully!
23 *
24 * --no-bootloader set; Skipping bootloader update ...
25 *
26 * Required kernel parameter:
27 *
28 * root=/dev/$ROOT
29 *
30 * Where $ROOT is the device node for your root partition as the
31 * one specified in /etc/fstab
32
33 * If you require Genkernel's hardware detection features, you MUST
34 * tell your bootloader to use the provided initramfs file '/boot/initramfs-5.4.72-gentoo-x86_64.img'.
35
36 * WARNING... WARNING... WARNING...
37 * Additional kernel parameters that *may* be required to boot properly:
38
39 * Do NOT report kernel bugs as genkernel bugs unless your bug
40 * is about the default genkernel configuration...
41 *
42 * Make sure you have the latest ~arch genkernel before reporting bugs.
43
44 --
45 Thelma

Replies