Skip to content

Wipe, reinstall or restore your system from running GNU/Linux distribution. Via SSH, without rebooting.

License

Notifications You must be signed in to change notification settings

trimstray/reload.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reload.sh


Don't do it...

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.

Why I created it?

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.

How it works?

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"

Contributing

Before adding a pull request, please see the contributing guidelines. All suggestions/PR are welcome!

See also

License

GPLv3 : http://www.gnu.org/licenses/

About

Wipe, reinstall or restore your system from running GNU/Linux distribution. Via SSH, without rebooting.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages