1 |
Greets, gentoo-users. |
2 |
|
3 |
I have a lilo-related problem and can't find a solution on the net, so I |
4 |
ask you for ideas. |
5 |
|
6 |
This box should boot from SW-RAID-1, and it has also already done that. |
7 |
After editing a label inside lilo.conf I issued "lilo" and got this: |
8 |
|
9 |
|
10 |
# lilo -v5 |
11 |
LILO version 22.7.3, Copyright (C) 1992-1998 Werner Almesberger |
12 |
Development beyond version 21 Copyright (C) 1999-2006 John Coffman |
13 |
Released 11-Aug-2006 and compiled at 10:53:57 on Mar 1 2007 |
14 |
|
15 |
raid_setup: dev=000C rdev=0901 |
16 |
pf_hard_disk_scan: (3,0) /dev/hda |
17 |
pf_hard_disk_scan: (3,1) /dev/hda1 |
18 |
lookup_dev: number=0300 |
19 |
lookup_dev: number=0300 |
20 |
pf: dev=0300 id=12D0E48D name=/dev/hda |
21 |
geo_query_dev: device=0300 |
22 |
lookup_dev: number=0300 |
23 |
exit geo_query_dev |
24 |
bios_dev: device 0300 |
25 |
lookup_dev: number=0300 |
26 |
bios_dev: masked device 0300, which is /dev/hda |
27 |
bios_dev: geometry check found 0 matches |
28 |
bios_dev: (0x85) vol-ID=00000000 *PT=0807055E |
29 |
bios_dev: (0x84) vol-ID=00000000 *PT=08070516 |
30 |
bios_dev: (0x83) vol-ID=00000000 *PT=080704CE |
31 |
bios_dev: (0x82) vol-ID=00000000 *PT=08070486 |
32 |
bios_dev: (0x81) vol-ID=288B2D7D *PT=0807043E |
33 |
bios_dev: (0x80) vol-ID=12D0E48D *PT=080703F6 |
34 |
bios_dev: PT match found 2 matches (0x80) |
35 |
bios_dev: S/N match found 1 match (0x80) |
36 |
pf_hard_disk_scan: (3,2) /dev/hda2 |
37 |
pf_hard_disk_scan: (3,3) /dev/hda3 |
38 |
pf_hard_disk_scan: (3,4) /dev/hda4 |
39 |
part_nowrite: read:: No such file or directory |
40 |
|
41 |
|
42 |
-- The configs: |
43 |
|
44 |
# /etc/lilo.conf |
45 |
|
46 |
menu-scheme=Wb:kw:Wb:Wb |
47 |
lba32 |
48 |
|
49 |
boot=/dev/md1 |
50 |
raid-extra-boot="/dev/hda,/dev/hdc" |
51 |
change-rules |
52 |
reset |
53 |
read-only |
54 |
default=Gentoo |
55 |
timeout=5 |
56 |
|
57 |
#image=/boot/kernel-genkernel-x86-2.6.18-gentoo-r6 |
58 |
#label=2.6.18-r6 |
59 |
#vga=0x314 |
60 |
#initrd=/boot/initramfs-genkernel-x86-2.6.18-gentoo-r6 |
61 |
|
62 |
image=/boot/kernel-genkernel-x86-2.6.19-gentoo-r5 |
63 |
label=Gentoo |
64 |
vga=0x314 |
65 |
initrd=/boot/initramfs-genkernel-x86-2.6.19-gentoo-r5 |
66 |
|
67 |
# ls -l /boot |
68 |
total 9.1M |
69 |
drwxr-xr-x 3 root root 1.0K Mar 1 10:54 . |
70 |
drwxr-xr-x 19 root root 4.0K Feb 26 12:05 .. |
71 |
-rw-r--r-- 1 root root 0 Aug 3 2006 .keep |
72 |
-rw-r--r-- 1 root root 0 Mar 1 10:54 .keep_sys-boot_lilo-0 |
73 |
-rw-r--r-- 1 root root 764K Feb 26 12:43 |
74 |
System.map-genkernel-x86-2.6.18-gentoo-r6 |
75 |
-rw-r--r-- 1 root root 786K Feb 26 14:12 |
76 |
System.map-genkernel-x86-2.6.19-gentoo-r5 |
77 |
lrwxrwxrwx 1 root root 1 Feb 26 11:48 boot -> . |
78 |
-rw-r--r-- 1 root root 512 Feb 26 12:54 boot.0300 |
79 |
-rw-r--r-- 1 root root 512 Feb 26 12:54 boot.0901 |
80 |
-rw-r--r-- 1 root root 512 Feb 26 12:54 boot.1600 |
81 |
-rw-r--r-- 1 root root 1.6M Feb 26 12:44 |
82 |
initramfs-genkernel-x86-2.6.18-gentoo-r6 |
83 |
-rw-r--r-- 1 root root 1.6M Feb 26 14:13 |
84 |
initramfs-genkernel-x86-2.6.19-gentoo-r5 |
85 |
-rw-r--r-- 1 root root 2.3M Feb 26 12:43 |
86 |
kernel-genkernel-x86-2.6.18-gentoo-r6 |
87 |
-rw-r--r-- 1 root root 2.1M Feb 26 14:12 |
88 |
kernel-genkernel-x86-2.6.19-gentoo-r5 |
89 |
drwx------ 2 root root 12K Jun 26 2006 lost+found |
90 |
-rw------- 1 root root 90K Feb 26 19:08 map |
91 |
|
92 |
# mount |
93 |
/dev/md/3 on / type ext3 (rw,noatime) |
94 |
proc on /proc type proc (rw) |
95 |
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) |
96 |
udev on /dev type tmpfs (rw,nosuid) |
97 |
devpts on /dev/pts type devpts (rw,nosuid,noexec) |
98 |
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) |
99 |
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc |
100 |
(rw,noexec,nosuid,nodev) |
101 |
/dev/md/4 on /mnt/data type ext3 (rw,noatime) |
102 |
/dev/md/1 on /boot type ext2 (rw,noatime) |
103 |
|
104 |
# cat /proc/partitions |
105 |
major minor #blocks name |
106 |
|
107 |
3 0 78184008 hda |
108 |
3 1 96358 hda1 |
109 |
3 2 996030 hda2 |
110 |
3 3 9767520 hda3 |
111 |
3 4 67320382 hda4 |
112 |
22 0 78184008 hdc |
113 |
22 1 96358 hdc1 |
114 |
22 2 996030 hdc2 |
115 |
22 3 9767520 hdc3 |
116 |
22 4 67320382 hdc4 |
117 |
8 0 390711384 sda |
118 |
8 1 390708801 sda1 |
119 |
8 16 390711384 sdb |
120 |
8 17 390708801 sdb1 |
121 |
8 32 390711384 sdc |
122 |
8 33 390708801 sdc1 |
123 |
8 48 390711384 sdd |
124 |
8 49 390708801 sdd1 |
125 |
9 4 781417472 md4 |
126 |
9 3 9767424 md3 |
127 |
9 2 995904 md2 |
128 |
9 1 96256 md1 |
129 |
|
130 |
# cat /proc/version |
131 |
Linux version 2.6.19-gentoo-r5 (root@samba) (gcc version 4.1.1 (Gentoo |
132 |
4.1.1-r1)) #3 Mon Feb 26 14:12:20 CET 2007 |
133 |
|
134 |
# cat /etc/fstab |
135 |
|
136 |
/dev/md1 /boot ext2 noauto,noatime 1 2 |
137 |
/dev/md3 / ext3 noatime 0 1 |
138 |
/dev/md2 none swap sw 0 0 |
139 |
/dev/md4 /mnt/data ext3 noatime 0 1 |
140 |
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0 |
141 |
proc /proc proc defaults 0 0 |
142 |
shm /dev/shm tmpfs |
143 |
nodev,nosuid,noexec 0 0 |
144 |
|
145 |
|
146 |
--- |
147 |
|
148 |
Did I forget something? |
149 |
|
150 |
Ah, yes, lilo-22.7.3-r1 used and already re-emerged. |
151 |
I even tried to install LILO to /dev/hda only, without the |
152 |
raid-extra-boot parameter, same messages. |
153 |
|
154 |
Originally LILO was installed inside the chroot, maybe I did something |
155 |
wrong there (although it installed clean and also booted fine). I used |
156 |
LILO because I wasn't able to install GRUB with the SW-RAID-stuff. |
157 |
|
158 |
Maybe this doesn't properly work with the now running kernel? |
159 |
|
160 |
Any ideas how to solve that? |
161 |
|
162 |
This box has to be rebooted early next week due to a change of location ;) |
163 |
|
164 |
Thanks, greets, Stefan. |
165 |
|
166 |
-- |
167 |
gentoo-user@g.o mailing list |