Gentoo Archives: gentoo-user

From: karl@××××××××.se
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] kernel panic - lilo can't find boot
Date: Sun, 24 Jul 2022 15:15:57
Message-Id: 20220724151548.E383480FBE32@turkos.aspodata.se
In Reply to: [gentoo-user] kernel panic - lilo can't find boot by Walter Dnes
1 Walter Dnes:
2 > VFS: Cannot open device "801" or unknown-block (8,1): error -6
3 > Please append a correct "root=" boot option: here are the available partitions:
4 > Kernel panic - not syncing: VFS: Unable to mount root on unknown-block (8,1)
5 ...
6 > I've pulled in a working configuration from an old backup, so it
7 > should work.
8 ...
9 > Disk model: WDC WD800BEVS-08
10 ...
11 > image = /boot/kernel.production
12 > root = /dev/sda1
13 > label = Production
14 > read-only # read-only for checking
15 > append = "noexec=on net.ifnames=0 intel_pstate=disable ipv6.disable=1"
16 ...
17
18 The kernel is missing the driver for your disk device.
19
20 801 is /dev/sda1:
21 # ls -l /dev/sda1
22 brw-rw---- 1 root disk 8, 1 Aug 4 2013 /dev/sda1
23
24 WD800BEVS-08 is a 5400rpm 2.5inch sata disk.
25 Go into the bios and set up sata to be AHCI.
26
27 You have no initrd/initramfs so:
28 "SCSI disk support"
29 "Serial ATA and Parallel ATA drivers (libata)"
30 "AHCI SATA support"
31 and possilbe also
32 "Platform AHCI SATA support"
33 driver must be compiled in in the kernel.
34
35 You can check that by doing something like:
36 # grep BLK_DEV_SD= /boot/config.production
37 CONFIG_BLK_DEV_SD=y
38 # grep CONFIG_SATA_AHCI /boot/config.production
39 CONFIG_SATA_AHCI=y
40 CONFIG_SATA_AHCI_PLATFORM=y
41
42 You must also compile in the filesystem used for /
43 (perhaps it is ext4).
44
45 # grep CONFIG_EXT4_FS= /boot/config.production
46 CONFIG_EXT4_FS=y
47
48 Every time you change the kernel you have to rerun lilo.
49
50 Regards,
51 /Karl Hammar

Replies

Subject Author
Re: [gentoo-user] kernel panic - lilo can't find boot Walter Dnes <waltdnes@××××××××.org>