für mich sieht es so aus, als ob die Links "vmlinuz.old","vmlinuz","initrd.img .old" & "initrd.img" falsch sind. Aber warum werden die von apt-get nicht neu geschrieben ?
*wunder*
hier die etwas ausführlicheren Ausgaben & lilo.conf :
Code: Select all
s12345678:~# apt-get remove kernel-image-2.4.21-1-686-smp
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
kernel-image-2.4.21-1-686-smp
0 packages upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
Need to get 0B of archives. After unpacking 29.1MB will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 39800 files and directories currently installed.)
Removing kernel-image-2.4.21-1-686-smp ...
s12345678:~# apt-get install kernel-image-2.4.21-1-686-smp
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
kernel-image-2.4.21-1-686-smp
0 packages upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/10.5MB of archives. After unpacking 29.1MB will be used.
Selecting previously deselected package kernel-image-2.4.21-1-686-smp.
(Reading database ... 38589 files and directories currently installed.)
Unpacking kernel-image-2.4.21-1-686-smp (from .../kernel-image-2.4.21-1-686-smp_2.4.2
1-0.nobse.1_i386.deb) ...
You are attempting to install an initrd kernel image (version 2.4.21-1-686-smp)
This will not work unless you have configured your boot loader to use
initrd. (An initrd image is a kernel image that expects to use an INITial
Ram Disk to mount a minimal root file system into RAM and use that for
booting).
As a reminder, in order to configure lilo, you need to
add an 'initrd=/initrd.img' to the image=/vmlinuz
stanza of your /etc/lilo.conf
I repeat, You need to configure your boot loader. If you have already done
so, and you wish to get rid of this message, please put
`do_initrd = Yes'
in /etc/kernel-img.conf. Note that this is optional, but if you do not,
you'll contitnue to see this message whenever you install a kernel
image using initrd.
Do you want to stop now? [Y/n] n
Setting up kernel-image-2.4.21-1-686-smp (2.4.21-0.nobse.1) ...
A new kernel image has been installed, and usually that means
that some action has to be taken to make sure that the new
kernel image is used next time the machine boots. Usually,
this entails running a ``bootloader'' like SILO, loadlin, LILO,
ELILO, QUIK, VMELILO, ZIPL, or booting from a floppy. (Some
boot loader, like grub, for example, do not need to be run on
each new image install, so please ignore this if you are using
such a boot loader).
A new kernel image has been installed. at /boot/vmlinuz-2.4.21-1-686-smp
(Size: 715kB)
Initial rootdisk image: /boot//initrd.img-2.4.21-1-686-smp (Size: )
Symbolic links, unless otherwise specified, can be found in /
LILO sets up your system to boot Linux directly from your hard
disk, without the need for booting from a boot floppy.
WARNING
If you are keeping another operating system or another version
of Linux on a separate disk partition, you should not have LILO
install a boot block now. Wait until you read the LILO documentation.
That is because installing a boot block now might make the other
system un-bootable. If you only want to run this version of Linux,
go ahead and install the boot block here. If it does not work, you
can still boot this system from a boot floppy.
You already have a LILO configuration in /etc/lilo.conf
Install a boot block using the existing /etc/lilo.conf? [Yes] Yes
Testing lilo.conf ...
Testing successful.
Installing the partition boot sector...
Installation successful.
s12345678:~# cat /etc/lilo.conf
boot=/dev/sda
root=/dev/sda3
install=/boot/boot-menu.b
lba32
image=/vmlinuz
initrd=/initrd.img
label=debian
read-only
s15137446:/# ls -la
total 122
drwxr-xr-x 22 root root 4096 Jul 13 18:46 .
drwxr-xr-x 22 root root 4096 Jul 13 18:46 ..
drwxr-xr-x 2 root root 4096 Jul 3 14:08 bin
drwxr-xr-x 3 root root 2048 Jul 13 18:46 boot
drwxr-xr-x 2 root root 4096 Jul 1 21:31 cdrom
drwxr-xr-x 9 root root 24576 Jul 13 18:33 dev
drwxr-xr-x 70 root root 4096 Jul 13 18:33 etc
drwxr-xr-x 2 root root 4096 Jul 1 21:31 floppy
drwxr-xr-x 9 root root 4096 Jul 10 00:36 home
drwxr-xr-x 2 root root 4096 Jul 1 21:31 initrd
lrwxrwxrwx 1 root root 28 Jul 4 19:11 initrd.img -> boot/initrd.img-2.4.21-1-686
lrwxrwxrwx 1 root root 32 Jul 4 19:04 initrd.img.old -> boot/initrd.img-2.4.21-1-686-smp
drwxr-xr-x 6 root root 4096 Jul 3 14:06 lib
drwx------ 2 root root 16384 Jul 1 21:28 lost+found
drwxr-xr-x 2 root root 4096 Feb 8 2002 mnt
drwxr-xr-x 2 root root 4096 Jul 1 21:31 opt
drwxrwxrwx 2 root root 4096 Jul 10 16:33 phpatmp
dr-xr-xr-x 73 root root 0 Jul 13 18:33 proc
drwxr-xr-x 15 root root 4096 Jul 11 02:13 root
drwxr-xr-x 2 root root 4096 Jul 3 14:06 sbin
-rwxr--r-- 1 root root 213 Jul 1 21:28 stage2.sh
-rwxr--r-- 1 root root 3560 Jun 3 09:57 stage3.sh
drwxrwxrwt 4 root root 4096 Jul 13 18:46 tmp
drwxr-xr-x 14 root root 4096 Jul 1 21:39 usr
drwxr-xr-x 18 root root 4096 Jul 9 14:39 var
lrwxrwxrwx 1 root root 25 Jul 4 19:11 vmlinuz -> boot/vmlinuz-2.4.21-1-686
lrwxrwxrwx 1 root root 29 Jul 4 19:04 vmlinuz.old -> boot/vmlinuz-2.4.21-1-686-smp
drwxr-xr-x 12 root root 4096 Jul 5 03:53 www