https://wiki.artixlinux.org/Runit/Runit -->
After installing runit, make sure to copy these directories to /usr/bin.
This seems a little vague, which directories?
ls -la /usr/bin
lrwxrwxrwx 1 root root 10 Apr 18 17:26 init -> runit-init
lrwxrwxrwx 1 root root 29 Apr 18 18:03 halt -> /usr/lib/runit-artix/bin/halt
lrwxrwxrwx 1 root root 30 Apr 18 18:03 pause -> /usr/lib/runit-artix/bin/pause
lrwxrwxrwx 1 root root 33 Apr 18 18:03 shutdown -> /usr/lib/runit-artix/bin/shutdown
lrwxrwxrwx 1 root root 37 Apr 18 18:03 modules-load -> /usr/lib/runit-artix/bin/modules-load
lrwxrwxrwx 1 root root 28 Apr 18 18:03 zzz -> /usr/lib/runit-artix/bin/zzz
lrwxrwxrwx 1 root root 4 Apr 18 18:04 poweroff -> halt
lrwxrwxrwx 1 root root 4 Apr 18 18:04 reboot -> halt
lrwxrwxrwx 1 root root 3 Apr 18 18:07 bin -> bin
Does this look right?
ls -al /etc/runit/sv
total 60
drwxr-xr-x 6 root root 4096 Apr 18 17:14 ..
drwxr-xr-x 2 root root 4096 Apr 18 17:14 agetty-tty6
drwxr-xr-x 2 root root 4096 Apr 18 17:14 agetty-tty4
drwxr-xr-x 15 root root 4096 Apr 18 17:14 .
drwxr-xr-x 2 root root 4096 Apr 18 17:14 agetty-console
drwxr-xr-x 2 root root 4096 Apr 18 17:14 sulogin
drwxr-xr-x 2 root root 4096 Apr 18 17:14 agetty-ttyUSB0
drwxr-xr-x 2 root root 4096 Apr 18 17:14 agetty-ttyS0
drwxr-xr-x 2 root root 4096 Apr 18 17:14 agetty-tty5
drwxr-xr-x 2 root root 4096 Apr 18 17:14 agetty-tty2
drwxr-xr-x 2 root root 4096 Apr 18 17:14 agetty-tty1
drwxr-xr-x 2 root root 4096 Apr 18 17:14 agetty-generic
drwxr-xr-x 2 root root 4096 Apr 18 17:14 agetty-ttyAMA0
drwxr-xr-x 2 root root 4096 Apr 18 17:14 agetty-tty3
drwxr-xr-x 2 root root 4096 Apr 18 17:14 agetty-serial
I did what the wiki said, forced removal of openrc otherwise it will not be replaced, edite the init line in grub,
then system would halt after trying to boot. I only caught a couple of lines from the top that looked like runit before it halted.
chroot was not easy either, it seems as it lost the ln for bash so artools-chroot /mnt /usr/bin/bash eventually worked
there seems to be a directory instead of a link called bin that had a link to the init system in it, I have no clue how it got there.
lrwxrwxrwx 1 root root 10 Apr 16 10:54 init -> runit-init
I took all my service scripts (thinking anythin with -openrc will have an -runit) and rename them into -runit trying to install them:
error: target not found: inetutils-runit
error: target not found: kmod-runit
error: target not found: openvpn-runit
error: target not found: eudev-runit
error: target not found: displaymanager-runit
error: target not found: cryptsetup-runit
The rest were ok.