Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel compilen met Genkernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Dutch
View previous topic :: View next topic  
Author Message
Dikkiedik
Guru
Guru


Joined: 04 Oct 2004
Posts: 406
Location: Netherlands

PostPosted: Mon Nov 08, 2004 12:08 pm    Post subject: Kernel compilen met Genkernel Reply with quote

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
View user's profile Send private message
BoZ
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2003
Posts: 114
Location: The Netherlands

PostPosted: Mon Nov 08, 2004 2:48 pm    Post subject: Reply with quote

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
Code:
ls -l /usr/src

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


Joined: 17 Jun 2004
Posts: 266
Location: My self-sustainable fusion of thought

PostPosted: Mon Nov 08, 2004 4:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
liber!
Tux's lil' helper
Tux's lil' helper


Joined: 05 Aug 2004
Posts: 123
Location: EU, Antwerp

PostPosted: Mon Nov 08, 2004 7:54 pm    Post subject: Reply with quote

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


Joined: 04 Oct 2004
Posts: 406
Location: Netherlands

PostPosted: Tue Nov 09, 2004 12:38 pm    Post subject: Reply with quote

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


Joined: 16 Jul 2004
Posts: 35

PostPosted: Tue Nov 09, 2004 1:05 pm    Post subject: Reply with quote

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


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Tue Nov 09, 2004 1:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Dutch 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