Am 07. Aug, 2003 schw=E4tzte Miles Beck so:
> Where are the kernels located?
/boot, but there are symlinks in /.
$ ls -l /vml* /init*
lrwxrwxrwx 1 root root 26 Sep 8 2002 /initrd.img ->
/boot/initrd.img-2.4.19-k6
lrwxrwxrwx 1 root root 26 Sep 8 2002 /initrd.img.old ->
/boot/initrd.img-2.4.18-k6
lrwxrwxrwx 1 root root 22 Sep 8 2002 /vmlinuz ->
boot/vmlinuz-2.4.19-k6
lrwxrwxrwx 1 root root 22 Sep 8 2002 /vmlinuz.old ->
boot/vmlinuz-2.4.18-k6
> And how do I remove a kernel that is no good?
Change the symlinks to point to something you want and edit your boot loade=
r
config file. I think you're running lilo, so /etc/lilo.conf.
Using apt to remove the kernel package should work, though.
$ dpkg -S /boot/vmlinuz-2.4.18-k6
kernel-image-2.4.18-k6: /boot/vmlinuz-2.4.18-k6
# apt-get remove kernel-image-2.4.18-k6
I always verify the symlinks after a kernel upgrade and I run lilo by hand
to make sure it's doing what I want. If you're using grub you just need to
verify that the config file is correct.
ciao,
der.hans
--=20
# https://www.LuftHans.com/ http://www.AZOTO.org/
# When you are tired of choosing the lesser of two evils,
# Vote Cthulhu for President!