Bei einem dist-upgrade wurde vor kurzem der Kernel 2.6.18-5 installiert; das Paket blieb 2.6.18-4 blieb bestehen:
Nach dem Neustart wurde allerdings der alte Kernel gebootet. Der Bootloader ist lilo, angeblich wurde die config auch während des updates angepasst.aptitude search linux-image hat geschrieben:i A linux-image-2.6-amd64 - Linux kernel 2.6 image on AMD64
i linux-image-2.6-amd64-k8-smp - Linux 2.6 image on AMD64 K8 SMP machines
i A linux-image-2.6.18-4-amd64 - Linux 2.6.18 image on AMD64
i A linux-image-2.6.18-5-amd64 - Linux 2.6.18 image on AMD64
Darauf hin habe ich mir mal / und /boot vorgenommen, sowie einen Blick in die Lilo.conf geworfen:uname -t hat geschrieben: 2.6.18-4-amd64
lilo.conf hat geschrieben:boot=/dev/sda
root=/dev/sda2
delay=20
default=Standardkernel
image=/boot/vmlinuz
label=Standardkernel
read-only
initrd=/boot/initrd.img
ls -alh / hat geschrieben:lrwxrwxrwx 1 root root 30 2007-09-05 11:03 initrd.img -> boot/initrd.img-2.6.18-5-amd64
lrwxrwxrwx 1 root root 30 2007-09-05 11:02 initrd.img.old -> boot/initrd.img-2.6.18-4-amd64
lrwxrwxrwx 1 root root 27 2007-09-05 11:03 vmlinuz -> boot/vmlinuz-2.6.18-5-amd64
lrwxrwxrwx 1 root root 27 2007-09-05 11:02 vmlinuz.old -> boot/vmlinuz-2.6.18-4-amd64
Jetzt die Frage:ls- alh /boot hat geschrieben:-rw-r--r-- 1 root root 512 2007-08-16 16:17 boot.0800
-rw-r--r-- 1 root root 64K 2007-05-04 02:29 config-2.6.18-4-amd64
-rw-r--r-- 1 root root 64K 2007-08-30 03:08 config-2.6.18-5-amd64
lrwxrwxrwx 1 root root 25 2007-08-16 16:17 initrd.img -> initrd.img-2.6.18-4-amd64
-rw-r--r-- 1 root root 5.1M 2007-09-05 11:02 initrd.img-2.6.18-4-amd64
-rw-r--r-- 1 root root 5.1M 2007-08-16 16:17 initrd.img-2.6.18-4-amd64.bak
-rw-r--r-- 1 root root 5.1M 2007-09-05 11:03 initrd.img-2.6.18-5-amd64
-rw------- 1 root root 80K 2007-09-05 11:03 map
-rw-r--r-- 1 root root 950K 2007-05-04 05:35 System.map-2.6.18-4-amd64
-rw-r--r-- 1 root root 951K 2007-08-30 05:29 System.map-2.6.18-5-amd64
lrwxrwxrwx 1 root root 22 2007-08-16 16:17 vmlinuz -> vmlinuz-2.6.18-4-amd64
-rw-r--r-- 1 root root 1.5M 2007-05-04 05:35 vmlinuz-2.6.18-4-amd64
-rw-r--r-- 1 root root 1.5M 2007-08-30 05:29 vmlinuz-2.6.18-5-amd64
Wie schaffe ich es, dass der 2.6.18-5 er Kern sauber bootet?
Meine spontane Idee ist jetzt, dass ich die lilo.conf so anpasse, dass "image=/boot/vmlinuz" auf den link im rootdir (also "/vmlinuz" anstatt "/boot/vmlinuz") zeigt (analog für die initrd). damit müsste der Debian-way eingehalten worden sein, und das System sauber hochkommen, oder?
Bei der Installation handelt es sich um eine Netinstall-Vorinstallation von Hetzner. Möglicherweise wurden da anpassungen an der lilo.conf und den symlinks in /boot gemacht, da diese offenbar von aptitude nicht angepasst wurden, die in / aber schon.
Da es sich um einen wichtigen produktiven Server handelt, würde ich gerne eure Meinung zu dem Thema wissen, bevor ich bastle.