View previous topic :: View next topic |
Author |
Message |
micah_death n00b
Joined: 16 Sep 2004 Posts: 73
|
Posted: Wed Jun 22, 2005 2:41 pm Post subject: Update from 2.4 to 2.6 [solved] |
|
|
I'm sorry if this is posted somewhere as my searches seem to come back with plain out wrong data over the last few days.
I'm currently running 2.4.28 and want to test update to 2.6.xx
When I emerge gentoo-sources (or whatever the package is) it shows i have both 2.4 and 2.6 downloaded, but continues with 2.4.
The Gentoo Kernel FAQ says something to the affect of: If your system is 2.4 it installs 2.4... Now I want 2.6 so how do I do this?
Last edited by micah_death on Wed Jun 22, 2005 5:12 pm; edited 1 time in total |
|
Back to top |
|
|
boogerman Apprentice
Joined: 10 Dec 2004 Posts: 253 Location: Tennessee
|
Posted: Wed Jun 22, 2005 3:02 pm Post subject: |
|
|
as root, do this
Code: | rm /usr/src/linux
cd /usr/src
ln -sf linux-2.6-whatever linux
cd linux |
then config the kernel how you want then do the following if you manually config it. Of course, the 32342535 stuff should corespond to the kernel version you use
Code: | cp Systemmapwhatever /boot/Systemmap....
cp .config /boot/config-2.6.12312123-gentoo-r343242
cp arch/i386/boot/bzImage /boot/kernel-2.6.23424-gentoo-r454554334 |
next use your favorite editer to edit /etc/lilo.conf or /boot/grub/grub.conf depending on what you use and add another entry for your new kernel.
The handbook has more detailed instructions, but I think that'll et you there.
Oh, if you use genkernel, but want to customize it, try this: Code: | genkernel --menuconfig all |
Good luck. |
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
|
Back to top |
|
|
micah_death n00b
Joined: 16 Sep 2004 Posts: 73
|
Posted: Wed Jun 22, 2005 5:12 pm Post subject: |
|
|
Thanks! This is what I needed! |
|
Back to top |
|
|
|