Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bare minimum kernel configuration...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
RISadler
n00b
n00b


Joined: 18 May 2006
Posts: 16
Location: Mosselbaai, Suid-Afrika

PostPosted: Thu May 18, 2006 8:01 pm    Post subject: Bare minimum kernel configuration... Reply with quote

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
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Thu May 18, 2006 9:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
RISadler
n00b
n00b


Joined: 18 May 2006
Posts: 16
Location: Mosselbaai, Suid-Afrika

PostPosted: Fri May 19, 2006 7:43 am    Post subject: Reply with quote

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
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Fri May 19, 2006 7:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Paapaa
l33t
l33t


Joined: 14 Aug 2005
Posts: 955
Location: Finland

PostPosted: Fri May 19, 2006 8:08 am    Post subject: Reply with quote

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
View user's profile Send private message
RISadler
n00b
n00b


Joined: 18 May 2006
Posts: 16
Location: Mosselbaai, Suid-Afrika

PostPosted: Fri May 19, 2006 5:52 pm    Post subject: Reply with quote

When using genkernel it seems that one needs to enable RAM disk and initrd support.
_________________
Powered by ESA® Acheulean™ Core Technology
Back to top
View user's profile Send private message
Paapaa
l33t
l33t


Joined: 14 Aug 2005
Posts: 955
Location: Finland

PostPosted: Fri May 19, 2006 6:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
RISadler
n00b
n00b


Joined: 18 May 2006
Posts: 16
Location: Mosselbaai, Suid-Afrika

PostPosted: Fri May 19, 2006 7:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum