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.
- Uses the official ISO for installation instead of custom images. The script automatically retrieves the ISO link and installs
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
Thanked by (17)dev_vps AlbaHost risturiz ElonBezos egoror bitshub blackeye selalumenang sh97 slownedstark wankel mandala SuriHost SuriCloud Abdullah atomi jcn50
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.
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.
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.
The all seeing eye sees everything...
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!
You didn't see this, nothing to see here folks!!!! Keep moving, nothing here, don't mind the man behind the curtain!!!
Free Hosting at YetiNode | Cryptid Security | URL Shortener | LaunchVPS | ExtraVM | Host-C | In the Node, or Out of the Loop?
@bitshub
Can you add support for BSD? NetBSD, FreeBSD, OpenBSD.
Thank you very much for your work!
woah! actual one-liner for windows
BET
datalix's aff #1 fan
@bin456789 is there somewhere a high-level description of how the script works?
top
Amadex • Hosting Forums • Wie ist meine IP-Adresse? • AS215325
Forum for System Administrators: sysadminforum.com
getting this error all day
***** ERROR *****
Error: https://drive.massgrave.dev/en-us_windows_11_enterprise_ltsc_2024_x64_dvd_965cfb00.iso not accessible
that website has change to forbid direct link.
So now needs a trick.
Download the iso on chrome, and copy the iso direct link from chrome://downloads.
And add the parameter --iso 'http://your_link'
I am going to direct link the iso file from my server dl.mysite.com/windows-x.iso hope that will work
Just try it, the script will display each step with a green title.
Is there any plan for this script to support Proxmox / PVE? Would be awesome to take any old vps and turn it into a VPS host.
no such plan because the PVE netinstall requires loading the entire ISO into memory. My script is target for machines with 512MB or 1GB of RAM.