Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto] Trasportare il 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
antonellocaroli
Guru
Guru


Joined: 11 Aug 2016
Posts: 509

PostPosted: Fri Mar 22, 2019 5:03 am    Post subject: [Risolto] Trasportare il kernel Reply with quote

Compilo il kernel in genere con Genkernel.

é possibile trasportare il kernel compilato con Genkernel da un pc ad un altro?

se si come? e quali file devo portare sull'altro pc?


Last edited by antonellocaroli on Sun Mar 24, 2019 8:06 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Fri Mar 22, 2019 6:46 am    Post subject: Reply with quote

Non l'ho mai fatto ma teoricamente basta copiare quello che c'e' in boot (initramfs, kernel e magari il menu di grub) e i moduli sotto /lib/modules/<versione_del_kernel>
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
antonellocaroli
Guru
Guru


Joined: 11 Aug 2016
Posts: 509

PostPosted: Sun Mar 24, 2019 8:07 am    Post subject: Reply with quote

fedeliallalinea wrote:
Non l'ho mai fatto ma teoricamente basta copiare quello che c'e' in boot (initramfs, kernel e magari il menu di grub) e i moduli sotto /lib/modules/<versione_del_kernel>


Si, perfetto, funziona....in passato avevo provato una cosa del genere ma non andava....forse avevo omesso qualcosa....Grazie!!!
Back to top
View user's profile Send private message
sabayonino
Veteran
Veteran


Joined: 03 Jan 2012
Posts: 1012

PostPosted: Sun Mar 24, 2019 8:18 am    Post subject: Reply with quote

Se "trasporti" il kernel su un pc diverso devi essere sicuro che il supporto all'hardware di quel pc sia incluso
_________________
LRS i586 on G.Drive
LRS x86-64 EFI on MEGA
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: Fri Apr 12, 2019 8:39 am    Post subject: Reply with quote

Io avendo 2 pc gemelli , mi salvo la configurazione e la copio nella root del pc2 .
Una volta scaricati i sorgenti del kernel lancio genkernel con oldconfig utilizzando il file di configurazione appena copiato in /root.
Code:
genkernel --makeopts=-j5 --splash --kernel-config=/root/config all

Lo ritengo un lavoro pi 'pulito'
_________________
== Lila-HD-icon-theme ==
https://github.com/ilnanny/Lila-HD-icon-theme
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Tue Apr 16, 2019 8:35 am    Post subject: Reply with quote

ilnanny wrote:
Io avendo 2 pc gemelli , mi salvo la configurazione e la copio nella root del pc2 .

se hai due pc identici, può essere conveniente condividere alcune cartelle (/etc/portage , /usr/portage ...) con nfs e compilare con distcc.
inoltre, ove possibile, prova a usare l'opzione -k di emerge.
_________________
vu vu vu
gentù
mi piaci tu
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