I was working with some systemd services and I decided to restart, but when I booted up again, I got the error “Root device mounted successfully, but /sbin/init does not exist. Bailing out, you are on your own. Good luck. sh: can’t access tty; job control turned off”.
Any help would be appreciated.
/sbin/init is a link to systemd:
lrwxrwxrwx 1 root root 22 8. Aug 09:04 /sbin/init -> ../lib/systemd/systemd
I suggest you boot with a live CD, chroot into your environment and set this link manually. Lets see if that already helps. You probably do not even need to do a chroot. Just mount your root partition and set the link.
Do you happen to have
/usr on a separate filesystem? If so, then you need to rebuild your
initramfs with the following hooks…
HOOKS=(base systemd autodetect modconf block keyboard sd-vconsole filesystems shutdown)
try for boot , edit on Grub
add after linux
a space then
if not system is borked
save your data /home before and re installs