View previous topic :: View next topic |
Author |
Message |
variable2 n00b
Joined: 15 Feb 2005 Posts: 21
|
Posted: Fri Feb 18, 2005 12:58 am Post subject: can't cd to usr/src/linux [SOLVED] |
|
|
when i try to manually configure the kernel i got an error saying that usr/src/linux does not exist. however, when i cd to /usr/src and type "dir" i can clearly see linux and my kernel (linux-2.6.10-gentoo-r6). whats causing this and how can i get gentoo to recognize a directory that is there?
Last edited by variable2 on Fri Feb 18, 2005 2:30 am; edited 1 time in total |
|
Back to top |
|
|
TheRAt Veteran
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Fri Feb 18, 2005 1:00 am Post subject: |
|
|
check the output of
should look something like: Code: | root@io ~ # ls -l /usr/src/
total 1
lrwxrwxrwx 1 root root 22 Feb 7 19:31 linux -> linux-2.6.10-gentoo-r7
drwxr-xr-x 19 root root 1312 Feb 15 07:40 linux-2.6.10-gentoo-r7 |
linux is usually a symlink to your current kernel. _________________ All reality is the construct of the observer.
Get Firefox and rediscover the web!
BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it. |
|
Back to top |
|
|
variable2 n00b
Joined: 15 Feb 2005 Posts: 21
|
Posted: Fri Feb 18, 2005 1:11 am Post subject: |
|
|
now when i try to get it to display the symlink it says /usr/src/linux does not exist. this was not the case before. i followed the instructions in the handbook (where it says to change the symlink if it differs from the default) Code: | rm /usr/src/linux
cd /usr/src
ln -s linux-2.4.26-gentoo-r6 linux | where did i go wrong? |
|
Back to top |
|
|
variable2 n00b
Joined: 15 Feb 2005 Posts: 21
|
Posted: Fri Feb 18, 2005 2:30 am Post subject: |
|
|
i remerged gentoo-dev-sources and just skipped the aforementioned block of commands, works fine now. |
|
Back to top |
|
|
do0b n00b
Joined: 15 Feb 2005 Posts: 17
|
Posted: Fri Feb 18, 2005 6:58 am Post subject: |
|
|
you could try:
Code: |
cd /mnt/gentoo/usr/src/
|
|
|
Back to top |
|
|
|