reinstall: Reinstall VPS Operating Systems from Linux or Windows

Summary
A shell-based toolkit for reinstalling Linux or Windows on VPS instances without relying on provider consoles. It also supports raw disk imaging and booting temporary recovery environments, with important risks for systems that cannot tolerate a full disk wipe.
At a glance
- Language
- Shell
- License
- GPL-3.0
- Stars
- 13.4k
- Forks
- 2.2k
- Added to OSRepos
- December 26, 2025
- Last analyzed
- October 3, 2026
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Overview
reinstall is a command-line toolkit for changing the operating system on a VPS from its existing Linux or Windows installation. It addresses a common remote-server problem: reinstalling or recovering a machine when physical access and provider installation tools are inconvenient or unavailable.
The project supports Linux distributions and Windows, as well as raw image deployment and temporary Alpine Live OS or netboot.xyz environments. It is intended for VPS operators comfortable running administrative scripts and managing the consequences of remote disk operations.
Key Features
- Reinstall between Linux and Windows, including Linux-to-Linux and Windows-to-Linux transitions.
- Install a range of Linux distributions, with options for versions and some installation settings.
- Install Windows from an ISO, including automatic ISO lookup and optional driver handling.
- Write raw or supported VHD disk images to a server's drive.
- Configure network addressing for supported installs, including static IP setups and IPv6 scenarios.
- Boot Alpine Live OS for manual recovery or maintenance without automatically reinstalling the system.
- Boot netboot.xyz for manual installation using its available network boot options.
- Provide SSH access and installation progress options for remote troubleshooting.
Use Cases
- A VPS administrator wants to move between Linux distributions without using a provider's reinstall console.
- An operator needs to replace Linux with Windows, or Windows with Linux, on a supported VPS.
- A server owner wants to deploy a raw disk image or Windows image remotely.
- A user needs a temporary live environment to back up data, edit partitions, or attempt recovery.
Project Facts
- Language: Shell
- License: GPL-3.0
- Stars: 13.4k
- Forks: 2.2k
- Topics: alpine, alpine-linux, boot, distro, linux, linux-distribution, liveos, netboot, netinst, netinstall, operating-systems, os, reinstall, shell-script, vps, windows
- Archived: no
Getting Started
On a Linux VPS, download and run the script with the desired operation. For example:
curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh
bash reinstall.sh debian 13
See the repository README for supported systems, Windows installation options, parameters, and instructions for running it from Windows.
Considerations
- Reinstalling an operating system or writing a disk image erases the entire target disk, including other partitions. Verify the target and preserve backups before proceeding.
- The README explicitly says OpenVZ and LXC virtual machines are unsupported.
- Compatibility and minimum memory or disk requirements vary by target operating system and installation method. Check the README's requirements before starting.
- Remote installs can leave a machine inaccessible if networking, boot configuration, or drivers do not work as expected. The project includes remote troubleshooting options, but users should understand how to access their provider's console or recover the server.
- This is a privileged shell utility for destructive system administration, not a general-purpose desktop installer.
Found this useful?
Share it with someone who would like reinstall.
Source repository
Open the original repository on GitHub.
26 counted GitHub visits
Related repositories
Similar repositories that may be relevant next.

Local_LLM_Linux_Troubleshoot: Diagnose Linux with a Local LLM
September 14, 2026
A local web app and CLI that uses a llama.cpp model to investigate Linux issues, explain likely causes, and suggest repairs. It starts with read-only diagnostics and asks for permission before running system-changing commands.

start-technologies: Run a Self-Hosted Server and Home Network Stack
August 13, 2026
Start Technologies is a monorepo for StartOS and related tools for self-hosting, service packaging, registries, tunneling, and router management. It suits people who want to run services on hardware they control and developers building for the Start9 ecosystem.

DockerCheatSheet: Find Common Docker Commands and Guidance
July 17, 2026
A practical reference for common Docker tasks, from running containers and managing images to networking, cleanup, Compose, and Swarm. Useful for developers and operators who need command examples without searching documentation.

awesome-swift: Discover Swift Libraries and Learning Resources
July 10, 2026
A community-curated directory of Swift libraries, tools, guides, and learning resources. Use it to explore options by category when building Swift applications or looking for ways to learn the language.