View previous topic :: View next topic |
Author |
Message |
Aurora l33t
Joined: 26 Sep 2003 Posts: 658 Location: Classified
|
Posted: Mon Jan 26, 2004 8:14 pm Post subject: Gentoo 1.4 Installation with 2.6 Kernel? |
|
|
Okay...I would know how to get the kernel v2.6 after the system is installed, but I'm looking to see exactly how I would do it in the middle of the Gentoo 1.4 installation process...
Can anybody give me a specific step by step? Do you just download the 2.6 instead and do everything else exactly the same?
Thanks in advance! _________________ "My downfall raises me to infinite heights." -Napoleon Bonaparte |
|
Back to top |
|
|
gebner Tux's lil' helper
Joined: 01 Jan 2004 Posts: 100 Location: Wien, EU
|
Posted: Mon Jan 26, 2004 8:18 pm Post subject: Re: Gentoo 1.4 Installation with 2.6 Kernel? |
|
|
Aurora wrote: | Can anybody give me a specific step by step? Do you just download the 2.6 instead and do everything else exactly the same? |
Yes, just get an 2.6 install cd and do as outlined in the handbook. _________________ clue = if 0 == 0 then clue else error "The poster didn't have any clue when he posted this." |
|
Back to top |
|
|
Master_Of_Disaster l33t
Joined: 28 Feb 2003 Posts: 610 Location: 15.05072° East, 48.13747° North (aka Mauer), Austria
|
|
Back to top |
|
|
Xootneg n00b
Joined: 19 Oct 2003 Posts: 23 Location: N. California
|
Posted: Mon Jan 26, 2004 9:32 pm Post subject: |
|
|
I would do as Master or Disater posted, "Just do emerge development-sources OR gentoo-dev-sources OR mm-sources and proceed with the installation guide".
However, I would not use "genkernel" to compile it. Genkernel does a "Make Dep" which is not entirely compatible with the 2.6.x kernel.
After downloading the kernel, I would suggest you copy a working Gentoo 2.4.x ".config" file to the main directory of your 2.6.x file, and then change directories to your new kernel for the rest of the kernel install. Do a "make oldconfig" It will set up your kernel as close as possible to your working 2.4.x kernel. Doing the "make oldconfig" will also ask you questions on your kernel setup, giving you y/n/m options to answer (Pay Close Attention Here). Then you can customize the rest of your kernel with the "make menuconfig" command. When finished with this, do a "make bzImage modules modules_install" command to complie your kernel, and then do a "make install". When done finish the rest of the normal install. Perhaps you already know all of this, but I wanted to make sure you did. _________________ Confucius Says: "Even monkeys fall out of trees"!
http://www.eldoradocountyweather.com |
|
Back to top |
|
|
Aurora l33t
Joined: 26 Sep 2003 Posts: 658 Location: Classified
|
Posted: Mon Jan 26, 2004 10:21 pm Post subject: |
|
|
Well...
I just did the "emerge -k gentoo-dev-sources" and the stuff started scrolling past the screen...
Here's the problem: I kept seeing things such as "modutils-2.4.26" and stuff being emerged...those are still parts of the 2.4 kernel, correct? (btw, modutils-2.4.26 was not the only thing that had the "2.4.26" number in it)
Anybody know why this is happening? _________________ "My downfall raises me to infinite heights." -Napoleon Bonaparte |
|
Back to top |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Mon Jan 26, 2004 10:49 pm Post subject: |
|
|
Make sure that you aren't using packages from the CDROM. I don't think the dev sources are on the CDROM, but using the -k option will have it look for precompiled packages.
Also, make sure that you emerge rsync first. This will update the database so that portage is aware of the most recent version of every package. Then do an emerge -p gentoo-dev-sources. The output should look like this: Code: | bash $ emerge -p gentoo-dev-sources
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] sys-kernel/gentoo-dev-sources-2.6.1 |
-p is the 'pretend' option and you can use it to see exactly what would happen if you actually issued the command. So you could do emerge -pk gentoo-dev-sources to see if you were not installing the proper version earlier. Anyhow, just looks like you need to emerge sync and then emerge gentoo-dev-sources. _________________ if i never try anything, i never learn anything..
if i never take a risk, i stay where i am.. |
|
Back to top |
|
|
Aurora l33t
Joined: 26 Sep 2003 Posts: 658 Location: Classified
|
Posted: Mon Jan 26, 2004 11:45 pm Post subject: |
|
|
Okay...got 2.6.1 to emerge. Now I've set everything up the way I want it in the kernel...
However, while looking through the make help, it doesn't shows a "dep" option...
Now, I was reading about 15 minutes ago how to compile the kernel (and the options that were necessary), but I can't seem to find it...*sigh*
Can someone please enlighten me as to what command I need to run in order to compile the kernel properly?
Thanks! _________________ "My downfall raises me to infinite heights." -Napoleon Bonaparte |
|
Back to top |
|
|
Master_Of_Disaster l33t
Joined: 28 Feb 2003 Posts: 610 Location: 15.05072° East, 48.13747° North (aka Mauer), Austria
|
Posted: Mon Jan 26, 2004 11:52 pm Post subject: |
|
|
Well, as you hopefully can read out of make help, all you need to do to compile the kernel is to type 'make' and 'make modules_install' - that's it. 2.6.x kernels rule! _________________ post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today! |
|
Back to top |
|
|
|