diff --git a/README.en.md b/README.en.md index d19f460..3dbfbd6 100644 --- a/README.en.md +++ b/README.en.md @@ -11,7 +11,7 @@ One-click reinstallation script ## Highlights - Installing using official cloud images (Cloud Image) allows bypassing the [memory requirements](https://access.redhat.com/articles/rhel-limits#minimum-required-memory-3) of traditional network installations, resulting in faster installation speed. -- Compatible with 512M + 5G small servers and supports installing Alpine on 256M small servers. +- Compatible with 512M + 5G small servers and supports installing Alpine or Debain on 256M small servers. - Compatible with all network conditions, including dynamic/static IPv4/IPv6 and pure IPv4/IPv6. - Supports installing Windows using the official ISO. - Supports reinstalling Windows as Linux or Windows itself. @@ -33,7 +33,7 @@ curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh For users in China: ```bash -curl -O https://raw.gitmirror.com/bin456789/reinstall/main/reinstall.sh +curl -O https://mirror.ghproxy.com/https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh ``` ## Download (Current system is Windows) @@ -51,7 +51,7 @@ certutil -urlcache -f -split https://raw.githubusercontent.com/bin456789/reinsta For users in China: ```batch -certutil -urlcache -f -split https://raw.gitmirror.com/bin456789/reinstall/main/reinstall.bat +certutil -urlcache -f -split https://mirror.ghproxy.com/https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.bat ``` ## Usage @@ -109,6 +109,7 @@ bash reinstall.sh alpine --hold=1 ### Feature 4: Reboot to netboot.xyz - Can install [more systems](https://github.com/netbootxyz/netboot.xyz?tab=readme-ov-file#what-operating-systems-are-currently-available-on-netbootxyz) using web panel VNC. +- If the disk content is not modified, rebooting again will return to the original system. ```bash bash reinstall.sh netboot.xyz @@ -191,7 +192,7 @@ Use `Dism++` File menu > Open Image File, select the iso to be installed to get | System | Traditional Installation | Cloud Image | | ------------------------------------- | ------------------------ | ----------- | -| Debian | 384M | 512M | +| Debian | 256M | 512M | | Ubuntu | 1G | 512M | | CentOS / Alma / Rocky / Fedora | 1G | 512M | | openSUSE | - | 512M | diff --git a/README.md b/README.md index 0ea0f33..5681348 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ ## 亮点 - 使用官方云镜像 (Cloud Image) 安装,可绕过传统网络安装的 [内存要求](https://access.redhat.com/articles/rhel-limits#minimum-required-memory-3),且安装速度更快 -- 支持 512M + 5G 小鸡,也支持 256M 小鸡安装 Alpine +- 支持 512M + 5G 小鸡,也支持 256M 小鸡安装 Alpine、Debian - 支持所有网络情况,包括动静态 IPv4/IPv6,纯 IPv4/IPv6 - 支持用官方 iso 安装 Windows - 支持 Windows 重装成 Linux,也支持重装 Windows @@ -33,7 +33,7 @@ curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh 国内: ```bash -curl -O https://raw.gitmirror.com/bin456789/reinstall/main/reinstall.sh +curl -O https://mirror.ghproxy.com/https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh ``` ## 下载(当前系统是 Windows) @@ -51,7 +51,7 @@ certutil -urlcache -f -split https://raw.githubusercontent.com/bin456789/reinsta 国内: ```batch -certutil -urlcache -f -split https://raw.gitmirror.com/bin456789/reinstall/main/reinstall.bat +certutil -urlcache -f -split https://mirror.ghproxy.com/https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.bat ``` ## 使用 @@ -109,6 +109,7 @@ bash reinstall.sh alpine --hold=1 ### 功能 4: 重启到 netboot.xyz - 可使用后台 VNC 安装 [更多系统](https://github.com/netbootxyz/netboot.xyz?tab=readme-ov-file#what-operating-systems-are-currently-available-on-netbootxyz) +- 如果没有修改硬盘内容,再次重启将回到原系统 ```bash bash reinstall.sh netboot.xyz @@ -191,7 +192,7 @@ Windows Server 2022 SERVERDATACENTER | 系统 | 传统安装 | 云镜像 | | ----------------------------------- | -------- | ------ | -| Debian | 384M | 512M | +| Debian | 256M | 512M | | Ubuntu | 1G | 512M | | CentOS / Alma / Rocky / Fedora | 1G | 512M | | openSUSE | - | 512M | diff --git a/reinstall.sh b/reinstall.sh index 3525f04..791cb9b 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -36,8 +36,9 @@ Usage: $reinstall____ centos 7|8|9 opensuse 15.5|tumbleweed arch gentoo - dd --img=http://xxx - windows --iso=http://xxx --image-name='windows xxx' + dd --img='http://xxx' + windows --image-name='windows xxx yyy' --lang=xx-yy + windows --image-name='windows xxx yyy' --iso='http://xxx' netboot.xyz Manual: https://github.com/bin456789/reinstall @@ -516,7 +517,8 @@ get_windows_iso_links() { serverdatacenter | serverdatacentercore) echo _ ;; esac ;; - '2012 r2' | 2016 | 2019 | 2022) + '2012 r2' | \ + 2016 | 2019 | 2022) case "$edition" in serverstandard | serverstandardcore) echo _ ;; serverdatacenter | serverdatacentercore) echo _ ;;