New Kernel
ok I tried to upgrade my kernel from 2.4.19 to 2.4.20.
first i downloaded the kernel source. then i did the xconfig then i did make dep then make bzImage (zImage gave an error about being too big. then mv bzImge to the boot dir then make modules then make modules_install then changed the lilo.conf to include the new image image=/boot/bzImage label=new then lilo to load the images reboot when lilo comes up i select ´new´ and my computer just restarts. i select just linux (the other image) and everything loads up but when i do uname -r, my old kernel version comes up where did i go wrong? Thanks in advance |
I'm guessing that if make bzImage gave an error that it was too big, you're newly compiled kernel simply isn't going to work.
I'd do a couple of things 1) Make copies of your old vmlinux and System.map so if your next kernel also goes kablooie, you still have a backup. After learning the hard way, I now have a vmlinuz.good and System.good that I can always use. 2) Did you actually name your kernel bzImage? Quote:
image=/boot/vmlinuz as far as I know, just using the standard compile creates a kernel called vmlinuz, not bzImage. 3) Head over to the Slackware section of the Distribution forum. DaOne has posted a very good explanation of how to compile a kernel including how and why to use make install after make bzImage. |
i think bzImage is correct
did u forget to do '/sbin/lilo -v' ? make sure your lilo.conf reflex the change you made |
All times are GMT -5. The time now is 07:14 AM. |