Wipe and reinstall a running Linux system via SSH without reboot

Takeover.sh – Wipe and reinstall a running Linux system via SSH without reboot

I didn’t even know this was possible. I personally don’t have a use case for this but it sounds kinda awesome. This method appearently lets you completly reinstall the root filesystem without rebooting the machine, which means you could swap the entire Distro on the running box.

here’s a stackoverflow post explaining the steps in detail.

If I get this right… you make a new pseudo-filesystem, start an init in it, ssh into it und unmount the real root to wipe it completly. So basically It keeps the running Kernel and swaps out everything else.

neat 🙂