This is a script for migrating from a Debian
system to Devuan
It has two stages:
replace the init system to be
sysvinit and reboot
upgrade to the standard
beowulf distribution and reboot
Copy the script to
/root, and then run as
root in one of four
# ./script.sh 1
# DIST=beowulf ./script.sh 1
# DE=desktop ./script.sh 1
# DIST=beowulf DE=desktop ./script.sh 1
Note: use the
systemd-rescue option (or C-A-F2 where applicable) so
as to start the migration from within a separate virtual terminal.
The script performs the 2-stage migration with minimal operator intervention.
The first stage prepares the system for using
systemd, and this stage ends in requesting a manual reboot with
the system primed (via
/etc/rc.local) to enter the second stage
automatically at next boot.
The second stage performs all requested installations for the
beowulf system and the stage ends with another
request of manual reboot. The second stage also includes an explicit
sshd as a possible "resuce entry" option if it runs into trouble.
The script will migrate the system to
is used in which case it will migrate to
The script may uninstall the desktop environment used in Debian and
then not install a desktop environment unless
DE=desktop is set in
which case it will install
script also handles
cinnamon, or +kde instead of
Important: this script only handles systems with Ethernet cable networking.