Automated migration from a Debian bullseye/buster system to Devuan chimaera/beowulf.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.adoc 1.7 KiB

5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
3 months ago
5 months ago
5 months ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. debian-to-devuan
  2. ================
  3. This is a script for migrating from a Debian +bullseye+/+buster+
  4. system to Devuan +chimaera+/+beowulf+.
  5. It has two stages:
  6. 1. replace the init system to be +sysvinit+ and reboot
  7. 2. upgrade to the standard +chimaera+/+beowulf+ distribution and reboot
  8. .Quick How To
  9. Copy the script to +/root+, and then run as +root+ in one of four
  10. ways:
  11. 1. # ./script.sh 1
  12. 2. # DIST=beowulf ./script.sh 1
  13. 3. # DE=desktop ./script.sh 1
  14. 4. # DIST=beowulf DE=desktop ./script.sh 1
  15. Note: use the +systemd-rescue+ option (or C-A-F2 where applicable) so
  16. as to start the migration from within a separate virtual terminal.
  17. .Description
  18. The script performs the 2-stage migration with minimal operator
  19. intervention.
  20. 1. The first stage prepares the system for using +sysvinit+ rather
  21. than +systemd+, and this stage ends in requesting a manual reboot with
  22. the system primed (via +/etc/rc.local+) to enter the second stage
  23. automatically at next boot.
  24. 2. The second stage performs all requested installations for the
  25. target +chimaera+/+beowulf+ system and the stage ends with another
  26. request of manual reboot. The second stage also includes an explicit
  27. +sshd+ as a possible "resuce entry" option if it runs into trouble.
  28. The script will migrate the system to +chimaera+ unless +DIST=beowulf+
  29. is used in which case it will migrate to +beowulf+.
  30. The script may uninstall the desktop environment used in Debian and
  31. then not install a desktop environment unless +DE=desktop+ is set in
  32. which case it will install +xfce4+ (using +task-xfce-desktop+). The
  33. script also handles +xfce+, +mate+, +cinnamon, or +kde+ instead of
  34. +desktop+.
  35. Important: this script only handles systems with Ethernet cable
  36. networking.