View previous topic :: View next topic |
Author |
Message |
stingray72 n00b
Joined: 08 May 2002 Posts: 40 Location: Atlanta, GA
|
Posted: Wed Oct 30, 2002 6:05 pm Post subject: Kernel Compile difference from 1.2 to 1.4 |
|
|
First a little background. Right now I have Gentoo running on a dual boot machine with RedHat 7.3. RH is on hda(60G) and Gentoo1.2 is on hdd (40G). What I was thinking about doing is using the Alternative installation guide to Install Gentoo 1.4 to hda using the Gentoo1.2 install . When all is said and done. Gentoo 1.4 will be the only OS on the machine (on hda). I guess my question is....
Can I use the same kernel for the 1.4 system as I do on the 1.2 without having to recompile it? I can do it, I just know I'll end up recompiling it 5 times because of missed options.
Thanks for the tips guys |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Wed Oct 30, 2002 7:18 pm Post subject: |
|
|
Given different compiler optimization differences between GCC2.95 and GCC3.2 I'd say you should (should meaning would be most happy, I think if you choose not to it might work) recompile your kernel. However if you like how you have your kernel configured currently I know there is a way to save your kernel config and then use it when you recompile on your new system (saves you the step of 'make menuconfig' and also saves you the possibility that you will forget something.) Anyone done this before that can provide some insight?
Regards,
BonezTheGoon |
|
Back to top |
|
|
stingray72 n00b
Joined: 08 May 2002 Posts: 40 Location: Atlanta, GA
|
Posted: Wed Oct 30, 2002 7:30 pm Post subject: |
|
|
I don't mind recompiling it so much as I want to make sure I have all the correct options selected. Can I use "make oldconfig" (or something to that effect, never tried it) and then recompile my kernel somehow?
Thanks for the help bonez |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Wed Oct 30, 2002 9:04 pm Post subject: |
|
|
go to /usr/src/linux and copy .config to somewhere safe (a floppy etc), install gentoo, cp .config back to /usr/src/linux, run make menuconfig to check all the settings and enable/disable any you want, then recompile & copy _________________ 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 |
|
|
|