public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Using Gentoo as server and desktop
@ 2024-12-05 21:38 Egoitz Aurrekoetxea
  2024-12-05 22:02 ` Matt Connell
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Egoitz Aurrekoetxea @ 2024-12-05 21:38 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1419 bytes --]



Hi mates,

I would love using Gentoo as Desktop and Server OS. I used sometime ago, but it caused me the fact of not being able to upgrade my systems weekly or daily, because sometimes you needed to upgrade the kernel and I was not really sure that the config entered for the kernel (loaded through Genkernel 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.

Does exist a way... where you could emerge world, update all the system, finally end up by upgrading the kernel and being sure that the old .config you used through menuconfig (or by any other 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 used them sometime ago....

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?.

Cheers,

               




          








=============================

Egoitz Aurrekoetxea

Departamento de sistemas

94 - 420 94 70 | egoitz@sarenet.es

S A R E N E T   S.A.U.

Parque Tecnológico. Edificio 103 | 48170 Zamudio (Bizkaia) - www.sarenet.es



Antes de imprimir este correo electrónico piense si es necesario hacerlo.






[-- Attachment #2: Type: text/html, Size: 4636 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Using Gentoo as server and desktop
  2024-12-05 21:38 [gentoo-user] Using Gentoo as server and desktop Egoitz Aurrekoetxea
@ 2024-12-05 22:02 ` Matt Connell
  2024-12-06  9:14   ` egoitz
  2024-12-05 23:01 ` [gentoo-user] " Grant Edwards
  2024-12-06  0:25 ` [gentoo-user] " syscon edm
  2 siblings, 1 reply; 11+ messages in thread
From: Matt Connell @ 2024-12-05 22:02 UTC (permalink / raw
  To: gentoo-user

On Thu, 2024-12-05 at 22:38 +0100, Egoitz Aurrekoetxea wrote:
> How do you manage for keep your systems up-to-date using Gentoo? How
> do you manage to keep your kernel upgraded?

I use the distribution kernels, gentoo-kernel or gentoo-kernel-bin as
appropriate.  I didn't see the upside in trying to micro-optimize my
kernel configuration and builds just to save some memory/disk space.  I
have far more of both of those than I do unoccupied time.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user] Re: Using Gentoo as server and desktop
  2024-12-05 21:38 [gentoo-user] Using Gentoo as server and desktop Egoitz Aurrekoetxea
  2024-12-05 22:02 ` Matt Connell
@ 2024-12-05 23:01 ` Grant Edwards
  2024-12-05 23:20   ` Michael
  2024-12-06  9:18   ` egoitz
  2024-12-06  0:25 ` [gentoo-user] " syscon edm
  2 siblings, 2 replies; 11+ messages in thread
