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

Re: build kernel problem



Hello

Jennifer wrote:

[...]

> Then I cd to /usr/src I ran the
> command " dpkg --install kernel-image-2.4.21-2-386_2.4.21-2_i386.deb".
> The console told me the following error message:
> 
> You are attempting to install an initrd kernel image (version
> 2.4.21-2-386). but you do not seem to have a mkinitrd command in the
> path. This will break the installation. I am aborting now. Could not
> find mkinitrd in path at /var/lib/dpkg/tmp.ci/preinst line 165.dpkg:
> error processing /usr/src/kernel-image....(--install)
> 
> So I used command of "find / -name mkinitrd". And there is no result.
> I also used "man mkinitrd", and it says no man entry for mkinitrd.

apt-cache search initrd
initrd-tools - Tools to generate an initrd image.

apt-get install initrd-tools
should solve the problem

best regards
        Andreas Janssen

-- 
Andreas Janssen
andreas.janssen@bigfoot.com
PGP-Key-ID: 0xDC801674
Registered Linux User #267976



Reply to: