Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can I amend a config created by genkernel ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
el muchacho
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2015
Posts: 77

PostPosted: Mon Mar 30, 2015 12:04 am    Post subject: Can I amend a config created by genkernel ? Reply with quote

Hi,

i first did an install doing a manual config of the kernel (make menuconfig) but i must have missed some key elements because my keyboard was then not recognized on startup...

So i'd like to instead use genkernel.

However, can i then edit some options off this config by running make menuconfig, and then make, make modules_install, make install ?

I think the best it to start from a default bloated cnofig and then remove useless things (like for hardware I don't have) than trying to build something correct from scratch.

Thanks
H
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1048
Location: Massachusetts USA

PostPosted: Mon Mar 30, 2015 2:42 am    Post subject: Reply with quote

Just add the --menuconfig option to the genkernel command. There are other options that you may find useful do man genkernel to see the available options.
Back to top
View user's profile Send private message
el muchacho
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2015
Posts: 77

PostPosted: Mon Mar 30, 2015 8:18 am    Post subject: Reply with quote

Thanks, just what i was looking for... if there are "Gentoo officials" here, i think this option should be mentionned in the Install handbook !
Back to top
View user's profile Send private message
deadram
n00b
n00b


Joined: 20 Dec 2006
Posts: 32

PostPosted: Tue Mar 31, 2015 7:47 am    Post subject: Reply with quote

Just borrow /proc/config.gz from a gentoo install cd, and trim it :P

Quote:
i first did an install doing a manual config of the kernel (make menuconfig) but i must have missed some key elements because my keyboard was then not recognized on startup...


This is what I did years ago, then I borrowed the /proc/config.gz and trimmed it. After about 15 trims the kernel might stop booting, or something would stop working, so I'd go back a .config version, and remove less options. After about 40 goes, you have a nice, and trimmed kernel, and "make oldconfig" is usually good enough to do an upgrade. It takes a little more effort, and time. It doesn't really make your system faster. But it makes you understand more about what the kernel/system is doing, and how it's doing it.
_________________
echo deadram; fortune
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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