New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
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 source sites
Usages
https://github.com/bin456789/reinstall
https://github.com/bin456789/reinstall/blob/main/README.en.md
Thanked by 39johndeo983 0WebHost AlbaHost Acacy NHNHNH000 Patriarch ElonBezos szymonp balhost BasToTheMax rattlecattle dev_vps TimboJones ariq01 maxexx ebietsy mandala vr10 sanvit argado linuxglobe karanchoo khalequzzaman budi1413 moyuxichen sipe skizoid donli lala_th vicaya jolo22 noob404 Andreix Porlam sh97 Ympker dsbnoob stxsh scooke
Comments
Is OpenBSD supported?
No BSDs because I am not familiar with them.
@bin456789
The biggest problem is that it needs to be able to customize the ssh port, which is very important
Already supported
Really cool stuff, good job!
Looks cool. How do you go about booting a live OS without overwriting anything?
Alpine Linux provides a netboot image that can be booted using GRUB.
What if the user is running Windows as his current OS but wants to boot netboot.xyz or the live OS, is it possible? Wouldn't you need to overwrite Windows bootloader?
Hold on guys, I'll grab some popcorns for this
No problem. To be precise, it's not about overwriting the Windows bootloader, but rather appending the alpine/netboot.xyz boot entry. Therefore, you may find that after returning from alpine/netboot.xyz to Windows, the alpine/netboot.xyz boot entry might still exist, although it's hidden and won't automatically start.
@bin456789 great job, I love it
Could I use your script for my web ?
I'm not sure what you mean. If you're talking about sharing or reposting, it's welcome.
I develop my own billing and vps manage project.
Want to know if I can add or integrated your script, so user can install Windows 10 or Windows 11 on it
@reyokh Your project looks great, and I'm glad the script will be integrated into it.
Will it let me install windows on a KVM VPS that is restricted to only Linux by a provider ?
Personally I will not install any OS on a vps that is not allowed by the provider.
Once found out, that is good enough reason to terminate the vps and do not expect any refund.
Wonder why. It can’t be the spec constraints so some MS licensing terms or something like that ?
simple good enough reason
terms and conditions of the provider that one agrees to at the time of purchase
lol. I’m interested in the technical aspect of it.
Not that I’m going to try it and get terminated, but is there a reason other than “because ToS said so” ?
https://answers.microsoft.com/en-us/windows/forum/all/why-does-windows-10-require-another-license-for-a/c344db7b-3a8e-4cb1-a30d-35e3f65e1007
yes, licensing compliance
Technically, it is possible to install Windows on a Linux-only KVM VPS.
You don't want to make a man who's this happy sad by not correctly licensing Windows.
kvm … that means yes
I will have the opportunity to try it later.
So cool, how many years learn and work in IT in able to write this script?
varies for every person … could be as little as six months
Nice script
Well I was able to install Windows 110 Pro from Debian on my VPS using b this script. Very impressive!