Re: initrd and lilo.conf
On Tue, 2003-05-27 at 13:32, Brian Carver wrote:
> New problem:
>
> When I proceeded with the
>
> dpkg -i kernel-image-2.4.18-custom.1.0_i386.deb
>
> after deciding that initrd.img was ok to put in lilo.conf I get an error:
> -----
> Setting up kernel-image-2.4.18 (custom.1.0) ...
> Failed to create initrd image.
> dpkg: error processing kernel-image-2.4.18 (--install):
> subprocess post-installation script returned error exit status 2
> Errors were encountered while processing:
> kernel-image-2.4.18
> -----
> Any ideas why this is happening?
>
I imagine this is because you don't have initrd-tools installed. For
some reason the stock kernel images put this for depends:
Depends: initrd-tools (>= 0.1.40), coreutils | fileutils (>= 4.0),
modutils (>= 2.4.19)
but when you use make-kpkg, it only puts initrd-tools in "suggests"
Suggests: initrd-tools (>= 0.1.1), lilo (>= 19.1), fdutils,
kernel-doc-2.4.18-ml350 | kernel-source-2.4.18-ml350
try installing that package and I think you'll be all set, that should
probably be filed as a bug against kernel-package if it isn't already.
-Mark
Reply to: