reinstall: Reinstall VPS Operating Systems from Linux or Windows

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
View on GitHub

Topics

Click on any tag to explore related repositories

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

View on GitHub

Related repositories

Similar repositories that may be relevant next.

OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️