Trimming kernel

THUFIR HAWAT thufir.hawat at mail.com
Sat Feb 5 23:37:38 UTC 2005


I downloaded the newest from <http://www.kernel.org> and then, IIRC, the correct commands, assuming you have x-windows, are:

# tar -xvf kernel-foo.tar.gz
# make xconfig
user friendly, let's you pick and choose modules, hardware, etc
you can view/save/edit .config manually, which xconfig made
# make bzimage
# make modules
# make modules_install

then, apparently, you need to edit the /boot/grub/grub.conf file (in fedora)?

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

there's also a "mrproper" command, i'm not sure if that's required...?
yes, it takes time.  but the above isn't that painful. well, GRUB always scares me since win2k is always screwing things up, but that's a diff thread!


--
Thufir Hawat
(thanks to James Wilkinson, via the archives)



///////////////////////////////////////////////////
Re: Trimming kernel

    * From: Jean-Louis Leroy <jll soundobjectlogic com>
    * To: For users of Fedora Core releases <fedora-list redhat com>
    * Subject: Re: Trimming kernel
    * Date: Sat, 05 Feb 2005 19:20:16 +0000

> Ein? What the heck is a jumbo kernel?

I mean a kernel that was built with a .config that compiles every
available module in the hope that it will take advantage of every
available hardware on most machines. I want to create a .config that
exactly matches the hardware of a particular computer.
-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm






More information about the fedora-list mailing list