Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Quick Kernel Re-Compiling Question
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
SaturnX
n00b
n00b


Joined: 26 Jan 2004
Posts: 3

PostPosted: Mon Jan 26, 2004 3:00 pm    Post subject: Quick Kernel Re-Compiling Question Reply with quote

Hey everyone,

I finally got everything installed.. :D for my first linux install everything went smooth as butter...

I did a custom config for my kernel using genkenerl 3.01b6 with the menuconfig option, everyhing went well

However, I realized now that I left out a couple modules that I'd like to have installed.

So my question is, in a straightforward procedure, how could I go about adjusting my config, and recompiling my kernel, preferably through the genkenerl.

Thanks for all the help

--Mark, a complete linux newb...
Back to top
View user's profile Send private message
eddymulyono
n00b
n00b


Joined: 02 Jan 2004
Posts: 45
Location: Hayward, CA

PostPosted: Mon Jan 26, 2004 5:29 pm    Post subject: Reply with quote

One shot:
Code:
mount /boot
genkernel --menuconfig --install all


But new genkernel doesn't save your previous .config file. So you'll need to "salvage" the .config file that you use to build your current kernel, and then feed it into genkernel:
Code:
genkernel --menuconfig --kernel-config=<salvagedFile> --install all


Tip:
After you've done configuring your kernel in menuconfig, "Save Configuration to an Alternate File" (in the bottom of the main menu). Then use this file for future --kernel-config.

Have fun,

-Eddy
Back to top
View user's profile Send private message
SaturnX
n00b
n00b


Joined: 26 Jan 2004
Posts: 3

PostPosted: Mon Jan 26, 2004 5:58 pm    Post subject: Reply with quote

Wow, thanks, didn't realize it was that simple, I'm gonna give it a shot when I get home.

Thanks for help!

--Mark
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