View previous topic :: View next topic |
Author |
Message |
The_Great_Sephiroth Veteran
Joined: 03 Oct 2014 Posts: 1602 Location: Fayetteville, NC, USA
|
Posted: Tue Feb 06, 2018 2:09 pm Post subject: Super-clean kernel? |
|
|
I'm curious. Could I get a very lean kernel by doing "make allnoconfig" followed by either "make localmodconfig" or "make localyesconfig"? I understand I'd have to configure a lot beyond that, such as filesystem support, firmware, etc, but would that give me a base kernel configuration with only my hardware drivers selected either as modules or built in? _________________ Ever picture systemd as what runs "The Borg"? |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Tue Feb 06, 2018 4:54 pm Post subject: |
|
|
Remember it will only do that for loaded modules only, so make sure to load any you "may" use before doing that.
As example, forgetting to load "configs" and your kernel will set /proc/config.gz to N |
|
Back to top |
|
|
The_Great_Sephiroth Veteran
Joined: 03 Oct 2014 Posts: 1602 Location: Fayetteville, NC, USA
|
Posted: Tue Feb 06, 2018 5:18 pm Post subject: |
|
|
Right, but that is what I want. I want to start with a minimalist kernel with only my hardware drivers, and go from there. This was what I thought of and wanted to run it by some more experienced users prior to blowing a lot of time on it. _________________ Ever picture systemd as what runs "The Borg"? |
|
Back to top |
|
|
The_Great_Sephiroth Veteran
Joined: 03 Oct 2014 Posts: 1602 Location: Fayetteville, NC, USA
|
Posted: Wed Feb 07, 2018 4:15 pm Post subject: |
|
|
I had an alternate idea. Assuming Sys Rescue CD detects your hardware correctly and loads the correct drivers, is there a way to get a list of all driver options in the kernel based on your hardware? _________________ Ever picture systemd as what runs "The Borg"? |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
|
Back to top |
|
|
The_Great_Sephiroth Veteran
Joined: 03 Oct 2014 Posts: 1602 Location: Fayetteville, NC, USA
|
Posted: Thu Feb 08, 2018 5:36 am Post subject: |
|
|
Thanks, I'll try that after I check the OpenVPN stuff out. _________________ Ever picture systemd as what runs "The Borg"? |
|
Back to top |
|
|
The_Great_Sephiroth Veteran
Joined: 03 Oct 2014 Posts: 1602 Location: Fayetteville, NC, USA
|
Posted: Sun Feb 11, 2018 7:45 pm Post subject: |
|
|
OK, goal number one was to create a basic kernel configuration with packet filtering, virtualization support, the basic mess. I have come up with the following configuration thus far, which should not have any specific drivers beyond virtio selected. What I am going for is a configuration I can easily copy to new installations, select the CPU type and related options, then select the drivers for that hardware, build and go. What do you think of this for a basic configuration?
Basic 4.9.76-gentoo-r1 _________________ Ever picture systemd as what runs "The Borg"? |
|
Back to top |
|
|
|