Re: Using Gentoo as server and desktop
Jean-Francois Maeyhieux <[email protected]> Fri, 06 Dec 2024 13:43:18 +0100
| Newsgroups | gmane.linux.gentoo.server |
|---|---|
| Organization | Zentoo |
| Message-ID | <[email protected]> |
The defaults selected by olddefconfig should be safe. At worst, it will add support for things you don't need. Personally, I have been maintaining my own kernel configuration for 20 years, using oldconfig and selecting all new options myself. I deselect experimental ones and most device related ones (as I already have support for the devices I use). For everything else I look on the web about it, it's a way to know what you're doing and to learn a lot about what the kernel support through time. I'm certainly a config kernel integrist :) Le jeudi 05 d=C3=A9cembre 2024 =C3=A0 22:28 +0100, [email protected] a =C3= =A9crit=C2=A0: > Thank you mate!! >=20 >=20 > Yep I have used all of them=E2=80=A6 perhaps I prefer doing a make olddef= config save the generated .config and then clean all and run genkernel with= menuconfig and load there (from menuconfig) the olddefconfig .config file= =E2=80=A6 >=20 > But you always can think that perhaps some parameter of the new kernel as= a consecuence of a fixed parameter in your .config could end up incorrectl= y configured causing corruptions of some sort or very unexpected and danger= ous erroneus working mode=E2=80=A6. >=20 > That=E2=80=99s why I asked about your experience in this kind of aspect= =E2=80=A6 >=20 > Cheers! > =C2=A0=C2=A0 >=20 > firma_saremail >=20 >=20 > =C2=A0=C2=A0 >=20 > > El 5 dic 2024, a las 16:40, Jean-Francois Maeyhieux <[email protected]> escr= ibi=C3=B3: > >=20 > > =EF=BB=BFHi, > >=20 > > =C2=A0as Norman told you, there is already a packaged kernel with all t= he > > 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: > > =C2=A0=C2=A01.a) interactively: inside the new kernel folder do "make c= onfig" > > 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) > > =C2=A0=C2=A01.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: > > =C2=A0=C2=A0make modules_prepare > > =C2=A0=C2=A0make > > =C2=A0=C2=A0emerge --ask @module-rebuild > > =C2=A0=C2=A0make modules_install > > =C2=A0=C2=A0make install > > - update grub configuration for openrc based system: > > =C2=A0=C2=A0grub-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, > > =C2=A0=C2=A0=C2=A0=C2=A0Zentoo > >=20 > > Le jeudi 05 d=C3=A9cembre 2024 =C3=A0 10:09 +0100, Egoitz Aurrekoetxea = a =C3=A9crit=C2=A0: > > > Hi mates, > > >=20 > > > I would love using Gentoo as Desktop and Server OS. I used sometime a= go, but it caused me the fact of not being able to upgrade my systems weekl= y or daily, because sometimes you needed to upgrade the kernel and I was no= t really sure that the config entered for the kernel (loaded through Genker= nel but with menuconfig and there load .config file) that was written with = previous kernel version building was going to not cause something weird or = bad functioning of newer built kernels with that config. > > >=20 > > > Does exist a way... where you could emerge world, update all the syst= em, finally end up by upgrading the kernel and being sure that the old .con= fig you used through menuconfig (or by any other way of importing) would no= t select erroneous parameters in newer kernels?. I though there were some..= . lint options 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= using Gentoo?. How do you manage to keep your kernel upgraded?. > > >=20 > > > Cheers, > >=20