Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Kernel]Avis de recherche de kernel !
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
zoltix
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 249
Location: Brusssels

PostPosted: Tue Apr 12, 2005 9:41 am    Post subject: [Kernel]Avis de recherche de kernel ! Reply with quote

Bonjour,
j’ai fait une belle bêtise j’ai perdu .config de mon kernel et je n’ai pas fait copy.
Comment je peux faire pour en récupérer une config par default. 2.6.11R5
Back to top
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2308
Location: Bretagne

PostPosted: Tue Apr 12, 2005 9:49 am    Post subject: Reply with quote

Ben tu réinstalles ton kernel, et il va t'en remettre un de .config
Code:
# emerge gentoo-sources
Back to top
View user's profile Send private message
zoltix
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 249
Location: Brusssels

PostPosted: Tue Apr 12, 2005 9:50 am    Post subject: Reply with quote

c'est aussi simple je pensais qu'il reprenait l'ancienne config

merci
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Tue Apr 12, 2005 9:53 am    Post subject: Re: [Kernel]Avis de recherche de kernel ! Reply with quote

zoltix wrote:
Bonjour,
j’ai fait une belle bêtise j’ai perdu .config de mon kernel et je n’ai pas fait copy.
Comment je peux faire pour en récupérer une config par default. 2.6.11R5

sinon si tu veux juste retrouver ta config, et que tu avais rajouté le support du /proc/config
ben tu as une copie du .config du kernel que tu utilises dans le
/proc/config
ou /proc/config.gz (si tu as en plus demandé qu'il soit compressé)

dans ce cas un :
Code:
cat /proc/config >/usr/src/linux/.config

ou
Code:
zcat /proc/config.gz >/usr/src/linux/.config

te permettra de les retrouver.
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Tue Apr 12, 2005 9:53 am    Post subject: Reply with quote

Ben tu as peut-ête un ".config.old" si tu n'as pas fais le "Monsieur Propre" ... :roll:

Sinon, tu l'as peut-être sur "/proc/config.gz" (si tu as coché les bonnes options dans ta config actuelle). Dans ce cas, copie ce fichier, gunzip-le et renomme-le en .config et voila.

Hope this helps !!
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
zoltix
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 249
Location: Brusssels

PostPosted: Tue Apr 12, 2005 9:54 am    Post subject: Reply with quote

merci yoyo tu m'as donné l'idée de le prendre du liveCD
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Tue Apr 12, 2005 9:54 am    Post subject: Reply with quote

Adrien wrote:
Ben tu réinstalles ton kernel, et il va t'en remettre un de .config
Code:
# emerge gentoo-sources
Je ne crois pas qu'emerger les sources génère un .config ...

EDIT : Grilled by sireyessire ®
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Tue Apr 12, 2005 9:57 am    Post subject: Reply with quote

mmm moi il me semle que .config renait de ses cendre avec make menuconfig... pas à l install (je crois me souvenir d un grep infructueux sur kernel fraichement emergé pas configuré)
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Tue Apr 12, 2005 10:01 am    Post subject: Reply with quote

Enlight wrote:
mmm moi il me semle que .config renait de ses cendre avec make menuconfig... pas à l install (je crois me souvenir d un grep infructueux sur kernel fraichement emergé pas configuré)
Le menuconfig permet de générer le .config via un menu (comme son nom l'indique).
Le "make defconfig" génère un .config avec toutes les options par défaut activée (donc à faire suivre d'un "make menuconfig" pour une interface ncurse ou "make xconfig" pour une interface QT ou "make gconfig" pour une interface GTK).
Enfin tout ça est bien décrit pas "make help".

Enjoy !
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Tue Apr 12, 2005 10:06 am    Post subject: Reply with quote

yoyo wrote:


EDIT : Grilled by sireyessire ®

LOL :lol:
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2308
Location: Bretagne

PostPosted: Tue Apr 12, 2005 10:18 am    Post subject: Reply with quote

Enlight wrote:
mmm moi il me semle que .config renait de ses cendre avec make menuconfig... pas à l install (je crois me souvenir d un grep infructueux sur kernel fraichement emergé pas configuré)

Oui, plutôt oui ! :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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