Hello Debian team,
I'd like to contact you about a method that no longer works when switching
your init system. As an OpenRC fan (and by nature a Gentoo user), I have
installed debian (stable branch) in a virtual machine. I decided to follow
your wiki to fix an issue, but systemd doesn't stop running when invoking
"systemctl rescue". My fix involves a chroot or using the rescue cd as
opposed to "systemctl rescue". The gentoo wiki has you chroot like this,
assuming you have a livecd present (word for word, from the gentoo wiki):
- root #mount /dev/sdX /mnt
- root #mount --types proc /proc /mnt/proc
- root #mount --rbind /sys /mnt/sys
- root #mount --make-rslave /mnt/sys
- root #mount --rbind /dev /mnt/dev
- root #mount --make-rslave /mnt/dev
- root #mount --bind /run /mnt/run
- root #mount --make-slave /mnt/run
- root #test -L /dev/shm && rm /dev/shm && mkdir /dev/shm
- root #mount --types tmpfs --options nosuid,nodev,noexec shm /dev/shm
ke-slave /mnt/run
- root #chmod 1777 /dev/shm /run/shm
- root #chroot /mnt /bin/bash
- root #export PS1="(chroot) ${PS1}"
Source:https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base
As an experienced Linux user (no I'm not an elitist, just a Gentoo user), I
suggest updating your wiki to use this method if you already have a running
system with Systemd installed.
Thank you for reading this email,
Josiah Cartier