Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Advanced] Minimal 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
mrxgen
n00b
n00b


Joined: 09 Feb 2016
Posts: 1

PostPosted: Tue Feb 09, 2016 12:35 am    Post subject: [Advanced] Minimal Kernel Reply with quote

Greetings,

Long time user, 10+ years of Gentoo. I am currently attempting to perform the most minimal yet hardened kernel install possible for my laptop (ASUS Q400A) I believe that I have stripped everything that could possibly be considered bloat or a security risk. I would like to run this project past you guys to see if any gurus out there could point out any potential mistakes or fluff that I missed.

Thanks,

MRX

Download: http://s000.tinyupload.com/?file_id=29617673055735858845
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5855

PostPosted: Tue Feb 09, 2016 1:50 pm    Post subject: Reply with quote

Hi, for future reference, you can use app-text/wgetpaste for things like this — you don't have to use "file locker" sites and it's easier for others to read.
Back to top
View user's profile Send private message
BartNL
n00b
n00b


Joined: 29 Aug 2004
Posts: 65

PostPosted: Tue Feb 09, 2016 6:34 pm    Post subject: Reply with quote

What you exactly need in your kernel, I don´t know. But as of today, I learned that
Code:
make tinyconfig

will give you a very small working config. I suppose it is for 32-bit low-memory and low-storage embedded device ´s. So you have to tweak alot.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Tue Feb 09, 2016 6:52 pm    Post subject: Reply with quote

My favorite is make allnoconfig ...
Back to top
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1752

PostPosted: Tue Feb 09, 2016 7:54 pm    Post subject: Reply with quote

Quote:
. I am currently attempting to perform the most minimal yet hardened kernel install possible for my laptop (ASUS Q400A) I believe that I have stripped everything that could possibly be considered bloat or a security risk.
It's a cool idea, but it has one downside: such kernel would only run reasonably well on one particular hardware set. Once configured for your laptop, it would be useless for my box.
This by itself is not bad (An I'm aiming at the same goal with some of my projects), but it opposes the other part:
Quote:
. I would like to run this project past you guys to see if any gurus out there could point out any potential mistakes or fluff that I missed.
. Any "gurus out there" would be running their systems on different hardware than you, which means YOUR best config and THEIR best config are two different configs.

Also, with hundreds of lines in that config file it's really hard to find things that are "missing" or "not needed". You're pretty much on your own with this for the simple reason there hardly is any common plane. You might want to read some sources (or use google) to find out how some more opaque options work.
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