Hi, I am newly
getting to start to learn Debian, and try to get Debian working on my
PC.
I used Debian 3.0 Woody CD set (7 of them) to
install. And the kernel version is 2.2.20. For I need to install Oracle9i on
this Debian, so I need to upgrade kernel to 2.4.xx
I downloaded
"kernel-image-2.4.21-2-386_2.4.21-2_i386.deb" from Debian site.
And I copied this image file to
/usr/src/
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.
In this case, what should I do?
Your advice will be highly appreciated. Thank you
very much.
Jennifer Z |
- Re: build kernel problem Jennifer
- Re: build kernel problem Andreas Janssen
- Re: build kernel problem Florian Ernst