Re: plain vanilla kernel compile & GRUB

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

 



Heh, thanks for the pointer WRT initrd.  Also, I'm now alot more comfortable about editing the /boot/grub/grub.conf file, which I knew was an option, but wasn't sure. 

I did each of those "make..." commands already.  since the new kernel doesn't show up as an option from GRUB, does that point to a problem?  To put that more succintly, how can it be confirmed that plain-vanilla kernel compile "worked"?  I'm in win2k and can't reboot for the timebeing, but I'll do some googling on "initrd + GRUB + fedora" or similar.

Thanks,

Thufir



////////////////////////////////////////////////////////
Re: plain vanilla kernel compile & GRUB

    * From: James Wilkinson <james westexe demon co uk>
    * To: fedora-list redhat com
    * Subject: Re: plain vanilla kernel compile & GRUB
    * Date: Sat, 5 Feb 2005 16:34:20 +0000

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.

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux