You are here: Home » NewsFeeds » Takeover.sh – Wipe and reinstall a running Linux system via SSH without reboot

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

README.md

A script to completely take over a running Linux system remotely, allowing you
to log into an in-memory rescue environment, unmount the original root
filesystem, and do anything you want, all without rebooting. Replace one distro
with another without touching a physical console.

WARNING WARNING WARNING WARNING

This is experimental. Do not use this script if you don’t understand exactly
how it works. Do not use this script on any system you care about. Do not use
this script on any system you expect to be up. Do not run this script unless
you can afford to get physical access to fix a botched takeover. If anything
goes wrong, your system will most likely panic.

That said, this script will not (itself) make any permanent changes to your
existing root filesystem (assuming you run it from a tmpfs), so as long as you
can remotely reboot your box using an out-of-band mechanism, you should be OK.
But don’t blame


 

Original article