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

kernel rebuild and grub.conf



I just compiled the 2.4.21 kernel for my rh9 server, but i can't get it to
boot. There's an error in my grub.conf file, but i don't know how to resolve.

The file reads:

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz

title Red Hat Linux (2.4.21smp)
        root (hd0,0)
        kernel /vmlinuz-2.4.21 ro root=LABEL=/1
        initrd /initrd-2.4.21.img

title Red Hat Linux (2.4.20-8smp)
        root (hd0,0)
        kernel /vmlinuz-2.4.20-8smp ro root=LABEL=/1
        initrd /initrd-2.4.20-8smp.img

I modeled the entry for 2.4.21 after the one from the original kernel. However,
at boot time, I get an error, the system can't find the /intitrd-2.4.21.img
file. I suppose that makes sense, as I never placed that file anywhere, but
then I wasn't aware that I needed it. Where do I find/generate this file, and
where is grub expecting it to be?


regards,

shane




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