Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trimstray/reload.sh
Wipe, reinstall or restore your system from running GNU/Linux distribution. Via SSH, without rebooting.
https://github.com/trimstray/reload.sh
chroot chroot-environment debian install linux reinstall wipe
Last synced: 3 months ago
JSON representation
Wipe, reinstall or restore your system from running GNU/Linux distribution. Via SSH, without rebooting.
- Host: GitHub
- URL: https://github.com/trimstray/reload.sh
- Owner: trimstray
- License: gpl-3.0
- Created: 2018-08-18T21:53:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-31T09:02:35.000Z (almost 5 years ago)
- Last Synced: 2024-06-03T09:45:04.195Z (5 months ago)
- Topics: chroot, chroot-environment, debian, install, linux, reinstall, wipe
- Language: Shell
- Homepage:
- Size: 54.7 KB
- Stars: 268
- Watchers: 13
- Forks: 39
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# `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](https://trimstray.github.io/dee625b8b2e43917031e204d545f767b.html) [PL]
Set your archive with system backup to restore:
```bash
_build="/mnt/system-backup.tgz"
```Set path to temporary system (optional):
```bash
_base="/mnt/minimal-base"
```> If you do not set this parameter, the temporary system will be downloaded automatically.
Set path to main system disk:
```bash
_disk="/dev/vda"
```Run `reload.sh`:
```bash
./bin/reload.sh --base "$_base" --build "$_build" --disk "$_disk"
```## Contributing
Before adding a pull request, please see the **[contributing guidelines](.github/CONTRIBUTING.md)**. All **suggestions/PR** are welcome!
## See also
* [`takeover.sh`](https://github.com/marcan/takeover.sh)
## Credits
| [![twitter/trimstray](https://avatars2.githubusercontent.com/u/31127917?s=140&v=4)](https://twitter.com/trimstray "Follow @trimstray on Twitter") |
|
|---|
|## License
GPLv3 :