[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Strange behaviour at kernel upgrade

I got this strange behaviour on Sid today while upgrading
kernel-image-2.6.8-1-686. Notice on the log that I answered "n" to "Do
you want to stop now? [Y/n]", and it aborted just like if I answered

The only thing noticeable is that I took a long time (a few minutes) to
answer. I suspect there should be no timeout in this case.

I just wanted to let you know, just in case.

Preparing to replace kernel-headers-2.6.8-1 2.6.8-3 (using
.../kernel-headers-2.6.8-1_2.6.8-4_i386.deb) ...
Unpacking replacement kernel-headers-2.6.8-1 ...
 Preparing to replace kernel-headers-2.6.8-1-686 2.6.8-3 (using
.../kernel-headers-2.6.8-1-686_2.6.8-4_i386.deb) ...
Unpacking replacement kernel-headers-2.6.8-1-686 ...
Preparing to replace kernel-image-2.6.8-1-686 2.6.8-3 (using
.../kernel-image-2.6.8-1-686_2.6.8-4_i386.deb) ...

You are attempting to install an initrd kernel image (version
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
Ram Disk to mount a minimal root file system into RAM and use that for

   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 -- please read your
bootloader documentation for details on how to add initrd images.

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 will continue to see this message whenever you install a kernel
image using initrd.
Do you want to stop now? [Y/n]n
Ok, Aborting
dpkg: error processing
 subprocess pre-installation script returned error exit status 1

Jérôme Warnier

Reply to: