View previous topic :: View next topic |
Author |
Message |
RISadler n00b


Joined: 18 May 2006 Posts: 16 Location: Mosselbaai, Suid-Afrika
|
Posted: Thu May 18, 2006 8:01 pm Post subject: Bare minimum kernel configuration... |
|
|
I'm new to Gentoo, having recently decided to leave SuSE, and decided to jump right in and get my hands dirty by compiling the kernel. What I'd like to do is to configure this kernel with just the bare minimum to get Gentoo up and running. Then start to add to this configuration as I need to, for example stuff for iptables and Samba.
I've deselected a lot of stuff, but would like to know (for you experts) what the bare minimum required is. _________________ Powered by ESA® Acheulean Core Technology |
|
Back to top |
|
 |
steveb Advocate


Joined: 18 Sep 2002 Posts: 4564
|
Posted: Thu May 18, 2006 9:04 pm Post subject: |
|
|
Bare minimum is a very personal issue. I would consider a bare minium the following things:- CPU specific stuff
- controller driver for harddisk
- possibility to use keyboard
- networking
- filesystem drivers
I would not include all that fancy stuff I don't need, like: floppy, addidtional filesystems, cdrom drivers and that kind of stuff, usb, sound, apm, CPU scaling, etc...
It all depends for what you need that kernel and on your personal preferences.
cheers
SteveB |
|
Back to top |
|
 |
RISadler n00b


Joined: 18 May 2006 Posts: 16 Location: Mosselbaai, Suid-Afrika
|
Posted: Fri May 19, 2006 7:43 am Post subject: |
|
|
That's what I was also thinking, but are there any specific items that Gentoo needs? _________________ Powered by ESA® Acheulean Core Technology |
|
Back to top |
|
 |
steveb Advocate


Joined: 18 Sep 2002 Posts: 4564
|
Posted: Fri May 19, 2006 7:45 am Post subject: |
|
|
RISadler wrote: | That's what I was also thinking, but are there any specific items that Gentoo needs? | Gentoo? Nothing in the kernel is specific to Gentoo. Just keep sure to enable UDEV, because newer versions of Gentoo relay on UDEV. That's all.
cheers
SteveB |
|
Back to top |
|
 |
Paapaa l33t


Joined: 14 Aug 2005 Posts: 955 Location: Finland
|
Posted: Fri May 19, 2006 8:08 am Post subject: |
|
|
steveb wrote: | Just keep sure to enable UDEV, because newer versions of Gentoo relay on UDEV. That's all. |
You can't enable udev as devfs was removed at least since 2.6.15. So no need to worry about that anymore. Also hotplugging is automatically enabled as udev needs it. |
|
Back to top |
|
 |
RISadler n00b


Joined: 18 May 2006 Posts: 16 Location: Mosselbaai, Suid-Afrika
|
Posted: Fri May 19, 2006 5:52 pm Post subject: |
|
|
When using genkernel it seems that one needs to enable RAM disk and initrd support. _________________ Powered by ESA® Acheulean Core Technology |
|
Back to top |
|
 |
Paapaa l33t


Joined: 14 Aug 2005 Posts: 955 Location: Finland
|
Posted: Fri May 19, 2006 6:43 pm Post subject: |
|
|
RISadler wrote: | When using genkernel it seems that one needs to enable RAM disk and initrd support. |
And if you want to learn, don't use genkernel. Try to generate a working kernel and start reducing unneeded features manually one by one. Always have a working kernel in grub.conf. And if I'm not mistaken, it might be wise to build every module straight into the kernel, not as modules. That way "dmesg" will show you all the possible module messages and you don't have to search them elsewhere. That also makes the kernel a bit smaller and a lot (0,001%) faster  |
|
Back to top |
|
 |
RISadler n00b


Joined: 18 May 2006 Posts: 16 Location: Mosselbaai, Suid-Afrika
|
Posted: Fri May 19, 2006 7:34 pm Post subject: |
|
|
I'm trying for the complete Gentoo experience... and I'm actually quite comfortable with compiling the kernel "by hand" from building LFS. (SuSE is near impossible!)
I'm busy reducing kernel options at this very moment, but just wondered if anyone hadn't done the same already? Bare minimum for working system, plus drivers for CPU, NIC, chipset, etc...
And Loopback device support to be able to use the kernel to recompile itself. _________________ Powered by ESA® Acheulean Core Technology |
|
Back to top |
|
 |
|