Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unable to see symlink pointing to 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
iggyman
n00b
n00b


Joined: 25 Dec 2004
Posts: 21

PostPosted: Wed Dec 29, 2004 7:54 pm    Post subject: unable to see symlink pointing to kernel source Reply with quote

I am on section 7b.I used the command (ls -l /usr/src/linux).There is no symlink of the kernal to show.Sould I put in the example that is given ?The would be the next commands but it is said they are just examples.


# rm /usr/src/linux
# cd /usr/src
# ln -s linux-2.4.26-gentoo-r9 linux

This is the second time i redid the install.The first time i did it ,I followed the commands above and when i reached to change the directory (shown below),it said the was no file or directory found

# cd /usr/src/linux
# make menuconfig
Back to top
View user's profile Send private message
stealthy
Tux's lil' helper
Tux's lil' helper


Joined: 08 Aug 2002
Posts: 118
Location: ONTARIO CANADA

PostPosted: Wed Dec 29, 2004 8:12 pm    Post subject: unable to see symlink pointing to kernel source Reply with quote

Yes if the symlink linux isn't there you can add it yourself.

But in this case, you gotta link to whichever kernel you've downloaded.
For eg. I am using hardened-dev-sources and the latest version for that at the time of writing is:

linux-2.6.7-hardened-r18

Therefore if I didn't have the linux symlink:
I would type
Code:
cd /usr/src
ln -s linux-2.6.7-hardened-r18 linux
to add it.

I haven't looked at the manual...but I am sure portage automatically adds the symlink when you download the kernel.

Which kernel did you download...or atleast what the contents of your /usr/src/ directory right now?
I am just trying to make sure that you have downloaded the kernel.
_________________
All your Gentoo are belong to us.
Back to top
View user's profile Send private message
iggyman
n00b
n00b


Joined: 25 Dec 2004
Posts: 21

PostPosted: Wed Dec 29, 2004 8:22 pm    Post subject: not sure Reply with quote

how do i check which kernal was downlowded.I am in the src directory.what is the command?
This is what i have used to download


gentoo-sources (2.4 kernel source patched with performance-enhancing features)


Last edited by iggyman on Wed Dec 29, 2004 8:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
christsong84
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1003
Location: GMT-8 (Spokane)

PostPosted: Wed Dec 29, 2004 8:42 pm    Post subject: Re: not sure Reply with quote

iggyman wrote:
how do i check which kernal was downlowded.I am in the src directory.what is the command?


Code:
ls


;)

the kernel name is 99% of the time, the same as the directory name that is under /usr/src :)
_________________
while(true) {self.input(sugar);} :twisted:
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