Re: kernel rebuild and grub.conf

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

 



On Mon, 30 Jun 2003, shane c branch wrote:

> 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?

# mkinitrd /boot/initrd-2.4.21.img 2.4.21

this requires you to have done a "make modules_install" from the kernel
source directory first.

rday


--

Robert P. J. Day
Eno River Technologies
Unix, Linux and Open Source training
Waterloo, Ontario

www.enoriver.com




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux