Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't cd to usr/src/linux [SOLVED]
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
variable2
n00b
n00b


Joined: 15 Feb 2005
Posts: 21

PostPosted: Fri Feb 18, 2005 12:58 am    Post subject: can't cd to usr/src/linux [SOLVED] Reply with quote

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
View user's profile Send private message
TheRAt
Veteran
Veteran


Joined: 03 Jun 2002
Posts: 1580

PostPosted: Fri Feb 18, 2005 1:00 am    Post subject: Reply with quote

check the output of
Code:
# ls -l /usr/src

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
View user's profile Send private message
variable2
n00b
n00b


Joined: 15 Feb 2005
Posts: 21

PostPosted: Fri Feb 18, 2005 1:11 am    Post subject: Reply with quote

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
View user's profile Send private message
variable2
n00b
n00b


Joined: 15 Feb 2005
Posts: 21

PostPosted: Fri Feb 18, 2005 2:30 am    Post subject: Reply with quote

i remerged gentoo-dev-sources and just skipped the aforementioned block of commands, works fine now.
Back to top
View user's profile Send private message
do0b
n00b
n00b


Joined: 15 Feb 2005
Posts: 17

PostPosted: Fri Feb 18, 2005 6:58 am    Post subject: Reply with quote

you could try:
Code:

cd /mnt/gentoo/usr/src/
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