View previous topic :: View next topic |
Author |
Message |
spencet15 n00b
Joined: 13 Feb 2004 Posts: 2
|
Posted: Fri Feb 13, 2004 5:33 pm Post subject: Nothing in /usr/src, where my kernel source? |
|
|
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 |
|
|
nerdbert l33t
Joined: 09 Feb 2003 Posts: 981 Location: Berlin
|
Posted: Fri Feb 13, 2004 5:58 pm Post subject: |
|
|
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 |
|
|
spencet15 n00b
Joined: 13 Feb 2004 Posts: 2
|
Posted: Fri Feb 13, 2004 6:18 pm Post subject: |
|
|
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 |
|
|
nerdbert l33t
Joined: 09 Feb 2003 Posts: 981 Location: Berlin
|
Posted: Fri Feb 13, 2004 6:26 pm Post subject: |
|
|
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 |
|
|
PewpMaster n00b
Joined: 13 Feb 2004 Posts: 22 Location: Arlington Heights, IL
|
Posted: Fri Feb 13, 2004 7:50 pm Post subject: |
|
|
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 |
|
|
|