Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
Last edited by ankit_singh; 04-15-2013 at 07:27 AM.
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672
Rep:
If you've got all the relevant files in /boot you'll need to run
Code:
update-grub
to let the grub boot loader update itself and include the new kernel in it's boot list.
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.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
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
I checked with /boot/grub/menu.lst and it has entry for both the version (2.6.32 and 3.8.7)
Did you run update-grub? What version of Ubuntu or you using, most current versions of Ubuntu uses grub2 which uses the /boot/grub/grub.cfg verses legacy grub which uses /boot/grub/menu.lst.
Last edited by colorpurple21859; 04-15-2013 at 09:55 AM.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
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
to /etc/apt/sources.list and pull the kernel from there. If it doesn't require too many packages to be removed, it may be safer. However, if it will remove packages you know you need or are unsure of, compile yourself.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.