View previous topic :: View next topic |
Author |
Message |
MisterWayne n00b
Joined: 01 Jun 2017 Posts: 5
|
Posted: Thu Jun 01, 2017 7:44 pm Post subject: /usr/src/linux No such file or directory |
|
|
I was just about to install Gentoo Linux on my new Notebook, but at the section where i should configure the linux kernel i executed "ls -l /usr/src/linux" but it said "ls: cannot access '/usr/src/linux': No such file or directory" and the command before that didn't output any errors.
Does anyone know what I may have done wrong? |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10727 Location: Somewhere over Atlanta, Georgia
|
Posted: Thu Jun 01, 2017 7:48 pm Post subject: |
|
|
Hi MisterWayne,
Wlecome to Gentoo!
You missed installing the kernel source or else missed including the symlink USE flag when installing the kernel source. See what's in /usr/src:Report results, please.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
MisterWayne n00b
Joined: 01 Jun 2017 Posts: 5
|
Posted: Thu Jun 01, 2017 7:50 pm Post subject: |
|
|
John R. Graham wrote: | Hi MisterWayne,
Wlecome to Gentoo!
You missed installing the kernel source or else missed including the symlink USE flag when installing the kernel source. See what's in /usr/src:Report results, please.
- John |
There is nothing in there.
It doesen't output anything. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10727 Location: Somewhere over Atlanta, Georgia
|
Posted: Thu Jun 01, 2017 7:58 pm Post subject: |
|
|
"Missed a step," it is, then. See Installing the sources in the handbook. See the very first command you're supposed to issue, right before the "ls -l /usr/src/linux".
Edit: I'm not reading very well today it seems. You said, "The command before that didn't output any errors." It should output something, though. Can you report the last few lines of what it did output, please?
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
MisterWayne n00b
Joined: 01 Jun 2017 Posts: 5
|
Posted: Thu Jun 01, 2017 8:11 pm Post subject: |
|
|
John R. Graham wrote: | "Missed a step," it is, then. See Installing the sources in the handbook. See the very first command you're supposed to issue, right before the "ls -l /usr/src/linux".
Edit: I'm not reading very well today it seems. You said, "The command before that didn't output any errors." It should output something, though. Can you report the last few lines of what it did output, please?
- John |
This is the full output.
Code: | (chroot) livecd / # emerge --ask sys-kernel/gentoo-sources
* IMPORTANT: 5 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] sys-devel/bc-1.06.95-r1 USE="readline -libedit -static"
[ebuild N ] sys-kernel/gentoo-sources-4.9.16 USE="-build -experimental -symlink"
The following license changes are necessary to proceed:
(see "package.license" in the portage(5) man page for more details)
# required by sys-kernel/gentoo-sources (argument)
>=sys-kernel/gentoo-sources-4.9.16:4.9.16 freedist
Would you like to add these changes to your config files? [Yes/No] Yes
Autounmask changes successfully written.
* IMPORTANT: 6 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files. |
|
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10727 Location: Somewhere over Atlanta, Georgia
|
Posted: Thu Jun 01, 2017 8:22 pm Post subject: |
|
|
Those IMPORTANTs are important. Runto view and approve the changes to the configuration files. Then re-run the emerge of gentoo-sources.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters.
Last edited by John R. Graham on Thu Jun 01, 2017 8:22 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54809 Location: 56N 3W
|
Posted: Thu Jun 01, 2017 8:22 pm Post subject: |
|
|
MisterWayne,
That has prepared some configuration changes for you to review and possibly accept.
Code: | Would you like to add these changes to your config files? [Yes/No] Yes
Autounmask changes successfully written.
* IMPORTANT: 6 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files. |
The N=New shows that these packages are not yet installed.
You need to review those 6 config files in '/etc/portage' _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
MisterWayne n00b
Joined: 01 Jun 2017 Posts: 5
|
Posted: Thu Jun 01, 2017 8:32 pm Post subject: |
|
|
John R. Graham wrote: | Those IMPORTANTs are important. Runto view and approve the changes to the configuration files. Then re-run the emerge of gentoo-sources.
- John |
That helped!
Thanks! |
|
Back to top |
|
|
|