1 |
Someone has given me a system to configure their printer on it. |
2 |
|
3 |
yababa root # uname -a |
4 |
Linux yababa.io.spectraitc.com 2.4.19-gentoo-r10 #3 Tue Feb 25 14:40:41 CST |
5 |
2003 i686 Pentium III (Katmai) GenuineIntel GNU/Linux |
6 |
yababa root # |
7 |
|
8 |
When I connect the printer, I get |
9 |
|
10 |
Feb 26 02:15:57 yababa /etc/hotplug/usb.agent: ... no modules for USB |
11 |
product 4e8/326c/100 |
12 |
|
13 |
|
14 |
I figured, the USB support for printer wan not enabled in the kernel. Found |
15 |
it to be the case. So I rebuilt the kernel. |
16 |
|
17 |
Now I want to add the new kernel to the existing boot menu and I am baffeled |
18 |
by some findings. |
19 |
The boot menu says it is LILO, so I went to /etc/lilo.conf |
20 |
|
21 |
This is how it looks |
22 |
|
23 |
---------------- |
24 |
# $Header: /home/cvsroot/gentoo-x86/sys-apps/lilo/files/lilo.conf,v 1.3 |
25 |
2002/09/30 00:55:18 woodchip Exp $ |
26 |
# Author: Ultanium |
27 |
# Start LILO global section |
28 |
menu-scheme=Wb |
29 |
boot = /dev/hda |
30 |
prompt |
31 |
#boot=/devices/discs/disc0/disc |
32 |
map = /boot/System.map |
33 |
#compact # faster, but won't work on all systems. |
34 |
lba32 |
35 |
#if lba32 do not work, use linear |
36 |
#linear |
37 |
#if you always want to see the prompt with a 15 second timeout: |
38 |
timeout=90 |
39 |
delay = 50 |
40 |
vga = normal # Normal VGA console |
41 |
# End LILO global section |
42 |
# Linux bootable partition config begins |
43 |
image = /boot/bzImage |
44 |
root = /dev/hda7 |
45 |
label = Gentoo |
46 |
read-only # read-only for checking |
47 |
image = /boot/bzImage.OLD |
48 |
root = /dev/hda7 |
49 |
label = Gentoo_Old |
50 |
read-only # read-only for checking |
51 |
image = /boot/bzImageAR |
52 |
root = /dev/hda7 |
53 |
label = Gentoo_new |
54 |
read-only # read-only for checking |
55 |
# |
56 |
# Linux bootable partition config ends |
57 |
|
58 |
---------------- |
59 |
|
60 |
I added the section |
61 |
----------- |
62 |
image = /boot/bzImageAR |
63 |
root = /dev/hda7 |
64 |
label = Gentoo_new |
65 |
read-only # read-only for checking |
66 |
----------- |
67 |
|
68 |
This is what I don't understand |
69 |
|
70 |
------------------ |
71 |
|
72 |
yababa root # ls -l /boot/ |
73 |
total 1272 |
74 |
-rw-r--r-- 1 root root 483904 Feb 26 04:56 System.map-2.4.19r10AR |
75 |
lrwxrwxrwx 1 root root 1 Jan 12 2003 boot -> . |
76 |
-rw-r--r-- 1 root root 814688 Feb 26 04:40 bzImageAR |
77 |
yababa root # |
78 |
|
79 |
--------------------- |
80 |
|
81 |
boot points to itself. Before I copied the System.map-2.4.19r10AR and |
82 |
bzImageAR, there was nothing in there. |
83 |
|
84 |
How does the system boot? ? ? |
85 |
|
86 |
Of course if I run /sbin/lilo, the system complains |
87 |
yababa root # /sbin/lilo |
88 |
Fatal: open /boot/bzImage: No such file or directory |
89 |
yababa root # |
90 |
|
91 |
|
92 |
Any pointers will be greatly appreciated ! |
93 |
Regards |
94 |
Pete |
95 |
-- |
96 |
gentoo-user@g.o mailing list |