Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
where do I get a kernel from?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
tsinghoi
n00b
n00b


Joined: 28 Sep 2005
Posts: 15

PostPosted: Fri Mar 16, 2007 8:35 pm    Post subject: where do I get a kernel from? Reply with quote

Im trying to install gentoo on my laptop and the ethernet card isnt recognized (realtek rtl8111b) so I want to do a networkless install and then fix it later.

Well my largest problem right now is... where do I get a kernel from? I have the amd64 livecd and I cant find the source for the kernel. I think Im supposed to move the package to /usr/portage/distfiles and then emerge it, but I cant even find the package in the first place and I dont know where to look. Ive looked at some of the mirrors in the distfiles folder and I dont see any gentoo-sources 2.6. can anyone shed some light on as to where to obtain the kernel package?

Also this is from commandline. I dont want to use the gui installer, I tried it earlier and things didnt go too well.
Back to top
View user's profile Send private message
bjlockie
Veteran
Veteran


Joined: 18 Oct 2002
Posts: 1186
Location: Canada

PostPosted: Fri Mar 16, 2007 8:44 pm    Post subject: Reply with quote

# emerge -p vanilla-sources

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] sys-kernel/vanilla-sources-2.6.20.2 USE="-build -symlink"
Back to top
View user's profile Send private message
bjlockie
Veteran
Veteran


Joined: 18 Oct 2002
Posts: 1186
Location: Canada

PostPosted: Fri Mar 16, 2007 8:45 pm    Post subject: Reply with quote

# emerge -p gentoo-sources

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] sys-kernel/gentoo-sources-2.6.20-r2
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Fri Mar 16, 2007 8:48 pm    Post subject: Reply with quote

one liner to generate commands for the files you need (in this case for kernel, it's already run, but you may find it useful for other thiings, namely dhcpcd)
Code:


dan@pascal ~ $ emerge -f -p gentoo-sources  | awk '/^http/ {print "wget",$1;}'
wget http://distfiles.gentoo.org/distfiles/genpatches-2.6.19-6.extras.tar.bz2
wget http://distfiles.gentoo.org/distfiles/genpatches-2.6.19-6.base.tar.bz2
wget http://distfiles.gentoo.org/distfiles/linux-2.6.19.tar.bz2

_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
tsinghoi
n00b
n00b


Joined: 28 Sep 2005
Posts: 15

PostPosted: Fri Mar 16, 2007 8:58 pm    Post subject: Reply with quote

Ill try that, thanks!
Back to top
View user's profile Send private message
deno
Guru
Guru


Joined: 13 Sep 2006
Posts: 411

PostPosted: Fri Mar 16, 2007 9:02 pm    Post subject: Reply with quote

If you want gentoo-sources you need (i.e. for version 2.6.19) genpatches-2.6.19-6.extras.tar.bz2, genpatches-2.6.19-6.base.tar.bz2, linux-2.6.19.tar.bz2. I belive that you can start your search here:

http://www.gentoo.org/main/en/mirrors.xml

and for linux-2.6.19.tar.bz2 link at the bottom.

Maybe you can emerge sources somewhere else and then just copy /usr/src/linux-yourVersion on your laprop? Or if you want vanilla why dno't you simply get it from

http://www.kernel.org/pub/linux/kernel/v2.6/

EDIT

Well, erik258 was faster...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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