I haven't compiled a kernel manually before on my own. I got the
standard Red Hat 7.2 distribution, and I'm trying to upgrade it to
2.4.13 so my Promise Fasttrak100 RAID controller will work. I end up
with a kernel panic error message from my latest attempt, saying that it
couldn't detect /sysroot, /sysroot/initrd. I'm thinking that was
because maybe /dev/hda2 isn't the correct boot partition once the RAID
drives get recognized, but I'm not even totally sure I set things up
right. Can someone see if what I'm doing is wrong? Here are the steps
I first extracted the 2.4.13 kernel source, and followed the README
instructions closely, running man xconfig, making sure that RAM disk
functionality was turned on. I then installed the modules. I noticed
in /boot there wasn't an initrd-2.4.13.img in there, so I first tried
following the initrd.txt that came with the kernel doc. It said to copy
"all the files that are needed to properly use the initrd environment"
.. no clue what those were...so I looked online. One post said to just
go into /boot and type mkinitrd initrd-2.4.13.img 2.4.13 and that'd
work. It looked nice and simple and it produced a reasonably-sized 265k
file. Since I'm running grub, I went into /boot/grub/grub.conf and
followed the format of the 2.4.7-10 kernel that Red Hat set up. Well, I
tried selecting the 2.4.13 kernel after that was done and it's not
working. I notice there's no /boot/modules-info-2.4.13 nor a
/boot/kernel.h-2.4.13 and I'm hoping that's okay. Should I just start
guessing /dev/hd*'s or is there something I didn't do right?
Thanks for any help you can offer.