更新文档

This commit is contained in:
bin456789 2024-04-06 00:16:10 +08:00
parent d87cc36972
commit f2a723830e
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B
3 changed files with 15 additions and 11 deletions

View File

@ -11,7 +11,7 @@ One-click reinstallation script
## Highlights ## 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. - 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. - Compatible with all network conditions, including dynamic/static IPv4/IPv6 and pure IPv4/IPv6.
- Supports installing Windows using the official ISO. - Supports installing Windows using the official ISO.
- Supports reinstalling Windows as Linux or Windows itself. - 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: For users in China:
```bash ```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) ## Download (Current system is Windows)
@ -51,7 +51,7 @@ certutil -urlcache -f -split https://raw.githubusercontent.com/bin456789/reinsta
For users in China: For users in China:
```batch ```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 ## Usage
@ -109,6 +109,7 @@ bash reinstall.sh alpine --hold=1
### Feature 4: Reboot to netboot.xyz ### 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. - 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
bash reinstall.sh netboot.xyz 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 | | System | Traditional Installation | Cloud Image |
| ------------------------------------- | ------------------------ | ----------- | | ------------------------------------- | ------------------------ | ----------- |
| Debian | 384M | 512M | | Debian | 256M | 512M |
| Ubuntu | 1G | 512M | | Ubuntu | 1G | 512M |
| CentOS / Alma / Rocky / Fedora | 1G | 512M | | CentOS / Alma / Rocky / Fedora | 1G | 512M |
| openSUSE | - | 512M | | openSUSE | - | 512M |

View File

@ -11,7 +11,7 @@
## 亮点 ## 亮点
- 使用官方云镜像 (Cloud Image) 安装,可绕过传统网络安装的 [内存要求](https://access.redhat.com/articles/rhel-limits#minimum-required-memory-3),且安装速度更快 - 使用官方云镜像 (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 - 支持所有网络情况,包括动静态 IPv4/IPv6纯 IPv4/IPv6
- 支持用官方 iso 安装 Windows - 支持用官方 iso 安装 Windows
- 支持 Windows 重装成 Linux也支持重装 Windows - 支持 Windows 重装成 Linux也支持重装 Windows
@ -33,7 +33,7 @@ curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh
国内: 国内:
```bash ```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 ## 下载(当前系统是 Windows
@ -51,7 +51,7 @@ certutil -urlcache -f -split https://raw.githubusercontent.com/bin456789/reinsta
国内: 国内:
```batch ```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 ### 功能 4: 重启到 netboot.xyz
- 可使用后台 VNC 安装 [更多系统](https://github.com/netbootxyz/netboot.xyz?tab=readme-ov-file#what-operating-systems-are-currently-available-on-netbootxyz) - 可使用后台 VNC 安装 [更多系统](https://github.com/netbootxyz/netboot.xyz?tab=readme-ov-file#what-operating-systems-are-currently-available-on-netbootxyz)
- 如果没有修改硬盘内容,再次重启将回到原系统
```bash ```bash
bash reinstall.sh netboot.xyz bash reinstall.sh netboot.xyz
@ -191,7 +192,7 @@ Windows Server 2022 SERVERDATACENTER
| 系统 | 传统安装 | 云镜像 | | 系统 | 传统安装 | 云镜像 |
| ----------------------------------- | -------- | ------ | | ----------------------------------- | -------- | ------ |
| Debian | 384M | 512M | | Debian | 256M | 512M |
| Ubuntu | 1G | 512M | | Ubuntu | 1G | 512M |
| CentOS / Alma / Rocky / Fedora | 1G | 512M | | CentOS / Alma / Rocky / Fedora | 1G | 512M |
| openSUSE | - | 512M | | openSUSE | - | 512M |

View File

@ -36,8 +36,9 @@ Usage: $reinstall____ centos 7|8|9
opensuse 15.5|tumbleweed opensuse 15.5|tumbleweed
arch arch
gentoo gentoo
dd --img=http://xxx dd --img='http://xxx'
windows --iso=http://xxx --image-name='windows xxx' windows --image-name='windows xxx yyy' --lang=xx-yy
windows --image-name='windows xxx yyy' --iso='http://xxx'
netboot.xyz netboot.xyz
Manual: https://github.com/bin456789/reinstall Manual: https://github.com/bin456789/reinstall
@ -516,7 +517,8 @@ get_windows_iso_links() {
serverdatacenter | serverdatacentercore) echo _ ;; serverdatacenter | serverdatacentercore) echo _ ;;
esac esac
;; ;;
'2012 r2' | 2016 | 2019 | 2022) '2012 r2' | \
2016 | 2019 | 2022)
case "$edition" in case "$edition" in
serverstandard | serverstandardcore) echo _ ;; serverstandard | serverstandardcore) echo _ ;;
serverdatacenter | serverdatacentercore) echo _ ;; serverdatacenter | serverdatacentercore) echo _ ;;