Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stripping down the kernel
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
InvisibleRasta
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2011
Posts: 112

PostPosted: Mon Nov 05, 2018 1:54 am    Post subject: Stripping down the kernel Reply with quote

hello guys i used genkernel to build my kernel when i first installed. is there a program that will help me strip down my kernel by uncommenting the options that my system is not using when it is booted
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5871

PostPosted: Mon Nov 05, 2018 2:17 am    Post subject: Reply with quote

I'm not aware of one, but I can suggest a few pointers... Drivers are easy, turn off what you don't need. Under "general setup" and "processor type and features", anything that isn't for your particular CPU (ie: AMD options for an Intel CPU)... You can go further than this but then you start getting into stuff like enabling/disabling crypto groups and networking options (like netfilter/iptables), which is probably fine as is.

Cheers
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1423

PostPosted: Mon Nov 05, 2018 10:11 am    Post subject: Re: Stripping down the kernel Reply with quote

InvisibleRasta wrote:
hello guys i used genkernel to build my kernel when i first installed....


https://wiki.gentoo.org/wiki/Genkernel wrote:

Note
It is a common misconception that genkernel will "automatically" generate a custom kernel configuration. genkernel automates the kernel build process and assembles the initramfs, but does not generate a custom kernel configuration file. It uses a generic kernel configuration file that provides support for commonly used subsystems on an architecture-specific basis. Details on the architecture defaults can be seen in the upstream repository. Select the architecture and then choose the kernel config file.


You can try Sakaki's Configuring_and_Building_the_Kerne guide.
But here, too, technical understanding is required.
_________________
Thank you for your attention, interest and support.
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Proinsias
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2014
Posts: 115
Location: Scotland

PostPosted: Mon Nov 05, 2018 10:24 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-1051430.html
might be of interest
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43770
Location: 56N 3W

PostPosted: Mon Nov 05, 2018 11:13 am    Post subject: Reply with quote

InvisibleRasta,

There is a guide from 2005
The process is still valid.

pappy_mcfae took it further.
While that site is no longer maintained, pappy_mcfae still provides updated seed .config files Pappy's preconfigs! so that method is still supported.

Lastly there are some minimal default configurations provided in the kernel.

They all come back to lots of coffee and lots of reading.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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