View previous topic :: View next topic |
Author |
Message |
shadowone n00b
Joined: 02 Nov 2004 Posts: 2
|
Posted: Tue Nov 02, 2004 8:01 am Post subject: No kernel .config specified, or file not found |
|
|
Hallo Leute,
ich habe folgendes Problem. Und zwar:
Wenn ich gentoo-kernel kompilieren will (erstinstallation) bekomme ich folgende Meldung zu sehen:
Code: |
livecd# genkernel all
* Gentoo Linux Genkernel; Version 3.1.0a
grep: /usr/src/linux/Makefile: No such file or directory
grep: /usr/src/linux/Makefile: No such file or directory
grep: /usr/src/linux/Makefile: No such file or directory
grep: /usr/src/linux/Makefile: No such file or directory
* Compiling Linux Kernel .. for x86...
* ERROR: Error: No kernel config specified, or file not found!
* -- Grepping log... --
* Gentoo Linux Genkernel; Version 3.1.0a
* Compiling Linux Kernel .. for x86...
* ERROR: Error: No kernel config specified, or file not found! |
Was mache ich da falsch ?
emerge genkernel wurde auch schon ausgeführt.
nur leider finde ich nichts in /usr/src/ bzw dieses verz. ist leer
doch laut der doku sollte ich da doch die kernelquellen finden, oder ?
Für jede Hilfe wäre ich sehr dankbar.
MfG |
|
Back to top |
|
|
AlphaBingo n00b
Joined: 09 Sep 2004 Posts: 31 Location: Germany, Ludwigshafen am Rhein
|
Posted: Tue Nov 02, 2004 8:14 am Post subject: |
|
|
Ich hab mal kurz in der Installationsanleitung nachgeschaut: Du musst dir auch Kernelquellen installieren! genkernel ist nur ein Skript, das dir den Kernel konfiguriert. Wenn Du unentschlossen bist, nimm einen 2.6er Vanilla Kernel, also Code: | emerge development-sources | Hilft das? _________________ Fear makes you hesitate
But hesitation makes your wortst fears come true!
----------
Ich darf das, ich bin root! |
|
Back to top |
|
|
platinumviper l33t
Joined: 12 Feb 2004 Posts: 661 Location: Munich, Germany
|
Posted: Tue Nov 02, 2004 9:46 am Post subject: Re: No kernel .config specified, or file not found |
|
|
shadowone wrote: | [code]livecd# genkernel all |
Du brauchst die Sourcen, hat AlphaBingo ja schon geschrieben.
Du musst genkernel mit --menuconfig (Text-Modus), --gconfig (GNOME) oder --xconfig (KDE) aufrufen, sonst bekommst Du einen Kernel, der nur für Installations/Live-CDs geeignet ist, "optimiert" für Pentium1 und alle erdenkliche Hardware als Modul. Das kompilieren dürfte dann mindesten 20 Minuten dauern.
Ruf in /usr/src/linux make defconfig auf, dadurch bekommst Du eine gute default-Konfiguration. Anschliessend kopierst Du die .config nach /etc/kernels/config-2.6.9 (die Versionsnummer anpassen) und startest genkernel --gconfig all, Du musst dann nur noch die Hardware eintragen, die Du verwendest. Das kompilieren sollte bei halbwegs aktueller Hardware nicht länger als 10 Minuten dauern.
platinumviper _________________ No money back garantee. In case of problems, don't call us, we call you. |
|
Back to top |
|
|
shadowone n00b
Joined: 02 Nov 2004 Posts: 2
|
Posted: Tue Nov 02, 2004 10:08 am Post subject: |
|
|
Vielen Dank Euch beiden für die schnellen Antworten.
Mein genkernel wird jetzt kompiliert.
Danke sehr. |
|
Back to top |
|
|
|
|
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
|
|