Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Update from 2.4 to 2.6 [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
micah_death
n00b
n00b


Joined: 16 Sep 2004
Posts: 73

PostPosted: Wed Jun 22, 2005 2:41 pm    Post subject: Update from 2.4 to 2.6 [solved] Reply with quote

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? 8O


Last edited by micah_death on Wed Jun 22, 2005 5:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
boogerman
Apprentice
Apprentice


Joined: 10 Dec 2004
Posts: 253
Location: Tennessee

PostPosted: Wed Jun 22, 2005 3:02 pm    Post subject: Reply with quote

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


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Wed Jun 22, 2005 3:27 pm    Post subject: Reply with quote

try http://www.gentoo.org/doc/en/migration-to-2.6.xml
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
micah_death
n00b
n00b


Joined: 16 Sep 2004
Posts: 73

PostPosted: Wed Jun 22, 2005 5:12 pm    Post subject: Reply with quote

Thanks! This is what I needed!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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