View previous topic :: View next topic |
Author |
Message |
SaturnX n00b
Joined: 26 Jan 2004 Posts: 3
|
Posted: Mon Jan 26, 2004 3:00 pm Post subject: Quick Kernel Re-Compiling Question |
|
|
Hey everyone,
I finally got everything installed.. 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 |
|
|
eddymulyono n00b
Joined: 02 Jan 2004 Posts: 45 Location: Hayward, CA
|
Posted: Mon Jan 26, 2004 5:29 pm Post subject: |
|
|
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 |
|
|
SaturnX n00b
Joined: 26 Jan 2004 Posts: 3
|
Posted: Mon Jan 26, 2004 5:58 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|