View previous topic :: View next topic |
Author |
Message |
Dikkiedik Guru


Joined: 04 Oct 2004 Posts: 406 Location: Netherlands
|
Posted: Mon Nov 08, 2004 12:08 pm Post subject: Kernel compilen met Genkernel |
|
|
Ik draai nu 2.6.7-r3
Ik heb emerge sync gedaan, heb nu emerge gentoo-dev-sources achter de rug.
Hoe gebruik ik Genkernel zodat ik 2.6.9 kan compileren?
Nu doetie steeds 2.6.7.
Google is niet mijn beste vriend vandaag.
Alvast bedankt,
Kev |
|
Back to top |
|
 |
BoZ Tux's lil' helper


Joined: 27 Aug 2003 Posts: 114 Location: The Netherlands
|
Posted: Mon Nov 08, 2004 2:48 pm Post subject: |
|
|
Ik heb nog nooit genkernel gebruikt, maar ik gok dat je probleem komt omdat /usr/src/linux verwijst naar de kernel-source die je gebruikt. Dit kan je controleren met
De naam linux verwijst hier naar een kernel, als dit de foute is moet je dit doen: Code: | cd /usr/src
rm linux
ln -s <goede kernel> linux |
Zo maak je een nieuwe link aan en zou alles moeten werken. |
|
Back to top |
|
 |
jakamaka Apprentice


Joined: 17 Jun 2004 Posts: 266 Location: My self-sustainable fusion of thought
|
Posted: Mon Nov 08, 2004 4:16 pm Post subject: |
|
|
Genkernel is wel ok,
MAAR, het compiled echt veel te veel. Duurt pokkelang, compiled support voor filetypes die je bv nooit gaat gebruiken, en de iptables module wordt o.a. niet meegecompiled. Dus firewall is al uitgesloten.
hier is een goeie tutorial hoe je een custom kernel kan compilen: hoe je eigen kernel te compilen _________________ It would be more interesting to learn from children, than try to teach them how to behave, how to live and how to function. - U.G. Krishnamurti |
|
Back to top |
|
 |
liber! Tux's lil' helper

Joined: 05 Aug 2004 Posts: 123 Location: EU, Antwerp
|
Posted: Mon Nov 08, 2004 7:54 pm Post subject: |
|
|
Je kan ook altijd starten van de config file van een werkende kernel: zcat /proc/config.gz > /usr/src/linux/.config
en dan make menuconfig starten, dat is misschien wel interessant voor mensen die willen over stappen van genkernel naar zelf configureren en compileren.
Nathan, |
|
Back to top |
|
 |
Dikkiedik Guru


Joined: 04 Oct 2004 Posts: 406 Location: Netherlands
|
Posted: Tue Nov 09, 2004 12:38 pm Post subject: |
|
|
Ik heb nu in /usr/src/linux-2.6.9-gentoo-r1 make menuconfig gedaan
toen kreeg ik hetzelfde menutje als bij genkernel
De juiste configuratie bepaald,
daarna 'make' gedaan
gewacht tot hij klaar was met compileren,
Wat moet ik nu in grub.conf zetten om mijn nieuwe kernel te kunnen booten? |
|
Back to top |
|
 |
ZeroX-NL n00b

Joined: 16 Jul 2004 Posts: 35
|
Posted: Tue Nov 09, 2004 1:05 pm Post subject: |
|
|
zorg dat je je bzImage en System.map in je /boot hebt staan
en edit je grub.conf naar je bzImage
als je ff de gentoo install docs leest ben je dr zo uit
groet |
|
Back to top |
|
 |
BlackEdder Advocate


Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Tue Nov 09, 2004 1:19 pm Post subject: |
|
|
Altijd handig om je oude bzimage effe te houden en er ook een grub entry voor te maken, kan je altijd met je oude kernel booten als je nieuwe niet werkt |
|
Back to top |
|
 |
|