One-click OS reinstallation Script (17 Linux + Windows)

Hey folks.

I've created a powerful one-click OS reinstallation script, and I'm excited to introduce it to you all.

Highlights

  • One-click reinstall VPS to Linux

    • Alpine, Debian, Kali, Ubuntu, CentOS, Anolis, RedHat, AlmaLinux, Rocky, OpenCloudOS, Oracle Linux, Fedora, openEuler, openSUSE, NixOS, Arch Linux, Gentoo
  • One-click reinstall VPS to Windows

    • Uses the official ISO for installation instead of custom images. The script automatically retrieves the ISO link and installs Virtio and other drivers.
  • Supports installation in any direction, i.e., Linux to Linux, Linux to Windows, Windows to Windows, Windows to Linux

  • No need to input IP parameters; automatically recognizes dynamic and static IPs, supports /32, /128, gateway outside subnet, IPv6 only, dual NIC and other special network configurations
  • Specially optimized for low-spec servers, requires less memory than the official netboot
  • Supports BIOS and EFI boot, and ARM architecture
  • No homemades image included, all resources are obtained in real-time from mirror sites

Usages

https://github.com/bin456789/reinstall
https://github.com/bin456789/reinstall/blob/main/README.en.md

Tagged:

Comments

  • One line, yes. One click, no. Nothing to click in terminal.

    Websites have ads, I have ad-blocker.

  • Keep up the great work

  • Thank you for providing this project. I attempted to use your script to install Windows on my Linux VPS.

    However, after the Windows OS downloads, the VPS gets stuck on a blinking OS selection screen, looping back to the boot menu without starting the installation.

    Thanked by (1)Not_Oles
  • @bitshub said:
    Thank you for providing this project. I attempted to use your script to install Windows on my Linux VPS.

    However, after the Windows OS downloads, the VPS gets stuck on a blinking OS selection screen, looping back to the boot menu without starting the installation.

    Due to hardware differences, there may be compatibility issues. If you wish, you can DM me your VPS panel account, and I can try to resolve it.

    Thanked by (1)bitshub
  • Thankyou. I success install windows 10, windows 11 from your tutorial.

  • Why? You took away a reason why I should spend 3 hours away from family.

    Thanked by (2)wankel bin456789

    The all seeing eye sees everything...

  • @bin456789 said:

    @bitshub said:
    Thank you for providing this project. I attempted to use your script to install Windows on my Linux VPS.

    However, after the Windows OS downloads, the VPS gets stuck on a blinking OS selection screen, looping back to the boot menu without starting the installation.

    Due to hardware differences, there may be compatibility issues. If you wish, you can DM me your VPS panel account, and I can try to resolve it.

    I successfully installed Windows using your script on a different provider. Thank you very much for your work!

    However, I am currently facing an issue with changing the default RDP port in Windows.

    Here’s what I tried:

    bash reinstall.sh windows \
    --image-name 'Windows 11 Enterprise LTSC 2024' \
    --lang en-us
    --password XXXXXXXXXXXXXXXXX --rdp-port XXXX

    But the output shows:

    -bash: --password: command not found

    Could you please guide me on resolving this issue?

    Thanks again for your assistance!

  • AuroraZeroAuroraZero ModeratorHosting Provider

    @terrorgen said:
    Why? You took away a reason why I should spend 3 hours away from family.

    You didn't see this, nothing to see here folks!!!! Keep moving, nothing here, don't mind the man behind the curtain!!!

    Thanked by (1)terrorgen

    Free Hosting at YetiNode | Cryptid Security | URL Shortener | LaunchVPS | ExtraVM | Host-C | In the Node, or Out of the Loop?

  • @bitshub

    bash reinstall.sh windows \
    --image-name 'Windows 11 Enterprise LTSC 2024' \
    --lang en-us \
    --password XXXXXXXXXXXXXXXXX --rdp-port XXX
    
    Thanked by (1)bitshub
  • Can you add support for BSD? NetBSD, FreeBSD, OpenBSD.
    Thank you very much for your work!

  • edited 9:53AM

    woah! actual one-liner for windows

    BET

  • @bin456789 is there somewhere a high-level description of how the script works?

  • AmadexAmadex Hosting Provider

    top

    AmadexHosting ForumsWie ist meine IP-Adresse?AS215325
    Forum for System Administrators: sysadminforum.com

Sign In or Register to comment.