View previous topic :: View next topic |
Author |
Message |
iggyman n00b
Joined: 25 Dec 2004 Posts: 21
|
Posted: Wed Dec 29, 2004 7:54 pm Post subject: unable to see symlink pointing to kernel source |
|
|
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 |
|
|
stealthy Tux's lil' helper
Joined: 08 Aug 2002 Posts: 118 Location: ONTARIO CANADA
|
Posted: Wed Dec 29, 2004 8:12 pm Post subject: unable to see symlink pointing to kernel source |
|
|
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 |
|
|
iggyman n00b
Joined: 25 Dec 2004 Posts: 21
|
Posted: Wed Dec 29, 2004 8:22 pm Post subject: not sure |
|
|
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 |
|
|
christsong84 Veteran
Joined: 06 Apr 2003 Posts: 1003 Location: GMT-8 (Spokane)
|
Posted: Wed Dec 29, 2004 8:42 pm Post subject: Re: not sure |
|
|
iggyman wrote: | how do i check which kernal was downlowded.I am in the src directory.what is the command? |
the kernel name is 99% of the time, the same as the directory name that is under /usr/src _________________ while(true) {self.input(sugar);} |
|
Back to top |
|
|
|