Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
split-usr vs. merged -- which do I need?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mgnut57
Guru
Guru


Joined: 12 Jan 2008
Posts: 308

PostPosted: Sun Jul 14, 2024 5:10 pm    Post subject: split-usr vs. merged -- which do I need? Reply with quote

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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5094
Location: Bavaria

PostPosted: Sun Jul 14, 2024 5:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
mgnut57
Guru
Guru


Joined: 12 Jan 2008
Posts: 308

PostPosted: Sun Jul 14, 2024 6:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2402

PostPosted: Sun Jul 14, 2024 6:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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