openSUSE:Managing Systemd

Ga naar: navigatie, zoeken

Deze pagina is er om uit te leggen hoe systemd te gebruiken, systemd te verwijderen en systemd dagelijks te gebruiken.

Dit artikel is nog maar gedeeltelijk vertaald. Als u mee wilt helpen met vertalen lees dan Wiki vertalen naar het Nederlands.

Systemd is the new boot system for openSUSE (and most large Linux distributions). It makes optimal use of the available ram, parallelize as much as possible the boot and manage as well as possible the relations between the various drivers and daemons that loads at boot time.

One of the main pages about systemd

Fedora's page

Use systemd

If you don't have systemd and want to use it (for 11.4 or 12.1, for example), it should be enough to install systemd (YaST or "zypper in systemd"), and on the kernel command line add:

init=/bin/systemd

For a first test, adding the above option manually directly on the boot menu is certainly better as it allows rebooting with a working system in case something get wrong.

Use system V init

If your default is systemd and that for any reason you want to get rid of it and use the previous system V init, you have several ways to do so. This can be necessary with openSUSE 12.1 and later that use systemd as default.

  • uninstall systemd. This should be done only with maximum care because the risk of having a system not booting is high;
  • At least if you have the rpm systemd-sysvinit remove it, otherwise /sbin/init is symlinked to systemd. [see also below]
  • hit "F5" on the boot screen: Choose "System V"
  • add init=/sbin/init on the kernel line. This can be done manually to test the result or added in /boot/grub/menu.lst with your favorite text editor or with YaST.

[The latter "init=/sbin/init" works sometimes, but not when init is symlinked to systemd as it is on new installs. If so, use: "init=/sbin/sysvinit" on the Kernel line in your grub entry]