Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No kernel .config specified, or file not found
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
shadowone
n00b
n00b


Joined: 02 Nov 2004
Posts: 2

PostPosted: Tue Nov 02, 2004 8:01 am    Post subject: No kernel .config specified, or file not found Reply with quote

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


Joined: 09 Sep 2004
Posts: 31
Location: Germany, Ludwigshafen am Rhein

PostPosted: Tue Nov 02, 2004 8:14 am    Post subject: Reply with quote

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


Joined: 12 Feb 2004
Posts: 661
Location: Munich, Germany

PostPosted: Tue Nov 02, 2004 9:46 am    Post subject: Re: No kernel .config specified, or file not found Reply with quote

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


Joined: 02 Nov 2004
Posts: 2

PostPosted: Tue Nov 02, 2004 10:08 am    Post subject: Reply with quote

Vielen Dank Euch beiden für die schnellen Antworten.
Mein genkernel wird jetzt kompiliert.

Danke sehr. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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