Please don't do it on live systems (e.g. production) or on your private computer where you stored critical data.
This recipe show you how to install fresh system where other system exist and running. It's really cool and amazing but very risky!
If you want to go into the chaos of monkey read on.
I like experiments because I love to know how things work. They allow me to understand and show me some of the more tricky concepts.
Long time ago, this way saved my life but it was crazy.
A beginner's guide of reload.sh [PL]
Set your archive with system backup to restore:
_build="/mnt/system-backup.tgz"
Set path to temporary system (optional):
_base="/mnt/minimal-base"
If you do not set this parameter, the temporary system will be downloaded automatically.
Set path to main system disk:
_disk="/dev/vda"
Run reload.sh
:
./bin/reload.sh --base "$_base" --build "$_build" --disk "$_disk"
Before adding a pull request, please see the contributing guidelines. All suggestions/PR are welcome!
GPLv3 : http://www.gnu.org/licenses/