PDA

View Full Version : Installing new kernal and Lilo


Init-0
10-20-01, 12:43 PM
Ive recently compiled and installed a new kernel.
I think ive got everything right on the kernel install and copied the system.map and the kernel image into the /boot directory
The moduals are in.
I think my problem has to do with lilo
this is what ive entered

image=/boot/vmlinuz-2.4.8
lable=linux-2.4
root=/dev/hdb2 (this is where i think my problem is, i use the df /boot command to see where the image is but i dont think this is right)
read-only

then i run lilo

I get the error "no setup signature found"

Can anyone help me out with what im doing wrong?

Ive tried multiple partitions in the root=/dev/hda/b2/5

so what me doing wrong?

Im runnin on redhat 7.0 if thats any help and upgrading from kernel 2.2.16 to 2.4.8 , on i586 system (amd k6-500mhz)

David
10-21-01, 08:53 AM
Originally posted by Init-0
Ive recently compiled and installed a new kernel.
I think ive got everything right on the kernel install and copied the system.map and the kernel image into the /boot directory
The moduals are in.
I think my problem has to do with lilo
this is what ive entered

image=/boot/vmlinuz-2.4.8
lable=linux-2.4
root=/dev/hdb2 (this is where i think my problem is, i use the df /boot command to see where the image is but i dont think this is right)
read-only

then i run lilo

I get the error "no setup signature found"

Can anyone help me out with what im doing wrong?


lable=linux-2.4

try removing the dash from it - eg linux2.4
lable? American spellings...sheesh! its label

image = /boot/vmlinuz-2.4.8
is this definately where the image is? do 'ls /boot' and check.

If all else fails, reinstall lilo. I think maybe you are missing boot.b or something.

Init-0
10-21-01, 10:15 AM
It dosnt seem to be that
Im gonna recompile with a newer kernel
I have the 2.4.8
but ive found the 2.4.12
The lable/label thing was a typo in the message :P (stupid fingers:)
I got the boot.b file and lilo works fine with my 2.2.16 kernel (i kept that in lilo as part of the "Just in case" factor)
One thing i have noticed, in my /usrc/src/linux directory i got 3 files flashing red (this is redhat7.0)
Linux-2.4.8,linux2.3.8 linux2.4.8
With the error, too many symbolic links.

Why do i have a strange love for this part of the process? :P

Init-0
10-21-01, 11:48 AM
Well i recompilled the 2.4.8 kernel (problem with the 2.4.12 tar file)
I copied over the system.map and the zImage to the /boot directory
i used
cp /usr/src/linux/arch/i386/boot/zImage /boot/vmlinuz2.4.8
its in the direcotry now
i copied over the system.map the same way

then the lilo.conf file is the same as before

image=/boot/vmlinuz2.4.8
etc etc

I still get the no setup signature
The kernel is compiled into the /usr/src/linux directory

Btw the old kernal image in the /boot is highlighted green
does this mean anything?

David
10-25-01, 07:24 AM
try:
make bzImage, not make zImage :mad:

try NOT copying the System.map
(It works for me)