Re: Bug#275688: kernel-image-2.6-686: apt-get remove does not put back the old kernel
reasign 275688 kernel-package
quit
I am reassigning this bug to kernel-package as it generally
handles dealing with the boot loaders.
On Sat, Oct 09, 2004 at 03:39:10PM +0100, Greg Kochanski wrote:
> Package: kernel-image-2.6-686
> Severity: normal
>
> I have a debian system that normally runs kernel-image-2.4-686 ;
> I put in kernel-image-2.6-686 as a test via
> apt-get install kernel-image-2.6-686 .
> Then, when I removed it later,
> via
> apt-get remove kernel-image-2.6-686
> the package was removed, but /etc/lilo.conf was not reconfigured
> to boot the old Debian kernel.
>
> For instance, /etc/lilo.conf is set to boot /vmlinuz, which is still linked
> to the 2.6.8 kernel. Fortunately, the backup kernel is still set to
> a 2.4 kernel that exists, but it's easy to imagine someone
> installing two different 2.6 kernels, removing them,
> and then finding that lilo no longer knows how to boot a 2.4 series kernel.
>
> It seems that the user could be better protected.
>
>
> gpk:07$ ls -l /initrd*
> lrwxrwxrwx 1 root root 27 Oct 9 08:42 /initrd.img -> boot/initrd.img-2.6.8-1-686
> lrwxrwxrwx 1 root root 28 Sep 5 15:44 /initrd.img.old -> boot/initrd.img-2.4.27-1-686
>
> gpk:07$ ls -l /vm*
> lrwxrwxrwx 1 root root 24 Oct 9 08:42 /vmlinuz -> boot/vmlinuz-2.6.8-1-686
> lrwxrwxrwx 1 root root 25 Sep 5 15:44 /vmlinuz.old -> boot/vmlinuz-2.4.27-1-686
> g
>
>
> gpk:07$ cat /etc/lilo.conf
> boot=/dev/hda
> timeout=200
> read-only
> large-memory
> lba32
>
> root=/dev/hda1
> install=/boot/boot.b
> map=/boot/map
> vga=normal
> delay=30
> image=/vmlinuz
> label = Linux
> initrd=/initrd.img
> image=/vmlinuz.old
> label = Linux.old
> initrd=/initrd.img.old
> gpk:07$
>
>
>
>
>
> -- System Information:
> Debian Release: 3.1
> APT prefers testing
> APT policy: (500, 'testing')
> Architecture: i386 (i686)
> Kernel: Linux 2.6.8-1-686
> Locale: LANG=C, LC_CTYPE=C
>
>
> --
> To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
Horms
Reply to: