View previous topic :: View next topic |
Author |
Message |
IT04-Chris n00b
Joined: 25 Feb 2006 Posts: 7
|
Posted: Sat Feb 25, 2006 10:10 pm Post subject: New kernel installed, but it's still the old one displayed |
|
|
Hi all,
I have installed the new kernel-2.6.15-gentoo-r1 and make && make_modules. Then i copied the bzInage and the System.map to the /boot directory and changed the line in lilo.conf which links to the bzImage.
But when i reboot i still get displayed that kernel-2.6.12-r10 is loaded.
What have i done wrong?
Thanks
Chris |
|
Back to top |
|
|
KK_r Apprentice
Joined: 17 Dec 2003 Posts: 182
|
Posted: Sat Feb 25, 2006 10:12 pm Post subject: |
|
|
Have you rerun lilo? Grub is way better by the way. _________________ Seamos realistas, exijamos lo imposibile |
|
Back to top |
|
|
IT04-Chris n00b
Joined: 25 Feb 2006 Posts: 7
|
Posted: Sat Feb 25, 2006 10:24 pm Post subject: |
|
|
shit,
that's probably my fault. I forgot to run lilo again.
Now it's working.
Thanks for the hint.
Can i now delete the old kernel sources?
Chris |
|
Back to top |
|
|
KK_r Apprentice
Joined: 17 Dec 2003 Posts: 182
|
Posted: Sat Feb 25, 2006 10:29 pm Post subject: |
|
|
Sure if you don't want to keep it as backup.
I still recommend grub though. You can have to entries in the grub menu, one to the new kernel and one to the old. make install will softlink to both your new and your old kernel and grub won't have to be rerun. I used lilo first but I got sick of forgetting running it each time I recompiled my kernel. _________________ Seamos realistas, exijamos lo imposibile |
|
Back to top |
|
|
IT04-Chris n00b
Joined: 25 Feb 2006 Posts: 7
|
Posted: Sat Feb 25, 2006 10:31 pm Post subject: |
|
|
Thanks.
I will try to get grub running later on.
I think you are right. Grub is the up-to-date bootloader. But i think lilo.conf is eaiser to configure.
Chris |
|
Back to top |
|
|
KK_r Apprentice
Joined: 17 Dec 2003 Posts: 182
|
Posted: Sat Feb 25, 2006 10:36 pm Post subject: |
|
|
I agree, I thought so too in the beginning. Here's my grub.conf if it helps you (if it doesn't just ignore it )
Code: | timeout 10
default 0
fallback 1
splashimage (hd0,1)/grub/splash.xpm.gz
title Gentoo Linux
root (hd0,1)
kernel /vmlinuz ro root=/dev/hda4 video=vesafb:ywrap,pmipal,1024x768-32@85 splash=verbose,theme:emergence
initrd /splash
title Windows XP Pro
rootnoverify (hd0,0)
makeactive
chainloader +1
title Gentoo backup (old kernel)
root (hd0,1)
kernel /vmlinuz.old ro root=/dev/hda4
title Install GRUB into the hard disk
root (hd0,1)
setup (hd0) |
_________________ Seamos realistas, exijamos lo imposibile |
|
Back to top |
|
|
|