PDA

View Full Version : [ubuntu] No Kernel Update On Upgrade?



NoVista
June 7th, 2008, 11:20 PM
Upgrading from Gutsy to Hardy, on bootup, it still says Gutsy?

Now I should mention, I already have a fresh Hardy install on another drive, and a Windows OS too.
I don't see how that would make a difference though.

Why won't the kernel update on an upgrade?

logos34
June 7th, 2008, 11:33 PM
try

sudo grub-install /dev/sda (or whatever your drive is)

sudo update-grub

If no change, post

ls /boot

cat /boot/grub/menu.lst

NoVista
June 7th, 2008, 11:51 PM
Ok thanks. I'll give that a whirl on the next attempt.

NoVista
June 7th, 2008, 11:52 PM
Wait, I have seperate home partition.

zvacet
June 8th, 2008, 09:20 AM
How many kernels do you have installed?Go to the synaptic and in search box type linux-image and you will see all kernelswhich are installed in your system.You can keep last Gutsy kernel ( if I remember correctly there were updates of that kernel) and of course Hardy kernel.Delete all others with lower number.After restart you should see Hardy kernel on grub.

NoVista
June 8th, 2008, 05:01 PM
Ok zvacet. I have a lot of kernels.

Is there a limit on how many kernels one can have?

JSnake
June 8th, 2008, 05:45 PM
Ok zvacet. I have a lot of kernels.

Is there a limit on how many kernels one can have?

Generally, it's wise to delete previous kernels after every new kernel update.

logos34
June 8th, 2008, 06:16 PM
Generally, it's wise to delete previous kernels after every new kernel update.

It is? I thought the general rule was to keep the previous (working) kernel in case you ever need it in a pinch

zvacet
June 8th, 2008, 08:34 PM
@ logos34

You are right,but I think we get 3 or 4 kernel upgrades in Hardy.If just one of them work it is O.K.If they all work even better.In that case he can delete all previous kernels(Gutsy,Feisty maybe...) and still have few working kernels which will show up in grub.Correct me if I´m wrong.

logos34
June 8th, 2008, 09:13 PM
@ logos34

You are right,but I think we get 3 or 4 kernel upgrades in Hardy.

Yeah, I was just talking about Hardy. You know, update to -18, but keep the most recent working kernel, like -16 or -17, whatever...Ditch all the rest from previous releases (gutsy, feisty, etc)