Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
recompiling kernel (procedures)
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
nightfr3ak
n00b
n00b


Joined: 07 Aug 2003
Posts: 8

PostPosted: Thu Aug 07, 2003 7:25 am    Post subject: recompiling kernel (procedures) Reply with quote

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 :D 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
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Thu Aug 07, 2003 7:36 am    Post subject: Reply with quote

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
View user's profile Send private message
nightfr3ak
n00b
n00b


Joined: 07 Aug 2003
Posts: 8

PostPosted: Thu Aug 07, 2003 3:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
linux_weenie
Guru
Guru


Joined: 25 Jun 2003
Posts: 365

PostPosted: Thu Aug 07, 2003 5:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
nightfr3ak
n00b
n00b


Joined: 07 Aug 2003
Posts: 8

PostPosted: Fri Aug 08, 2003 1:33 am    Post subject: Reply with quote

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