plain vanilla kernel compile & GRUB
James Wilkinson
james at westexe.demon.co.uk
Sat Feb 5 16:34:20 UTC 2005
THUFIR HAWAT wrote:
> Now I'd like to edit the "/boot/grub/menu.lst" file, but, I'm a bit
> hesitant because it looks like a link to a different file, actually.
Yes, on Fedora the grub configuration file is /boot/grub/grub.conf. The
file you mention is symlinked there.
> Obviously, I want to boot with the new kernel as an option, right now
> it's win2k or fedora in the grub boot menu.
>
> does anyone have any pointers, links, hints, etc, please?
One option is to edit the file, make a copy of the "fedora" section, and
edit to fit. Something like
title Fedora Core (2.6.10-ac11-howells-1)
root (hd0,5)
kernel /boot/vmlinuz-2.6.10-ac11-howells-1 ro root=/dev/hda6 acpi=force
initrd /boot/initrd-2.6.10-ac11-howells-1.img
(You have built an initrd, haven't you?)
But a better option is simply
make
make modules_install
make install
which will build the initrd and modify grub for you.
Hope this helps,
James.
--
James Wilkinson | 'Short for "Sic Transit Gloria Humanorum", which is
Exeter Devon UK | Latin for "There goes the neighbourhood!"'
E-mail address: james | -- Menno Willemse
@westexe.demon.co.uk |
More information about the fedora-list
mailing list