View previous topic :: View next topic |
Author |
Message |
nightfr3ak n00b
Joined: 07 Aug 2003 Posts: 8
|
Posted: Thu Aug 07, 2003 7:25 am Post subject: recompiling kernel (procedures) |
|
|
hello
my question may already be addressed in another post, but as of yet, i'm unable to find a proper answer...
after 4-5 tries of reinstallation, i've finally got gentoo up and running in kde but i wish to add more functionality/modules to my kernel. is there a proper method of recompiling a kernel w/o losing all the config files and screwing stuff up?
thank youfor your time. |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Thu Aug 07, 2003 7:36 am Post subject: |
|
|
Code: |
cd /usr/src/linux
make menuconfig
<make changes and exit>
make dep && make clean bzImage modules modules_install
mount /boot
cp arch/i386/boot/bzImage /boot/bzImage
umount /boot
reboot
|
_________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
nightfr3ak n00b
Joined: 07 Aug 2003 Posts: 8
|
Posted: Thu Aug 07, 2003 3:48 pm Post subject: |
|
|
oops...i forgot to mention that i used genkernel to compile my kernel...will that affect or change any of the code above? |
|
Back to top |
|
|
linux_weenie Guru
Joined: 25 Jun 2003 Posts: 365
|
Posted: Thu Aug 07, 2003 5:48 pm Post subject: |
|
|
no it shouldn't cause any changes to the above code. you'll be manually specifing the options you'd like instead of having genkernel do it for you.
-Will _________________ There are only 10 types of people in the world. Those who understand binary and those who don't. |
|
Back to top |
|
|
nightfr3ak n00b
Joined: 07 Aug 2003 Posts: 8
|
Posted: Fri Aug 08, 2003 1:33 am Post subject: |
|
|
When I recompile my kernel, can I use genkernel --config instead? also, since I used genkernel, /boot doesn't have a "bzImage"...only kernel-KV and initrd-KV...so what should I backup before recompiling?
thanks |
|
Back to top |
|
|
|