View previous topic :: View next topic |
Author |
Message |
lbalan79 n00b
Joined: 12 Jun 2005 Posts: 56
|
Posted: Wed Jul 05, 2006 7:44 pm Post subject: Help upgrading kernel after install |
|
|
I have just installed gentoo from the livecd. Everything worked ok (well after a 2 hour war with the installer - there is a small glich when if you don't select te network option it will freeze). The problem is that I have some problems with the sky2 driver and it seems those are fixed under the new version. So here it is my problem.. all I want to do is to put a gentoo-sources 2.6.16-r9 source.
Is there any way that i can download the ebuild and the package source and install it without being connected to internet? Please give details since I'm not so much of an expert...
Thank you |
|
Back to top |
|
|
Kaddy n00b
Joined: 27 Jan 2005 Posts: 29
|
Posted: Wed Jul 05, 2006 7:52 pm Post subject: |
|
|
one way that you could do that is, if you have a running gentoo system, or alinux system at all is to install a chroot environment and then do this:
Code: | # cd /usr/src
# rm linux
# wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.tar.bz2
# wget http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.17/2.6.17-mm2/2.6.17-mm2.bz2
# tar jxvf linux-2.6.17.tar.bz2
# ln -s linux-2.6.17 linux
# cd linux
# bzcat /usr/src/2.6.17-mm2.bz2 | patch -p1 |
from there you have a patched kernel and everything. Burm this to a CD or something, bam. |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Wed Jul 05, 2006 10:51 pm Post subject: |
|
|
Moved from Installing Gentoo to Kernel & Hardware.
If this is a post-install issue, I believe this thread belongs in K&H. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
Emopig Apprentice
Joined: 15 Mar 2006 Posts: 188
|
Posted: Wed Jul 05, 2006 11:34 pm Post subject: |
|
|
Theres no real benefit in using portage to perform the emerge of the kernel sources, since the installation is just a untarring of source code, nothing complex.
You should be able to find the gentoo-sources tarball on one of the gentoo linux mirrors under distfiles.
Just untar to /usr/src/linux-2.6.16-r9 and point the /usr/src/linux symlink to it
It'll take effort to get it into your new installation so you can compile it, but gentoo is all about effort ...it's fun.
Let us know how you get on. |
|
Back to top |
|
|
|