Sat Jan 22 10:31:48 2022 UTC

Change the default init system

Introduction

NuTyX provides three init system :

SysVinit

runyx

systemd

How to proceed

Edit /etc/default/grub filex:

Modifiy this line : "GRUB_CMDLINE_LINUX"

To boot with systemd : GRUB_CMDLINE_LINUX="init=/sbin/systemd-init"

To boot with Runyx : GRUB_CMDLINE_LINUX="init=/sbin/runit-init"

Make the new grub configuration effective

To generate the new grub configuration

grub-mkconfig -o /boot/grub/grub.cfg

Remove an init system

It's possible to remove an init system if you don't use it.

To remove Runyx :

cards remove runyx -a

Or :

del runyx -a

For systemd :

cards remove systemd -a

Or :

del systemd -a

Warning

You must not remove the sysvinit package because it contains needed libraries for the startup of the system.

Related articles

Related : install-nutyx