Re: Using Gentoo as server and desktop

"[email protected]" <[email protected]> Thu, 5 Dec 2024 22:28:56 +0100
Newsgroups gmane.linux.gentoo.server
Message-ID <[email protected]>
--Apple-Mail-3416F59D-8495-4E12-9438-69CC009328E5
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

Thank you mate!!


Yep I have used all of them=E2=80=A6 perhaps I prefer doing a make olddefcon=
fig save the generated .config and then clean all and run genkernel with men=
uconfig and load there (from menuconfig) the olddefconfig .config file=E2=80=
=A6

But you always can think that perhaps some parameter of the new kernel as a c=
onsecuence of a fixed parameter in your .config could end up incorrectly con=
figured causing corruptions of some sort or very unexpected and dangerous er=
roneus working mode=E2=80=A6.

That=E2=80=99s why I asked about your experience in this kind of aspect=E2=80=
=A6

Cheers!
 =20

=0A=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=0AEgoitz Aurrekoetxea=0A=0ADepartamento de sistemas=0A=0A94 - 420 94 70 | [email protected]=0A=0AS A R E N E T   S.A.U.=0A=0AParque Tecnol=C3=B3gico. Edificio 103 | 48170 Zamudio (Bizkaia) - www.sarenet.es=0A=0A=0A=0AAntes de imprimir este correo electr=C3=B3nico piense si es necesario hacerlo.=0A=0A=0D=0A
=0D=0A




 =20

> El 5 dic 2024, a las 16:40, Jean-Francois Maeyhieux <[email protected]> escribi=
=C3=B3:
>=20
> =EF=BB=BFHi,
>=20
> as Norman told you, there is already a packaged kernel with all the
> necessary modules to run on any system.
>=20
> If you need a stripped down kernel that only supports your hardware for
> example, and you already have a .config from a previous kernel, you
> have several options:
>=20
> 1) Manual way:
> - copy .config from old/current kernel into new kernel folder
> - update the kernel configuration either way:
>  1.a) interactively: inside the new kernel folder do "make config"
> which will keep all of the options from the old .config and ask you
> interactively to set the new options (with default value and help using
> the "?" key)
>  1.b) using automatic default options: inside the new kernel folder do
> "make olddefconfig" which will keep all of the options from the old
> .config and set the new options to their recommended (i.e. default)
> values.
> - Then compile the kernel, modules and out-of-tree modules with:
>  make modules_prepare
>  make
>  emerge --ask @module-rebuild
>  make modules_install
>  make install
> - update grub configuration for openrc based system:
>  grub-mkconfig -o /boot/grub/grub.cfg
>=20
> See: https://wiki.gentoo.org/wiki/Kernel/Upgrade
>=20
> 2) The genkernel way:
>=20
> genkernel automates the kernel build process and assembles the
> initramfs. See: https://wiki.gentoo.org/wiki/Genkernel
>=20
> Regards,
>    Zentoo
>=20
>> Le jeudi 05 d=C3=A9cembre 2024 =C3=A0 10:09 +0100, Egoitz Aurrekoetxea a =C3=
=A9crit :
>> Hi mates,
>>=20
>> I would love using Gentoo as Desktop and Server OS. I used sometime ago, b=
ut it caused me the fact of not being able to upgrade my systems weekly or d=
aily, because sometimes you needed to upgrade the kernel and I was not reall=
y sure that the config entered for the kernel (loaded through Genkernel but w=
ith menuconfig and there load .config file) that was written with previous k=
ernel version building was going to not cause something weird or bad functio=
ning of newer built kernels with that config.
>>=20
>> Does exist a way... where you could emerge world, update all the system, f=
inally end up by upgrading the kernel and being sure that the old .config yo=
u used through menuconfig (or by any other way of importing) would not selec=
t erroneous parameters in newer kernels?. I though there were some... lint o=
ptions for the .cofig?. I think I have used them sometime ago....
>>=20
>> So for sumarizing, how do you manage for keep your systems up-to-date usi=
ng Gentoo?. How do you manage to keep your kernel upgraded?.
>>=20
>> Cheers,
>=20

