View previous topic :: View next topic |
Author |
Message |
kreon28 Apprentice

Joined: 08 Jul 2006 Posts: 165
|
Posted: Thu Aug 24, 2006 6:15 am Post subject: [SOLVED]Returning to the previous kernel |
|
|
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 |
|
 |
avieth Veteran


Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Thu Aug 24, 2006 7:06 am Post subject: |
|
|
If you don't have eselect emerged:
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 |
|
 |
peka l33t


Joined: 16 Mar 2005 Posts: 773 Location: Płońsk, Poland
|
Posted: Thu Aug 24, 2006 7:30 am Post subject: |
|
|
... 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 |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Thu Aug 24, 2006 11:07 pm Post subject: |
|
|
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.
 _________________ 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 |
|
 |
|