Hi all... This is about /sbin/instalkernel behaviour. I have noticed since time ago, but just now remembered to comment on the list. Let's suppose you have a setup like:
werewolf:/boot# ll ... lrwxrwxrwx 1 root root 19 Nov 30 01:19 vmlinuz -> vmlinuz-2.4.17-pre1 -rw-r--r-- 1 root root 856701 Nov 27 00:14 vmlinuz-2.4.16 -rw-r--r-- 1 root root 856422 Nov 30 01:19 vmlinuz-2.4.17-pre1 When you build a new kernel, old one is saved as vmlinuz.old. But if you are building a new try of the same kernel, you get something like vmlinuz -> vmlinuz-2.4.17-pre1 vmlinuz.old -> vmlinuz-2.4.17-pre1 so .old points to the new image also. Old original one is lost. I think it will be safer to check if vmlinuz is a symlink, and in this case copy referenced image to .old, and make vmlinuz.old point to it: vmlinuz -> vmlinuz-2.4.17-pre1 (new one) vmlinuz.old -> vmlinuz-2.4.17-pre1.old (old one) Comments ? -- J.A. Magallon # Let the source be with you... mailto:[EMAIL PROTECTED] Mandrake Linux release 8.2 (Cooker) for i586 Linux werewolf 2.4.17-pre1 #1 SMP Thu Nov 29 00:13:49 CET 2001 i686
