good stuff
this has uses for work environments, especially when software developers have gone feral, again. Something to try in sandpits. Script has decent style. Unusual in bash scripts IMHO
Linux sysadmins with a sense of adventure: Tokyo-based developer Hector Martin has put together a set of scripts to replace an in-use Linux system over SSH. Over at GitHub, Martin's Takeover.sh is the kind of no-safety-net we imagine El Reg's readers will love. Takeover.sh is: “A script to completely take over a running Linux …
I've replaced one distro with another remotely a few times, sometimes successful, sometimes not. It's almost always possible but you have to get it right first time and you usually end up forgetting something. It's easier with LVM or btrfs. I may have to swap Debian for Gentoo on a server literally on the other side of the world this week so I'll definitely give this script a look. It will reduce the chances of fucking it up but you never know whether it'll really boot back up until you try it.
"It's easier with LVM or btrfs" --- Chewi
I've been sticking with ZFS for my own non-experimental work. Which (unless I'm missing something makes LVM superfluous). Once your O/S is on ZFS you can just replace a distro by receiving a ZFS snapshot of the new distro.
Is btrfs considered ready for prime time yet?