View previous topic :: View next topic |
Author |
Message |
mgnut57 Guru
Joined: 12 Jan 2008 Posts: 308
|
Posted: Sun Jul 14, 2024 5:10 pm Post subject: split-usr vs. merged -- which do I need? |
|
|
I recently ran into the need to update profiles from 17 to 23. However, which profile to select?
How can I tell if I should use a split-usr or one of the merged profiles. On one machine, I think I selected the wrong one and it resulted in bash failing to run with "input/output error" or something similar. Fortunately, I was able to boot from a USB and recover from backups.
I have one more machine to upgrade. I suspect that it should be split-usr, but how can I be sure? |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5063 Location: Bavaria
|
Posted: Sun Jul 14, 2024 5:40 pm Post subject: |
|
|
It is very easy:
All 17.1 profiles that did not have a "merged-usr" in their name were (invisibly) a "split-usr" profile.
With 23.0 profiles it is exactly the other way around: Everything that does not have a "split-usr" in its name is a (invisible) "merged-usr" profile.
For example, if you had a 17.1 desktop profile (without explicit merged-usr), you now need the [46] default/linux/amd64/23.0/split-usr/desktop (stable).
If you previously had a 17.1/desktop/systemd/merged-usr you now need a 23.0/desktop/systemd (stable).
If you are now on a 23.0 split-usr profile and want to switch to a 23.0 merged-usr profile, you can do this AFTER your switch from 17.1 to 23.0:
https://wiki.gentoo.org/wiki/Merge-usr _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
mgnut57 Guru
Joined: 12 Jan 2008 Posts: 308
|
Posted: Sun Jul 14, 2024 6:24 pm Post subject: |
|
|
pietinger wrote: | It is very easy:
All 17.1 profiles that did not have a "merged-usr" in their name were (invisibly) a "split-usr" profile.
With 23.0 profiles it is exactly the other way around: Everything that does not have a "split-usr" in its name is a (invisible) "merged-usr" profile.
For example, if you had a 17.1 desktop profile (without explicit merged-usr), you now need the [46] default/linux/amd64/23.0/split-usr/desktop (stable).
If you previously had a 17.1/desktop/systemd/merged-usr you now need a 23.0/desktop/systemd (stable).
If you are now on a 23.0 split-usr profile and want to switch to a 23.0 merged-usr profile, you can do this AFTER your switch from 17.1 to 23.0:
https://wiki.gentoo.org/wiki/Merge-usr |
That makes a lot of sense. I run OpenRC, so no need to ever use a "merged" profile.
What are the actual differences between merged and split-usr profiles? |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2388
|
Posted: Sun Jul 14, 2024 6:51 pm Post subject: |
|
|
mgnut57 wrote: |
What are the actual differences between merged and split-usr profiles? |
https://www.gentoo.org/support/news-items/2022-12-01-systemd-usrmerge.html
More and more things will not support split-usr in the future, so unless you don't have an explicit reason not to, it might be wise to migrate now.
I know what you're thinking, despite the fact you're running OpenRC.
Best Regards,
Georgi |
|
Back to top |
|
|
|