[conspire] Gutsy after upgrade

David Fox dfox94085 at gmail.com
Thu Apr 10 18:26:54 PDT 2008


On Thu, Apr 10, 2008 at 5:35 PM, John Andrews <jla1000 at comcast.net> wrote:
>         I got Gutsy to finish the upgrade excxept it is using the old kernel. It 's
>  using 2.6.20.16 ppc and I have 2.6.22-14 ppc available. I seem to have too

Installing the desired kernel should have the effect of just putting
it at the top of the grub boot menu.



>  -rw-r--r-- 1 root root   58003 2006-09-08 12:50 config-2.6.15-26-powerpc
>  -rw-r--r-- 1 root root   57992 2007-09-24 10:18 config-2.6.15-29-powerpc
>  -rw-r--r-- 1 root root   57992 2007-12-06 12:25 config-2.6.15-51-powerpc

Wow, that sure is a lot of kernels.

Try removing the old kernels - something like

$ sudo aptitude remove linux-image-2.6.15-(minor version) should get
rid of all the associated kernels.

Repeat for the other older kernels on your system. I usually keep 3
available, probably don't need any more.

When i did my last upgrade in debian testing it got 2.6.24-1
something, and it's on the boot menu but I still choose to boot
2.6.22-2 because it is the kernel I have gotten the nvidia kernel to
work with and haven't gotten around to matching it up with the newest
kernels.


>         I WANT IT TO CHOOSE THIS ONE TO BOOT.
>  -rw-r--r-- 1 root root  757469 2008-02-11 20:30 System.map-2.6.22-14-powerpc
>  lrwxrwxrwx 1 root root      25 2008-01-26 21:28 vmlinux ->
>  vmlinux-2.6.22-14-powerpc

OK, is it in your grub menu? For instance, /boot/grub/menu.list
(partial) has these lines

title           Debian GNU/Linux, kernel 2.6.24-1-686
root            (hd1,5)
kernel          /boot/vmlinuz-2.6.24-1-686 root=/dev/hdb6 ro
initrd          /boot/initrd.img-2.6.24-1-686

title           Debian GNU/Linux, kernel 2.6.24-1-686 (single-user mode)
root            (hd1,5)
kernel          /boot/vmlinuz-2.6.24-1-686 root=/dev/hdb6 ro single
initrd          /boot/initrd.img-2.6.24-1-686

I imagine that the first stanzas boot by default, and the newest
kernel goes to the top of the list. Using an editor it is possible to
move the stanzas around.

Running:

dfox at m206-157:~$ sudo dpkg -l | grep linux-image | grep ^ii

shows which kernels are installed. Just remove the one(s) you don't
want and *be careful!!!* not to remove the kernel that is running.


ii  linux-image-2.6-686                  2.6.24+13
Linux 2.6 image on PPro/Celeron/PII/PIII/P4
ii  linux-image-2.6-k7                   2.6.24+13
Linux 2.6 image on AMD K7 - transition packa

A word about packages like this one: If you install linux-image-2.6*
something you will track any new package in the 2.6 series so when you
do an aptitude upgrade session it will pick up a new kernel if one is
available. If you explicitly install a version like 2.6.22-13-k7
something then you keep that version.




More information about the conspire mailing list