DebianThis forum is for the discussion of Debian Linux.
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.
When I installed Lenny it showed during startup that the kernel is 2.6.25-2-686.
I updated my sources.list from Synaptic and then checked "status" which gave some results under labels--installed, installed (auto removable)...you know them. I selected "installed (upgradeable)" and marked them all for upgrading and clicked apply.
It upgraded fine except three items due to some errors.
When I rebooted in Windows, the Grub menu came up with six options instead of the previous four! The new options were
Quote:
Linux kernel 2.6.25-1-686
and
Quote:
linux kernel 2.6.25-1-686 (single user...)
This apparently frightened me--I was worried if my system was ok. Well, to my relief, I'm now writing from my Debian system.
But, was it any sort of downgrading? I dared not log in to that 2.6.25-1-686 kernel system.
Hang on! Keep the old kernel for a while, as the new one may contain bugs (you're not on Stable, obviously) that may render it unusable/unbootable at one time. Keeping the old kernel at least gives you a workable system to fix stuff from... I still have the (ancient) 2.6.24.18 kernel from Stable available on my system, while I run 2.6.25.9 on my desktop.
I haven't yet deleted the old kernel's entry from the menu.lst.
But does deleting the old kernel's entry from the menu.lst mean deleting the kernel itself from the machine? Or, does it still stay? Dutch Master says he still has the old kernel's entry in his menu.lst. Does that mean he can boot the "(ancient) 2.6.24.18 kernel"?
Last edited by TristanDee; 09-15-2008 at 02:11 AM.
Reason: typo
As Dutch Master says, you shouldn't remove the kernel right away. Test the new one thoroughly before you uninstall the old one. It's perfectly fine to have more than one kernel at a time in /boot. In fact, the only real limit is size (if /boot is on its own very small partition, you can sometimes run out of space).
As a general rule with Debian, you will not have to edit /boot/grub/menu.lst manually. When you add a kernel using any of the APT tools, the menu list gets updated automagically, and likewise when you remove a kernel using an APT tool, it's entry will be removed from the menu list automatically for you.
That's great advice from you all. I'm gonna keep the old kernel.
One thing: can installing something that might be compatible with the older kernel cause problems for the newer one? I don't know if that's the way, but it just struck me there might be some sort of dependency-thing about it. I'm now logging in to the new kernel system, hence the worry.
I recently had to install Debian Lenny on another machine. After installation and setting up the necessary sources in the sources.list, I updated and upgraded with apt-get. But this didn't upgrade the kernel to 2.6.26-1-686 as it happened on the machine I wrote about above and remains 2.6.25-1-686.
Anybody has any speculation why?
BTW, I thought it's better to revive an old thread (one-month-old) than creating a new one since the issue is relevant.
You only get the kernel upgrade automatically if you installed a dummy kernel package, something like linux-image-2.6-686 in your case. That package exists only to make sure that you have the latest version of the -686 kernel in the 2.6 series. Depending on how you installed, you may not have that package. Try this search on both machines to compare:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.