On Tue, Jan 13, 2004 at 09:34:54AM -0500, Charles R. Anderson wrote:
On Tue, Jan 13, 2004 at 09:08:46AM -0500, Bill Mills-Curran wrote:
Question: Do I need to boot to the single-processor kernel in order to make a valid initrd image for a single-processor boot? I would hope that I can, but the man page is not specific about it. (I want to avoid the extra boot cycles.)
Mo, you can make an initrd for any installed kernel without booting to it.
mkinitrd /boot/initrd-2.4.20-28.9.img 2.4.20-28.9 mkinitrd /boot/initrd-2.4.20-28.9smp.img 2.4.20-28.9smp
Additionally, installing a Red Hat kernel package automatically does the mkinitrd and grub.conf steps for you, so you only need to manually run the commands above if you want a special kernel module loaded before / is mounted, or if you have a custom compiled kernel.
See also /sbin/installkernel.
Charles, Worked fine. Thanks. I needed to generate a new initrd to support a fibre HBA -- my machine is connected to a Clariion disk array with Qlogic HBA's. Bill