View previous topic :: View next topic |
Author |
Message |
GentooUserfromthesouth n00b
Joined: 27 Mar 2024 Posts: 4
|
Posted: Wed Mar 27, 2024 12:24 am Post subject: INIT: cannot execute "sbin/openrc" |
|
|
Hi guys, I need help. After changing to profile 23 from 17.1, I executed the last step of emerging world I had a terrible surprise after booting tonight
Code: |
INIT: cannot execute "sbin/openrc" |
I chrooted and all my files are there, I tried rebuilding system, which ended without error, but the system gives the same error. Any help would be welcome. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3642
|
Posted: Wed Mar 27, 2024 12:42 am Post subject: |
|
|
Haven't switched yet, but in order to get help plz tell us where you started from & where you went.
Using initramfs?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
GentooUserfromthesouth n00b
Joined: 27 Mar 2024 Posts: 4
|
Posted: Wed Mar 27, 2024 12:56 am Post subject: |
|
|
Hi,
I started with a plasma desktop profile, 17.1
After the last sync, I decided to migrate to profile 23. Everything went smoothly, apparently, as I don't remember seeing any errors.
The problem arose after shutdown and powering up. The system is initramfs and openrc. I chrooted and re-merged services and @system but the error persists. No exotic hardware or setup. |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1696
|
Posted: Wed Mar 27, 2024 1:00 am Post subject: |
|
|
If you started with default/linux/amd64/17.1/desktop/plasma profile, hopefully you chose the default/linux/amd64/23.0/split-usr/desktop/plasma profile after. As this is what is required.
default/linux/amd64/23.0/desktop/plasma needs a tool to move things around and work properly. For OpenRC, this is an optional step which must be done later if desired. |
|
Back to top |
|
|
GentooUserfromthesouth n00b
Joined: 27 Mar 2024 Posts: 4
|
Posted: Wed Mar 27, 2024 1:11 am Post subject: |
|
|
Correct, I double checked the target profile, it's split plasma.
What step is that? I don't remember seeing it on the profile migration page. |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1696
|
Posted: Wed Mar 27, 2024 1:28 am Post subject: |
|
|
So I was just checking the correct profile. Perhaps your /etc/inittab has a bad value. "sbin/openrc" is missing a leading / |
|
Back to top |
|
|
GentooUserfromthesouth n00b
Joined: 27 Mar 2024 Posts: 4
|
Posted: Wed Mar 27, 2024 1:57 am Post subject: |
|
|
The relevant line shows
Code: |
si::sysinit:/sbin/openrc sysinit
|
All have the leading /
What I don't see doing ls -la in /sbin is openrc. |
|
Back to top |
|
|
Phoenix591 Guru
Joined: 17 Sep 2007 Posts: 487
|
Posted: Wed Mar 27, 2024 10:48 am Post subject: |
|
|
rebuild openrc and you should be fine, or at least a little less broken. what I'm guessing happened is you used --getbinpkg which pulled in a merged-usr binary for openrc which put the it in a different spot, /usr/bin I believe. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21761
|
Posted: Wed Mar 27, 2024 2:38 pm Post subject: |
|
|
If you still need help, please show the output of equery files sys-apps/openrc ; namei -l /sbin/openrc /usr/bin/openrc. |
|
Back to top |
|
|
|