Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Recuperare .config del kernel
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
caio
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2005
Posts: 147
Location: Brescia (I)

PostPosted: Sun Dec 03, 2006 11:38 pm    Post subject: [SOLVED] Recuperare .config del kernel Reply with quote

Ciao a tutti,
qualcuno mi sa dire se c'è un modo per recuperare il file .config del kernel che sto attualmente utilizzando considerando che l'ho perso dalla directory dei sorgenti (/usr/src/linux) e non l'ho copiato in /boot ?

Grazie
_________________
Caio's blog


Last edited by caio on Sun Jan 21, 2007 10:34 am; edited 1 time in total
Back to top
View user's profile Send private message
Dun
Apprentice
Apprentice


Joined: 17 Apr 2004
Posts: 172
Location: Amsterdam (NL) / Venice (IT)

PostPosted: Mon Dec 04, 2006 12:08 am    Post subject: Reply with quote

Se hai compilato nel kernel la seguente opzione
Code:

CONFIG_IKCONFIG_PROC

basta il comando per visualizzarlo
Code:

zcat /proc/config.gz

e
Code:

zcat /proc/config.gz >> /config

per salvarlo


Cya!
Back to top
View user's profile Send private message
crisandbea
Veteran
Veteran


Joined: 03 Jul 2005
Posts: 1778
Location: BOSCO (SA) ... ma domiciliato a Bologna....

PostPosted: Mon Dec 04, 2006 9:09 am    Post subject: Re: Recuperare .config del kernel Reply with quote

caio wrote:
Ciao a tutti,
qualcuno mi sa dire se c'è un modo per recuperare il file .config del kernel che sto attualmente utilizzando considerando che l'ho perso dalla directory dei sorgenti (/usr/src/linux) e non l'ho copiato in /boot ?

Grazie


come hai fatto a perderlo ????
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Mon Dec 04, 2006 9:41 am    Post subject: Reply with quote

Se hai fatto le cose per bene, ma visto che hai perso il .config sembra di no, potresti trovarne una copia anche nella /boot, magari sara' qualche versione datata, ma meglio di niente.

Mandi.
_________________
LP
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Mon Dec 04, 2006 12:34 pm    Post subject: Reply with quote

lucapost wrote:
potresti trovarne una copia anche nella /boot


caio wrote:
non l'ho copiato in /boot ?


Aveva già detto di non averlo copiato in /boot, comunque l'unica strada credo proprio sia quella di Dun, altrimenti bisogna rifare la configurazione da 0.
_________________
Running Fast!
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Mon Dec 04, 2006 1:56 pm    Post subject: Reply with quote

Sorry.
_________________
LP
Back to top
View user's profile Send private message
caio
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2005
Posts: 147
Location: Brescia (I)

PostPosted: Sat Jan 20, 2007 2:15 pm    Post subject: Reply with quote

Cavolo non avevo l'opzione abilitata nel kernel, quindi la configurazione non è visibile in /proc.
L'ho perso per distrazione sovrascrivendolo in una fase di spostamento dei file di configurazione... :oops:
Non c'è altro modo per recuperarlo?
_________________
Caio's blog
Back to top
View user's profile Send private message
GuN_jAcK
l33t
l33t


Joined: 23 Mar 2005
Posts: 832
Location: Prague, Czech Republic

PostPosted: Sat Jan 20, 2007 6:16 pm    Post subject: Reply with quote

Non credo...
comunque ci rimetti poco a compilarne un'altro per farti anche un'altro file di conf.. al limite lascia questo kernel attuale come Rescue, nell'eventualità che qualcosa dovesse andare storto, e quello nuovo lo ottimizzi ben benino senza temere qualche spiacevole kernel panic.
_________________
Rispondi in maniera intelligente anche a chi ti tratta stupidamente.
Back to top
View user's profile Send private message
caio
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2005
Posts: 147
Location: Brescia (I)

PostPosted: Sun Jan 21, 2007 10:34 am    Post subject: Reply with quote

GuN_jAcK wrote:
Non credo...
comunque ci rimetti poco a compilarne un'altro per farti anche un'altro file di conf.. al limite lascia questo kernel attuale come Rescue, nell'eventualità che qualcosa dovesse andare storto, e quello nuovo lo ottimizzi ben benino senza temere qualche spiacevole kernel panic.

si si certo, però ci vuole comunque un attimo a riconfigurare tutto volendo ottenere un kernel leggero e ben ottimizzato, ma in ogni caso non credo di avere scelta per cui lo farò quanto prima...
Grazie a tutti :)
_________________
Caio's blog
Back to top
View user's profile Send private message
GuN_jAcK
l33t
l33t


Joined: 23 Mar 2005
Posts: 832
Location: Prague, Czech Republic

PostPosted: Sun Jan 21, 2007 11:49 am    Post subject: Reply with quote

Buonlavoro e buona configurazione ;)
_________________
Rispondi in maniera intelligente anche a chi ti tratta stupidamente.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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