Recompiling kernel and grub

Phil Schaffner Philip.R.Schaffner at NASA.gov
Thu Jun 3 20:43:11 UTC 2004


On Thu, 2004-06-03 at 22:11 +0200, Juan L. Pastor wrote:
> Hello all,
> 
> I have recompiled my FC2 kernel (make xconfig, make bzImage, make
> modules, make modules_install), I copied the bzImage and System.map to
> the /boot directory and then updated the /etc/grub.conf file with the
> new entry (first one):
> 
> default=0
> timeout=10
> splashimage=(hd2,0)/grub/splash.xpm.gz
> title Fedora Core (2.6.5-1.358)
>         root (hd2,0)kernel /bzImage ro root=/dev/hdc2 rhgb quiet
>         kernel /bzImage ro root=/dev/hdc2 rhgb quiet
>         initrd /initrd-2.6.5-1.358.img
> title Fedora Core (2.6.5-1.358) 02 Jun 06
>         root (hd2,0)
>         kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
>         initrd /initrd-2.6.5-1.358.img
> title Windows
>         rootnoverify (hd0,0)
>         chainloader +1
> 
> The second Fedora entry is working OK, but why if I change
> 
> kernel /bzImage ro root=/dev/hdc2 rhgb quiet
> 
> from the first entry to:
> 
> kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
> 
> FC2 does not want to boot?
> 
> Juan
> -- 
> Please avoid sending me Word or PowerPoint attachments.
> See http://www.fsf.org/philosophy/no-word-attachments.html
> 
> 

Rather than doing it by hand, try "make install" as the last step -
should copy files, mkinitrd, and configure grub.conf correctly.

Phil






More information about the fedora-list mailing list