Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Configurazione 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
ænigma
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2019
Posts: 123
Location: Italy

PostPosted: Tue Apr 09, 2019 9:35 am    Post subject: Configurazione del Kernel Reply with quote

Salve a tutti, avevo una domanda riguardo la configurazione del kernel con genkernel: in /etc/genkernel.conf ho impostato "make oldconfig=yes", quando dovrò ricompilare il nuovo kernel con genkernel --install all, avrò di default la vecchia configurazione di menuconfig ench'essa impostata=yes? Grazie in anticipo.
_________________
Davide


Descriverei Gentoo con una sola parola: GENIALE!
Back to top
View user's profile Send private message
xdarma
l33t
l33t


Joined: 08 Dec 2003
Posts: 720
Location: tra veneto e friuli (italy)

PostPosted: Wed Apr 10, 2019 7:25 am    Post subject: Reply with quote

Non mi è chiara la domanda, comunque: la configurazione di genkernel dovrebbe rimanere sempre la stessa anche con il nuovo kernel.
Se la domanda era sulla configurazione del kernel (non di genkernel) credo tu debba istruire genkernel con il flag "--kernel-config=/etc/kernels/configurazione-kernel-precedente" oppure copi la configurazione del vecchio kernel nella directory del nuovo kernel, rinominandola ".config" e genkernel (configurato con OLDCONFIG="yes") dovrebbe usarla anche senza opzioni specifiche.

Spero di aver capito il problema e di non aver detto stupidaggini. ;-)
_________________
proud user of faKeDE-4.7.3 -> back to windowmaker -> moved to LXQt
Back to top
View user's profile Send private message
ænigma
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2019
Posts: 123
Location: Italy

PostPosted: Wed Apr 10, 2019 9:36 am    Post subject: Reply with quote

Grazie xdarma, scusa se non sono stato chiaro, ma volevo solo sapere se genkernel mi manteneva la vecchia configurazione del kernel avendo OLDCONFIG=yes e se non dovevo reimpostare ogni volta menuconfig. :-)
_________________
Davide


Descriverei Gentoo con una sola parola: GENIALE!
Back to top
View user's profile Send private message
ilnanny
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2017
Posts: 123
Location: Italy/Taranto

PostPosted: Sat Apr 27, 2019 9:30 am    Post subject: Reply with quote

si ma ti conviene salvare la configurazione esistente in una cartella ,es /root (così non la vai a toccare da utente normale) e recuperarla quando aggiorni il kernel .tipo:
*salvi la configurazione esistente in /root:
Code:

gunzip /proc/config.gz -c > /root/config; cp /root/config /root/config-$(uname -r)

*recuperi il file di configurazione e lo dai in pasto a genkernel :
Code:

genkernel --makeopts=-jx  --kernel-config=/root/config all

dove -jx stà per il tuo numero di processori naturalmente .
_________________
== Lila-HD-icon-theme ==
https://github.com/ilnanny/Lila-HD-icon-theme
Back to top
View user's profile Send private message
sabayonino
Veteran
Veteran


Joined: 03 Jan 2012
Posts: 1049

PostPosted: Sat Apr 27, 2019 10:16 am    Post subject: Reply with quote

con
Code:
# genkernel --save-config [...]


la salva in /etc/kernels

poi la puoi richiamare/modificare e (ri)salvare
Code:
# genkernel --save-config --kernel-config=/etc/kernels/<la_conf_ineteressata> ...


Comuqnue nella configurazionedi genkernel :
Code:
# Save the new configuration in /etc/kernels upon
# successfull compilation
SAVE_CONFIG="yes"


impostando su "yes" te la salva in automatico

Se si ha la neccessità di eseguire menuconfig ogni volta , in /etc/genkernel.conf :
Code:
# Run 'make menuconfig' before compiling this kernel?
MENUCONFIG="no"


Oppure
Code:
# Run 'make nconfig' (ncurses 'menuconfig') before compiling this kernel?
NCONFIG="no"

Impostare yes|no
_________________
LRS 64/32
Back to top
View user's profile Send private message
ænigma
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2019
Posts: 123
Location: Italy

PostPosted: Sat Apr 27, 2019 2:52 pm    Post subject: Reply with quote

Grazie gente, ogni volta faccio tesoro dei vostri consigli, magari le mie domande vi sembrano banali, ma sto solo cercando di capire bene come funziona Gentoo. Grazie.
_________________
Davide


Descriverei Gentoo con una sola parola: GENIALE!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31478
Location: here

PostPosted: Sat Apr 27, 2019 3:40 pm    Post subject: Reply with quote

aenigma wrote:
Grazie gente, ogni volta faccio tesoro dei vostri consigli, magari le mie domande vi sembrano banali, ma sto solo cercando di capire bene come funziona Gentoo. Grazie.

Non esistono domande imbarazzanti, bensì risposte imbarazzanti. - Oscar Wilde
_________________
Questions are guaranteed in life; Answers aren't.
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