View previous topic :: View next topic |
Author |
Message |
dkasak n00b


Joined: 10 Feb 2012 Posts: 49
|
Posted: Sun Sep 01, 2013 4:28 am Post subject: systemd back to openrc |
|
|
Greetings.
I foolishly switched to systemd, and now want to revert to openrc. I'm wary of just "doing it", as this is my main work laptop, and it would be painful to have to re-install in a hurry. Other than using eselect to select openrc, is there anything else that I'd have to do? I realise some things built with systemd support will break ... I can deal with that myself ... as long as my system boots at least into a console with network support I guess.
If you're curious why I'm going back ... I'm trying to get a realtime kernel booting ( build with genkernel ) ... and systemd flatly refuses to boot it.
Any gotchas I should note?
Thanks. |
|
Back to top |
|
 |
The Doctor Moderator


Joined: 27 Jul 2010 Posts: 2435
|
Posted: Sun Sep 01, 2013 4:35 am Post subject: |
|
|
Welcome to the club!
Ok, my experience was quite a while ago, however both openRC and systemd can cohabitant on a single system, so its doubtful you will render your system unbootable. What you need to do is first set -systemd and in your use flags. Next, emerge -auvNDt world delete any systemd boot parameters you pass in your boot loader (specifically any init=). Reboot. It should be openRC with your full environment back.
That should do it. If you want to remove systemd, after you have rebooted it should be safe to emerge -C systemd and emerge -a1v udev or eudev depending on your preference. emerge -ac is called for as a final clean up. _________________ First things first, but not necessarily in that order. |
|
Back to top |
|
 |
ppurka Advocate

Joined: 26 Dec 2004 Posts: 3247
|
Posted: Sun Sep 01, 2013 5:06 am Post subject: |
|
|
Yes. I too reverted a test system back to openrc.
1. Made sure that -systemd +openrc +consolekit (need this last one for nm-applet) was in place.
2. Then I did a emerge -auD --changed-use world
3. Then a emerge -C systemd
4. Finally, a emerge sys-fs/udev _________________ emerge --quiet redefined | E17 vids: I, II | Now using e from git | e18, e19, and kde4 sucks :-/ |
|
Back to top |
|
 |
|
|
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
|
|