Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Returning to the previous kernel
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
kreon28
Apprentice
Apprentice


Joined: 08 Jul 2006
Posts: 165

PostPosted: Thu Aug 24, 2006 6:15 am    Post subject: [SOLVED]Returning to the previous kernel Reply with quote

Hi,

I emerged the new kernel 2.6.17-r4 but I can't compile the dri to my unichrome pci graphic card on it.
So I decided to return to kernel-2.6.16. What should I do to delete the new kernel completely and symlink usr/src to the kenrel 2.6.16 ?


Last edited by kreon28 on Mon Aug 28, 2006 8:13 am; edited 1 time in total
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Thu Aug 24, 2006 7:06 am    Post subject: Reply with quote

If you don't have eselect emerged:

Code:

emerge eselect


Now do this:

Code:

eselect kernel list
eselect kernel set <the number in front of the kernel you want>


That should do it. If you want to get rid of the new kernel just do

Code:

emerge -C =sys-kernel/gentoo-sources-2.6.17-r4


Don't be shy to update your kernel at the next major release though.
Back to top
View user's profile Send private message
peka
l33t
l33t


Joined: 16 Mar 2005
Posts: 773
Location: Płońsk, Poland

PostPosted: Thu Aug 24, 2006 7:30 am    Post subject: Reply with quote

... or just
emerge =gentoo-sources-[your-desired-version] if you have removed it
e.g. emerge =gentoo-sources-2.6.16-r13

Linking
Code:
cd /usr/src
ln -s [directory-name-of-version-to-link-to] linux


e.g. ln -s linux-2.6.16-gentoo-r13
_________________
p3k4

Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Thu Aug 24, 2006 11:07 pm    Post subject: Reply with quote

to make sure you get a clean build, backup your .config run make mr_proper restore .config and rebuild you kernel as usual.

once you're happy it all boots as before delete the "new" kernel tree in /usr/src

rebuild anything like nvidia/ati binary pkg , fuse, realtime, etc that you may have that depends on the kernel

If you have space keep both and add a line to grub for each, you may want to come back and try again on the newer kernel.

8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
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