Re: How do I make an installation initrd.img for a new kernel?

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

 



Jay Cliburn wrote:
Barry Scott wrote:
I need up update the network install for FC4 so that it
supports new hardware (nVidia ethernet - forcedeth).

The 2.6.17 kernel is fine in this case. But the initrd.gz that
is installed in /boot is nothing like the images/pxeboot/initrd.img
from the installation CD.

I need to know how the images/pxeboot/initrd.img  was made
so that I can make a new one for the 2.6.17 kernel.

Can anyone point in the right direction?

Don't know about the pxeboot initrd, but to roll your own initrd, first make sure you have a kernel/initrd combination that allows you to boot into the machine in case the following causes problems.

Then save the existing initrd, and

mkinitrd -f --preload=module1 --preload=module2 --preload=moduleN \
initrd-<kernelversion>.img <kernelversion>

where <kernelversion> = `uname -r`

I realized after hitting send that my final "where..." statement could be misleading. <kernelversion> should be what `uname -r` would return on the target OS version, not necessarily the version you're running at the time you issue mkinitrd.

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux