View previous topic :: View next topic |
Author |
Message |
InvisibleRasta Apprentice
Joined: 30 Mar 2011 Posts: 188
|
Posted: Mon Nov 05, 2018 1:54 am Post subject: Stripping down the kernel |
|
|
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 |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5934
|
Posted: Mon Nov 05, 2018 2:17 am Post subject: |
|
|
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 |
|
|
Marlo Veteran
Joined: 26 Jul 2003 Posts: 1591
|
Posted: Mon Nov 05, 2018 10:11 am Post subject: Re: Stripping down the kernel |
|
|
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. _________________ ------------------------------------------------------------------
http://radio.garden/ |
|
Back to top |
|
|
Proinsias Tux's lil' helper
Joined: 06 Oct 2014 Posts: 133 Location: Scotland
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Mon Nov 05, 2018 11:13 am Post subject: |
|
|
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 |
|
|
|