Including to the listing of script we now have lined earlier than e.g. MultiCD and Wildevine we’re right here with one other nifty one for the Linux gurus and it goes by the title of takeover.sh.
takeover.sh is a free and open-source script with which you’ll remotely take over a operating Linux system utilizing SSH. It allows you to log into an in-memory rescue surroundings, unmount your root filesystem, and many others. all with out the necessity to reboot your laptop computer.
You can even exchange your operating distro with one other one with out touching a bodily console. Nonetheless, you have to to reboot your system. In case you are , you possibly can prolong takeover.sh’s options to help re-executing a brand new init when you’re accomplished so as to swap to a brand new distro with out rebooting. Hector Martin, the developer, is accepting pull requests.
takeover.sh was created for init techniques that help reloading the init binary utilizing the telinit u command i.e. sysvinit and systemd. You would need to adapt it should you use a distinct system kind nevertheless it nonetheless won’t work.
Options of takeover.sh
Free and open-source.
Log into an in-memory rescue surroundings.
Unmount your authentic root filesystem.
Bear in mind
If something goes fallacious whilst you’re utilizing the takeover script your pc system will panic.
Don’t use this script should you don’t perceive precisely the way it works.
Don’t use this script on any system you care about.
Don’t use this script on any system you count on to be up.
Don’t run this script except you possibly can afford to get bodily entry to repair a botched takeover.
Hector made it clear on GitHub that takover.sh is for Linux specialists and he purposely not noted steps from which you’ll copy and previous instructions.
In his personal phrases:
This script doesn’t have any provisions for exiting out of the brand new surroundings again into one thing sane. You’ll have to reboot if you’re accomplished. For those who get something fallacious, your machine received’t boot. Robust luck. This isn’t a information for newbies. I’m intentionally not supplying you with instructions you possibly can copy and paste. For those who can’t determine what to do precisely with out handholding, this script is just not for you.
I haven’t included the utilization particulars right here as a result of most readers wouldn’t want it. However if you’re enthusiastic about utilizing the script you possibly can see the developer’s utilization information right here.
It is best to strive the script in a VM (Digital Machine) the place you possibly can run a tarball of your stay root filesystem for testing. Hector Martin desires organising the boot loader to be an train for you.
What are your ideas on takeover.sh? Will you be taking up any techniques anytime quickly? Is the script even helpful to you within the first place? Share your concepts within the feedback part under.