Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Kernel didn't update

Status
Not open for further replies.

kruxty

Programmer
Jul 17, 2001
197
PT
Hi,

i'd installed Red Hat 9.0 with 2.4.20-8 Kernel.

I'd downloaded the 2.6.9 kernel and did all the things that someone teach me.

Code:
make xconfig
make dep (said that it wasn't necessary NOW)
make bzImage
make modules
make modules_install
make bzlilo

and copied the vmlinuz and System.map to /boot


After this i had restarted the system and apparently the kernel still to be 2.4.20.

What was the problem?
 
First, I'd put the kernel version into the name of the new kernel image: /boot/vmlinuz-2.6.9 (do the same for the system.map file too). This makes it easier to keep track of what's what if you have multiple images. And trust me, when you are changing kernels, you NEED TO KEEP THE OLD ONE. Things can and probably will go wrong ;-)

If you are running lilo, then edit /etc/lilo.conf, make another recipe using a copy of your existing recipe for booting the 2.4.20-8 kernel. Change the filename where needed, run lilo. You should be ok. However, if it isn't, you will still have your previous working kernel available!

If you are using grub, do the same thing basically. Just copy and modify the existing, working stuff. Always leave yourself a safe backup configuration. Grub is a bit more forgiving in the event stuff goes wrong in my experience.

Anyway, hope that helps!

----
JBR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top