Update Linux Kernel
Hello,
Currently am having Ubuntu 2.6.32 on my machine and want to update it with kernel 3.8.7. I have followed below steps:- 1.) Downloaded Kernel 3.8.7 from kernel.org 2.) Compiled it with below steps a.) make b.) make modules c.) make modules_install (after have root access "su") d.) make install After above steps i could see initramfs-3.8.7.img, System.map-3.8.7 and vmlinux-3.8.7 files in/boot but still on rebooting am not seeing any option for 3.8.7 boot and its booting still the old kernel (2.6.32) Please let me know if am missing any thing?? I also noticed that congfig-3.8.7 file is missing (could see config-2.6.32-131.0.15.e16.x86_64, so thought same should be there for 3.8.7 also), is this the reason? If so then how to generate this file. Regards, Ankit Singh |
If you've got all the relevant files in /boot you'll need to run
Code:
update-grub I'm running Ubuntu 10.4 LTS which is still using the 2.6.32-46 kernel which I keep up to date with the Software Update Manager. It keeps offering me an upgrade to Ubuntu 12.something (The one with Unity desktop which I don't really want yet.), it's running the 3.n kernel. I'm not sure if there are likely to be any problems jumping from 2.6.32 up to 3.8.7. Play Bonny! :hattip: |
I checked with /boot/grub/menu.lst and it has entry for both the version (2.6.32 and 3.8.7)
|
I don't know how good it is but this shows you how to build .deb kernel packages so you can manage them with dpkg and apt-get. I've used it and it seems do do OK.
http://mapopa.blogspot.co.uk/2009/01/compiling-2.html |
Quote:
|
Follow the instructions on the page 273 linked, but I think you get everything you need if instead of:
Code:
make-kpkg clean Code:
make-kpkg clean |
Of course you can change vanillaice to something less cheezy if you want also. I tried using localmodconfig rather than menuconfig too but I'm new to this so I'm still finding out the differences.
|
One more suggestion for the original poster. Before compiling for yourself, if a stock kernel works for you, add
Code:
http://cdn.debian.net/ experimental main This is how I get my newer kernels on a Wheezy system, but that's likely newer than yours and the rest of the packages are already up to date. |
Quote:
Code:
update-grub You could upgrade to Ubuntu 12.4 which I believe has the 3.x kernel then accept any further updates offered rather than installing by hand. Play Bonny! :hattip: |
Thanks to all from the help, actually issue was in menu.lst file as it was having 3.8.7 as hidden....!!!
|
All times are GMT -5. The time now is 10:34 AM. |