Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] kernel panic - lilo can't find boot
Date: Sun, 24 Jul 2022 11:01:23
Message-Id: Yt0mgVLicT7ziU1o@waltdnes.org
1 I'm trying to revive an older Lenovo. It has worked in the past.
2 Here is the kernel panic error (3 lines)...
3
4 VFS: Cannot open device "801" or unknown-block (8,1): error -6
5 Please append a correct "root=" boot option: here are the available partitions:
6 Kernel panic - not syncing: VFS: Unable to mount root on unknown-block (8,1)
7
8 I've pulled in a working configuration from an old backup, so it
9 should work. I'm also listing "fdisk -l", "ll /boot", and
10 /etc/lilo.conf (the machine is too old for UEFI). Any ideas?
11
12 ===========================================================================
13
14 Disk /dev/sda: 74.53 GiB, 80026361856 bytes, 156301488 sectors
15 Disk model: WDC WD800BEVS-08
16 Units: sectors of 1 * 512 = 512 bytes
17 Sector size (logical/physical): 512 bytes / 512 bytes
18 I/O size (minimum/optimal): 512 bytes / 512 bytes
19 Disklabel type: dos
20 Disk identifier: 0x16cab3f2
21
22 Device Boot Start End Sectors Size Id Type
23 /dev/sda1 * 2048 134219775 134217728 64G 83 Linux
24 /dev/sda2 134219776 156301487 22081712 10.5G 82 Linux swap / Solaris
25
26 ===========================================================================
27
28 drwxr-xr-x 2 root root 4096 Jul 24 06:34 .
29 drwxr-xr-x 21 root root 4096 Apr 25 03:16 ..
30 -rw-r--r-- 1 root root 0 Apr 12 18:57 .keep
31 -rw------- 1 root root 165376 Jul 24 06:34 .map
32 -rw-r--r-- 1 root root 3806788 Jul 24 06:30 System.map.experimental
33 -rw-r--r-- 1 root root 3806788 Jul 24 06:31 System.map.production
34 -rw-r--r-- 1 root root 512 Jul 24 05:38 boot.0800
35 -rw-r--r-- 1 root root 106972 Jul 24 06:30 config.experimental
36 -rw-r--r-- 1 root root 106972 Jul 24 06:31 config.production
37 -rw-r--r-- 1 root root 7596800 Jul 24 06:30 kernel.experimental
38 -rw-r--r-- 1 root root 7596800 Jul 24 06:31 kernel.production
39
40 ===========================================================================
41
42 # Faster, but won't work on all systems:
43 #compact
44 # Should work for most systems, and do not have the sector limit:
45 lba32
46 # If lba32 do not work, use linear:
47 #linear
48
49 # MBR to install LILO to:
50 boot = /dev/sda
51 map = /boot/.map
52
53 install = /boot/boot-menu.b # Note that for lilo-22.5.5 or later you
54 # do not need boot-{text,menu,bmp}.b in
55 # /boot, as they are linked into the lilo
56 # binary.
57
58 menu-scheme=Wb
59 prompt
60 # If you always want to see the prompt with a 15 second timeout:
61 timeout=150
62 delay = 50
63 #
64 # End LILO global section
65 #
66
67 #
68 # Linux bootable partition config begins
69 #
70 image = /boot/kernel.production
71 root = /dev/sda1
72 label = Production
73 read-only # read-only for checking
74 append = "noexec=on net.ifnames=0 intel_pstate=disable ipv6.disable=1"
75
76 image = /boot/kernel.experimental
77 root = /dev/sda1
78 label = Experimental
79 read-only # read-only for checking
80 append = "noexec=on net.ifnames=0 intel_pstate=disable ipv6.disable=1"
81
82 #
83 # Linux bootable partition config ends
84 #
85
86 ===========================================================================
87
88 --
89 Walter Dnes <waltdnes@××××××××.org>
90 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] kernel panic - lilo can't find boot Wols Lists <antlists@××××××××××××.uk>
Re: [gentoo-user] kernel panic - lilo can't find boot Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] kernel panic - lilo can't find boot karl@××××××××.se