View previous topic :: View next topic |
Author |
Message |
Argonsax n00b
Joined: 01 Apr 2005 Posts: 3
|
Posted: Fri Apr 01, 2005 8:38 am Post subject: [SOLVED] kernel installation error |
|
|
Ok..I'm trying to install 2004.3 from Stage1 from a LiveCD, and I havn't had any problems until now. I'm trying to manually configure a 2.4.26 gentoo-source kernel because many of the programs I run are unstables on 2.6, and I like the idea of building EVERY part of my OS from the ground up, including the kernel..
# emerge gentoo-source
That code works just fine, it extracts the kernel sources and completes without errors, and
# ls -l /usr/src/linux
gives me
lrwxrwxrwx 1 root root 01 April 01 01:07 /usr/src/linux -> linux-2.4.26-gentoo......
exactly like the manual said it should be, I even tried
# rm /usr/src/linux
# cd /usr/src
# ln -s linux-2.4.26-gentoo-r9 linux
to symlink it to the kernel, but when i give it
#cd /usr/src/linux
bash: cd: /usr/src/linux No such file or directory.
I'm at a complete loss, and would GREATLY appreciate any help at all, although you might have to spell out what I'd have to do, I've only been using Linux for about 5 months, and that has all been on Mandrake.
P.S. I'd really like to manually configure my kernel, not just so it'll run faster, but so I can also make fun of my friends for using some pre-compiled Windoz crap o_o;;
Last edited by Argonsax on Fri Apr 01, 2005 12:33 pm; edited 2 times in total |
|
Back to top |
|
|
kebabkarli n00b
Joined: 26 Jul 2003 Posts: 37 Location: Tulln/AUSTRIA
|
Posted: Fri Apr 01, 2005 8:51 am Post subject: |
|
|
please just do a and post the output.
Just for being sure |
|
Back to top |
|
|
Argonsax n00b
Joined: 01 Apr 2005 Posts: 3
|
Posted: Fri Apr 01, 2005 9:22 am Post subject: |
|
|
# ls -la /usr/src
total 12
drwxr-xr-x 3 root root 4096 Apr 1 04:55 .
drwxr-xr-x 12 root root 4096 Apr 1 02:16 ..
-rw-r--r-- 1 root root 0 Mar 31 20:49 .keep
lrwxrwxrwx 1 root root 22 Apr 1 02:57 linux -> linux-2.4.26-gentoo-r9
drwxr-xr-x 18 root root 4096 Apr 1 04:55 linux-2.6.11-gentoo-r4
><...yea I see the problem now I think. You have any clue how I would go about fixing this? And thanks for the prompt reply and help. |
|
Back to top |
|
|
peka l33t
Joined: 16 Mar 2005 Posts: 773 Location: Płońsk, Poland
|
Posted: Fri Apr 01, 2005 9:50 am Post subject: |
|
|
Argonsax wrote: | # ls -la /usr/src
total 12
drwxr-xr-x 3 root root 4096 Apr 1 04:55 .
drwxr-xr-x 12 root root 4096 Apr 1 02:16 ..
-rw-r--r-- 1 root root 0 Mar 31 20:49 .keep
lrwxrwxrwx 1 root root 22 Apr 1 02:57 linux -> linux-2.4.26-gentoo-r9
drwxr-xr-x 18 root root 4096 Apr 1 04:55 linux-2.6.11-gentoo-r4
><...yea I see the problem now I think. You have any clue how I would go about fixing this? And thanks for the prompt reply and help. |
Your "linux" symlink points to "linux-2.4.26-gentoo-r9" directory while you have a "linux-2.6.11-gentoo-r4"
Run those commands:
Code: | # rm /usr/src/linux
# cd /usr/src
# ln -s linux-2.6.11-gentoo-r4 linux |
_________________ 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 |
|
|
Argonsax n00b
Joined: 01 Apr 2005 Posts: 3
|
Posted: Fri Apr 01, 2005 9:55 am Post subject: |
|
|
Yea I did that a few min ago, and it worked o_o;;.
No more bashing my head against my monitor...tonight anyway. |
|
Back to top |
|
|
racoontje Veteran
Joined: 19 Jul 2004 Posts: 1290
|
Posted: Fri Apr 01, 2005 9:59 am Post subject: |
|
|
Remember kids:
1) Tab completion is a good thing.
2) Typing something in manually is a bad thing. See 1.
3) Put [SOLVED] in your topic titles. |
|
Back to top |
|
|
|