Talk:How to remove systemd from a Debian jessie/sid installation

From Without Systemd
Jump to: navigation, search

This method doesn't work OOtB for an Amazon EC2 instance, instead, this small script (which does the same thing) can be called through the Userdata helper:

apt-get -y install sysvinit-core sysvinit sysvinit-utils
apt-get remove --purge --auto-remove systemd
cat >/etc/apt/preferences.d/systemd<<EOF
Package: systemd
Pin: origin ""
Pin-Priority: -1

Package: *systemd*
Pin: origin ""
Pin-Priority: -1
EOF

Instructions for OpenVZ containers

Debian Wheezy OpenVZ images in SolusVM come with upstart for init by default so it is only possible to upgrade them to Jessie with upstart.

It is still possible to have Jessie running sysvinit in OpenVZ if you are willing to:

  • blacklist upstart & systemd in apt preferences
  • dist-upgrade Squeeze ---> Wheezy (reboot)
  • dist-upgrade again Wheezy --> Jessie.

Further info & pictures of Jessie OpenVZ without systemd

Personal tools