Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nothing in /usr/src, where my kernel source?
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
spencet15
n00b
n00b


Joined: 13 Feb 2004
Posts: 2

PostPosted: Fri Feb 13, 2004 5:33 pm    Post subject: Nothing in /usr/src, where my kernel source? Reply with quote

Heys Guys,

First time installing Gentoo, long time RedHat & Mandrake user. Following the guide, I'm on step 7.b. Installing the Sources. I emerged the sources, but when I get the the step for viewing the kernel source symlink, there is nothing there. If I do an ls on /usr/src, it is empty. No Linux folder containing my kernel source. Did I miss a step somewhere along the line or did something not install correctly. I assume this step must be resolved before I can compile my kernel.

Thank for the help
Back to top
View user's profile Send private message
nerdbert
l33t
l33t


Joined: 09 Feb 2003
Posts: 981
Location: Berlin

PostPosted: Fri Feb 13, 2004 5:58 pm    Post subject: Reply with quote

Did you get any errors from emerge? Are you sure that you are in a chrooted shell (cd /mnt/gentoo - if it exists you are not)?

You could as well download a kernel from kernel.org and untar it into /usr/src/.
_________________
I'm really wondering what Lovechild is doing nowadays...
Back to top
View user's profile Send private message
spencet15
n00b
n00b


Joined: 13 Feb 2004
Posts: 2

PostPosted: Fri Feb 13, 2004 6:18 pm    Post subject: Reply with quote

No errors from emerge. I'm in the correct shell because the chroot step went ok and I only have floppy in the /mnt directory, no /mnt/gentoo.

How can I download a kernel from kernel.org from the Gentoo console I currently have?
Back to top
View user's profile Send private message
nerdbert
l33t
l33t


Joined: 09 Feb 2003
Posts: 981
Location: Berlin

PostPosted: Fri Feb 13, 2004 6:26 pm    Post subject: Reply with quote

Would be more interesting to find out the problem, but here you go:

Code:
cd /usr/src/
wget http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.24.tar.bz2
#make new coffee if you're not on a broadband connection
tar xvj?f linux-2.4.24.tar.bz2
ln -s linux-2.4.24/ linux

this is just an example. I don't know which kernel you want to have. Check out kernel.org for more choices.
I always forget how tar.bz2 archives are extracted. You might want to take a look at tar's man page.
_________________
I'm really wondering what Lovechild is doing nowadays...
Back to top
View user's profile Send private message
PewpMaster
n00b
n00b


Joined: 13 Feb 2004
Posts: 22
Location: Arlington Heights, IL

PostPosted: Fri Feb 13, 2004 7:50 pm    Post subject: Reply with quote

i'm at the same spot... but when i type in emerge --usepkg blah blah i get

-bash: emerge: command not found

i've not had any errors up until this point and i've followed all the install instructions. so at this point i'm very confused

can anyone help a brother out?
_________________
If peeing your pants is cool, consider me Miles Davis.
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