--Apple-Mail-3416F59D-8495-4E12-9438-69CC009328E5
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto">Thank you mate!!<div><br><div><br></div><di=
v>Yep I have used all of them=E2=80=A6 perhaps I prefer doing a make olddefc=
onfig save the generated .config and then clean all and run genkernel with m=
enuconfig and load there (from menuconfig) the olddefconfig .config file=E2=80=
=A6</div><div><br></div><div>But you always can think that perhaps some para=
meter of the new kernel as a consecuence of a fixed parameter in your .confi=
g could end up incorrectly configured causing corruptions of some sort or ve=
ry unexpected and dangerous erroneus working mode=E2=80=A6.</div><div><br></=
div><div>That=E2=80=99s why I asked about your experience in this kind of as=
pect=E2=80=A6</div><div><br></div><div>Cheers!</div><div><div dir=3D"ltr"><s=
pan style=3D"font-size: 17pt;">&nbsp;&nbsp;</span><div><span style=3D"font-s=
ize: 17pt;"><br></span></div><div><span style=3D"font-size: 17pt;">firma_sar=
email</span></div><div><br></div><div><br><div><div>&nbsp;&nbsp;</div></div>=
</div></div><div dir=3D"ltr"><br><blockquote type=3D"cite">El 5 dic 2024, a l=
as 16:40, Jean-Francois Maeyhieux &lt;[email protected]&gt; escribi=C3=B3:<br><br=
></blockquote></div><blockquote type=3D"cite"><div dir=3D"ltr">=EF=BB=BF<spa=
n>Hi,</span><br><span></span><br><span> as Norman told you, there is already=
 a packaged kernel with all the</span><br><span>necessary modules to run on a=
ny system.</span><br><span></span><br><span>If you need a stripped down kern=
el that only supports your hardware for</span><br><span>example, and you alr=
eady have a .config from a previous kernel, you</span><br><span>have several=
 options:</span><br><span></span><br><span>1) Manual way:</span><br><span>- c=
opy .config from old/current kernel into new kernel folder</span><br><span>-=
 update the kernel configuration either way:</span><br><span> &nbsp;1.a) int=
eractively: inside the new kernel folder do "make config"</span><br><span>wh=
ich will keep all of the options from the old .config and ask you</span><br>=
<span>interactively to set the new options (with default value and help usin=
g</span><br><span>the "?" key)</span><br><span> &nbsp;1.b) using automatic d=
efault options: inside the new kernel folder do</span><br><span>"make olddef=
config" which will keep all of the options from the old</span><br><span>.con=
fig and set the new options to their recommended (i.e. default)</span><br><s=
pan>values.</span><br><span>- Then compile the kernel, modules and out-of-tr=
ee modules with:</span><br><span> &nbsp;make modules_prepare</span><br><span=
> &nbsp;make</span><br><span> &nbsp;emerge --ask @module-rebuild</span><br><=
span> &nbsp;make modules_install</span><br><span> &nbsp;make install</span><=
br><span>- update grub configuration for openrc based system:</span><br><spa=
n> &nbsp;grub-mkconfig -o /boot/grub/grub.cfg</span><br><span></span><br><sp=
an>See: https://wiki.gentoo.org/wiki/Kernel/Upgrade</span><br><span></span><=
br><span>2) The genkernel way:</span><br><span></span><br><span>genkernel au=
tomates the kernel build process and assembles the</span><br><span>initramfs=
. See: https://wiki.gentoo.org/wiki/Genkernel</span><br><span></span><br><sp=
an>Regards,</span><br><span> &nbsp;&nbsp;&nbsp;Zentoo</span><br><span></span=
><br><span>Le jeudi 05 d=C3=A9cembre 2024 =C3=A0 10:09 +0100, Egoitz Aurreko=
etxea a =C3=A9crit&nbsp;:</span><br><blockquote type=3D"cite"><span>Hi mates=
,</span><br></blockquote><blockquote type=3D"cite"><span></span><br></blockq=
uote><blockquote type=3D"cite"><span>I would love using Gentoo as Desktop an=
d Server OS. I used sometime ago, but it caused me the fact of not being abl=
e to upgrade my systems weekly or daily, because sometimes you needed to upg=
rade the kernel and I was not really sure that the config entered for the ke=
rnel (loaded through Genkernel but with menuconfig and there load .config fi=
le) that was written with previous kernel version building was going to not c=
ause something weird or bad functioning of newer built kernels with that con=
fig.</span><br></blockquote><blockquote type=3D"cite"><span></span><br></blo=
ckquote><blockquote type=3D"cite"><span>Does exist a way... where you could e=
merge world, update all the system, finally end up by upgrading the kernel a=
nd being sure that the old .config you used through menuconfig (or by any ot=
her way of importing) would not select erroneous parameters in newer kernels=
?. I though there were some... lint options for the .cofig?. I think I have u=
sed them sometime ago....</span><br></blockquote><blockquote type=3D"cite"><=
span></span><br></blockquote><blockquote type=3D"cite"><span>So for sumarizi=
ng, how do you manage for keep your systems up-to-date using Gentoo?. How do=
 you manage to keep your kernel upgraded?.</span><br></blockquote><blockquot=
e type=3D"cite"><span></span><br></blockquote><blockquote type=3D"cite"><spa=
n>Cheers,</span><br></blockquote><span></span><br></div></blockquote></div><=
/div></body></html>=

--Apple-Mail-3416F59D-8495-4E12-9438-69CC009328E5--