From: Grant Edwards @ 2024-12-05 23:01 UTC (permalink / raw
  To: gentoo-user

On 2024-12-05, Egoitz Aurrekoetxea <egoitz@sarenet.es> wrote:

> Does exist a way... where you could emerge world, update all the
> system, finally end up by upgrading the kernel and being sure that
> the old .config you used through menuconfig (or by any other way of
> importing) would not select erroneous parameters in newer
> kernels?

All my systems run custom-configured kernels built from on stable
gentoo-sources.

All I've ever done for a kernel upgrades is to go into the new kernel
source dir and do the following:

# zcat /proc/zconfig >.config
# make oldconfig
# make
# make install

For the past 20+ years, that has always worked fine for minor version
changes (e.g. 5.15.x ⇒ 5.15.y)

There have been a few major upgrades in the past 20 years when a large
kernel subsystem change required some sort of manual intervention with
a "make menuconfig". But, I can't actually remember the last time it
happened (it's been years).

--
Grant





^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: Using Gentoo as server and desktop
  2024-12-05 23:01 ` [gentoo-user] " Grant Edwards
@ 2024-12-05 23:20   ` Michael
  2024-12-06  9:18     ` egoitz
  2024-12-06 14:50     ` Grant Edwards
  2024-12-06  9:18   ` egoitz
  1 sibling, 2 replies; 11+ messages in thread
From: Michael @ 2024-12-05 23:20 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1185 bytes --]

On Thursday 5 December 2024 23:01:36 GMT Grant Edwards wrote:
> On 2024-12-05, Egoitz Aurrekoetxea <egoitz@sarenet.es> wrote:
> > Does exist a way... where you could emerge world, update all the
> > system, finally end up by upgrading the kernel and being sure that
> > the old .config you used through menuconfig (or by any other way of
> > importing) would not select erroneous parameters in newer
> > kernels?
> 
> All my systems run custom-configured kernels built from on stable
> gentoo-sources.
> 
> All I've ever done for a kernel upgrades is to go into the new kernel
> source dir and do the following:
> 
> # zcat /proc/zconfig >.config
> # make oldconfig
> # make
> # make install
> 
> For the past 20+ years, that has always worked fine for minor version
> changes (e.g. 5.15.x ⇒ 5.15.y)
> 
> There have been a few major upgrades in the past 20 years when a large
> kernel subsystem change required some sort of manual intervention with
> a "make menuconfig". But, I can't actually remember the last time it
> happened (it's been years).
> 
> --
> Grant

Also, don't forget 'make modules_install' for any modules not built in the 
kernel.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Using Gentoo as server and desktop
  2024-12-05 21:38 [gentoo-user] Using Gentoo as server and desktop Egoitz Aurrekoetxea
  2024-12-05 22:02 ` Matt Connell
  2024-12-05 23:01 ` [gentoo-user] " Grant Edwards
@ 2024-12-06  0:25 ` syscon edm
  2024-12-06  9:20   ` egoitz
  2 siblings, 1 reply; 11+ messages in thread
From: syscon edm @ 2024-12-06  0:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1821 bytes --]

The only way you will make it work, is if you have a minimum one working
backup.
You upgrade a backup first, check if everything is working correctly then
you update the main system.
Have been doing it for over 20-years.

It is not only the kernel that you have to worry about.

--
syscon

On Thu, Dec 5, 2024 at 2:38 PM Egoitz Aurrekoetxea <egoitz@sarenet.es>
wrote:

> 
> 
> Hi mates,
>
> I would love using Gentoo as Desktop and Server OS. I used sometime ago,
> but it caused me the fact of not being able to upgrade my systems weekly or
> daily, because sometimes you needed to upgrade the kernel and I was not
> really sure that the config entered for the kernel (loaded through
> Genkernel 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.
>
> Does exist a way... where you could emerge world, update all the system,
> finally end up by upgrading the kernel and being sure that the old .config
> you used through menuconfig (or by any other 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 used them sometime ago....
>
> 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?.
>
> Cheers,
>
>
>
>
>
>
>
>
>
>
>
> [image: sarenet]
> *Egoitz Aurrekoetxea*
> Departamento de sistemas
> 94 - 420 94 70
> egoitz@sarenet.es
> www.sarenet.es
> Parque Tecnológico. Edificio 103
> 48170 Zamudio (Bizkaia)
> [image: servicios sarenet]
> Antes de imprimir este correo electrónico piense si es necesario hacerlo.
>
>

[-- Attachment #2: Type: text/html, Size: 4673 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Using Gentoo as server and desktop
  2024-12-05 22:02 ` Matt Connell
@ 2024-12-06  9:14   ` egoitz
  0 siblings, 0 replies; 11+ messages in thread
From: egoitz @ 2024-12-06  9:14 UTC (permalink / raw
  To: gentoo-user; +Cc: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 947 bytes --]

Thanks a Lot for your contribution Matt!
  



=============================

Egoitz Aurrekoetxea

Departamento de sistemas

94 - 420 94 70 | egoitz@sarenet.es

S A R E N E T   S.A.U.

Parque Tecnológico. Edificio 103 | 48170 Zamudio (Bizkaia) - www.sarenet.es



Antes de imprimir este correo electrónico piense si es necesario hacerlo.









  

> El 5 dic 2024, a las 23:02, Matt Connell <matt@connell.tech> escribió:
> 
> On Thu, 2024-12-05 at 22:38 +0100, Egoitz Aurrekoetxea wrote:
>> How do you manage for keep your systems up-to-date using Gentoo? How
>> do you manage to keep your kernel upgraded?
> 
> I use the distribution kernels, gentoo-kernel or gentoo-kernel-bin as
> appropriate.  I didn't see the upside in trying to micro-optimize my
> kernel configuration and builds just to save some memory/disk space.  I
> have far more of both of those than I do unoccupied time.
> 
> 

[-- Attachment #2: Type: text/html, Size: 4038 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: Using Gentoo as server and desktop
  2024-12-05 23:01 ` [gentoo-user] " Grant Edwards
  2024-12-05 23:20   ` Michael
@ 2024-12-06  9:18   ` egoitz
  1 sibling, 0 replies; 11+ messages in thread
From: egoitz @ 2024-12-06  9:18 UTC (permalink / raw
  To: gentoo-user; +Cc: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1826 bytes --]

Thanks a Lot Grant!!

Nice to know you never suffered issues…

I would to this way with config but, later genkerneled and loaded through menuconfig the file…

I prefer genkernel Because provides flexibility but creates you an initramfs for returning from sleep/hibernate… although I later change slightly that initramfs lol 🤣 
  



=============================

Egoitz Aurrekoetxea

Departamento de sistemas

94 - 420 94 70 | egoitz@sarenet.es

S A R E N E T   S.A.U.

Parque Tecnológico. Edificio 103 | 48170 Zamudio (Bizkaia) - www.sarenet.es



Antes de imprimir este correo electrónico piense si es necesario hacerlo.









  

> El 6 dic 2024, a las 0:02, Grant Edwards <grant.b.edwards@gmail.com> escribió:
> 
> On 2024-12-05, Egoitz Aurrekoetxea <egoitz@sarenet.es> wrote:
> 
>> Does exist a way... where you could emerge world, update all the
>> system, finally end up by upgrading the kernel and being sure that
>> the old .config you used through menuconfig (or by any other way of
>> importing) would not select erroneous parameters in newer
>> kernels?
> 
> All my systems run custom-configured kernels built from on stable
> gentoo-sources.
> 
> All I've ever done for a kernel upgrades is to go into the new kernel
> source dir and do the following:
> 
> # zcat /proc/zconfig >.config
> # make oldconfig
> # make
> # make install
> 
> For the past 20+ years, that has always worked fine for minor version
> changes (e.g. 5.15.x ⇒ 5.15.y)
> 
> There have been a few major upgrades in the past 20 years when a large
> kernel subsystem change required some sort of manual intervention with
> a "make menuconfig". But, I can't actually remember the last time it
> happened (it's been years).
> 
> --
> Grant
> 
> 
> 
> 

[-- Attachment #2: Type: text/html, Size: 5394 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: Using Gentoo as server and desktop
  2024-12-05 23:20   ` Michael
@ 2024-12-06  9:18     ` egoitz
  2024-12-06 14:50     ` Grant Edwards
  1 sibling, 0 replies; 11+ messages in thread
From: egoitz @ 2024-12-06  9:18 UTC (permalink / raw
  To: gentoo-user; +Cc: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1716 bytes --]

In my case genkernel will handle it but yes 👍😀
  



=============================

Egoitz Aurrekoetxea

Departamento de sistemas

94 - 420 94 70 | egoitz@sarenet.es

S A R E N E T   S.A.U.

Parque Tecnológico. Edificio 103 | 48170 Zamudio (Bizkaia) - www.sarenet.es



Antes de imprimir este correo electrónico piense si es necesario hacerlo.









  

> El 6 dic 2024, a las 0:21, Michael <confabulate@kintzios.com> escribió:
> 
> On Thursday 5 December 2024 23:01:36 GMT Grant Edwards wrote:
>>> On 2024-12-05, Egoitz Aurrekoetxea <egoitz@sarenet.es> wrote:
>>> Does exist a way... where you could emerge world, update all the
>>> system, finally end up by upgrading the kernel and being sure that
>>> the old .config you used through menuconfig (or by any other way of
>>> importing) would not select erroneous parameters in newer
>>> kernels?
>> 
>> All my systems run custom-configured kernels built from on stable
>> gentoo-sources.
>> 
>> All I've ever done for a kernel upgrades is to go into the new kernel
>> source dir and do the following:
>> 
>> # zcat /proc/zconfig >.config
>> # make oldconfig
>> # make
>> # make install
>> 
>> For the past 20+ years, that has always worked fine for minor version
>> changes (e.g. 5.15.x ⇒ 5.15.y)
>> 
>> There have been a few major upgrades in the past 20 years when a large
>> kernel subsystem change required some sort of manual intervention with
>> a "make menuconfig". But, I can't actually remember the last time it
>> happened (it's been years).
>> 
>> --
>> Grant
> 
> Also, don't forget 'make modules_install' for any modules not built in the
> kernel.
> <signature.asc>

[-- Attachment #2: Type: text/html, Size: 6221 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Using Gentoo as server and desktop
  2024-12-06  0:25 ` [gentoo-user] " syscon edm
@ 2024-12-06  9:20   ` egoitz
  0 siblings, 0 replies; 11+ messages in thread
From: egoitz @ 2024-12-06  9:20 UTC (permalink / raw
  To: gentoo-user; +Cc: gentoo-user

[-- Attachment #1: Type: text/html, Size: 8361 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user] Re: Using Gentoo as server and desktop
  2024-12-05 23:20   ` Michael
  2024-12-06  9:18     ` egoitz
@ 2024-12-06 14:50     ` Grant Edwards
  2024-12-14 14:05       ` Frank Steinmetzger
  1 sibling, 1 reply; 11+ messages in thread
From: Grant Edwards @ 2024-12-06 14:50 UTC (permalink / raw
  To: gentoo-user

On 2024-12-05, Michael <confabulate@kintzios.com> wrote:
> On Thursday 5 December 2024 23:01:36 GMT Grant Edwards wrote:
>> On 2024-12-05, Egoitz Aurrekoetxea <egoitz@sarenet.es> wrote:

>> All I've ever done for a kernel upgrades is to go into the new kernel
>> source dir and do the following:
>> 
>> # zcat /proc/zconfig >.config
>> # make oldconfig
>> # make
>> # make install
>> [..]

> Also, don't forget 'make modules_install' for any modules not built in the 
> kernel.

Good catch. I forgot to mention that. It's always the step after "make
install".  Every once in a while I do forget to do that step. For my
systems that usually means that X won't start until I do the "make
modules_install".

--
Grant





^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: Using Gentoo as server and desktop
  2024-12-06 14:50     ` Grant Edwards
@ 2024-12-14 14:05       ` Frank Steinmetzger
  0 siblings, 0 replies; 11+ messages in thread
From: Frank Steinmetzger @ 2024-12-14 14:05 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1000 bytes --]

Am Fri, Dec 06, 2024 at 02:50:01PM -0000 schrieb Grant Edwards:

> >> All I've ever done for a kernel upgrades is to go into the new kernel
> >> source dir and do the following:
> >> 
> >> # zcat /proc/zconfig >.config
> >> # make oldconfig
> >> # make
> >> # make install
> >> [..]
> 
> > Also, don't forget 'make modules_install' for any modules not built in the 
> > kernel.
> 
> Good catch. I forgot to mention that. It's always the step after "make
> install".  Every once in a while I do forget to do that step. For my
> systems that usually means that X won't start until I do the "make
> modules_install".

You can actually combine the two with
make install modules_install
:)

It may even be possible to do something like
make bzImage modules install modules_install
(I use sources from kernel.org and those four actions are what I use 
regularly, though in two separate make runs).

-- 
Grüße | Greetings | Salut | Qapla’
Stop overpopulation, become gay!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-12-14 14:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-05 21:38 [gentoo-user] Using Gentoo as server and desktop Egoitz Aurrekoetxea
2024-12-05 22:02 ` Matt Connell
2024-12-06  9:14   ` egoitz
2024-12-05 23:01 ` [gentoo-user] " Grant Edwards
2024-12-05 23:20   ` Michael
2024-12-06  9:18     ` egoitz
2024-12-06 14:50     ` Grant Edwards
2024-12-14 14:05       ` Frank Steinmetzger
2024-12-06  9:18   ` egoitz
2024-12-06  0:25 ` [gentoo-user] " syscon edm
2024-12-06  9:20   ` egoitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox