bin456789

reinstall: Reinstall VPS Operating Systems from Linux or Windows

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.

ShellGPL-3.0LinuxCLIAutomation
View on GitHub Compare
Stars
13.4k
Forks
2.2k
Stars, last 30 days
+360

Our take

Health score

47/100

How it is scored
Activity
40
Community
26
Issues
79
Pull requests
43

+360 stars in the last 30 days

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

14,142

Forks

2,257

Change since Nov 17, 2026: +11 stars·+1 forks

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.

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.