mirror of
https://github.com/bin456789/reinstall.git
synced 2025-12-10 07:28:56 +08:00
docs: 更新文档
This commit is contained in:
105
README.en.md
105
README.en.md
@ -5,9 +5,13 @@
|
||||
[](https://app.codacy.com/gh/bin456789/reinstall/dashboard)
|
||||
[](https://www.codefactor.io/repository/github/bin456789/reinstall)
|
||||
[](https://github.com/aschey/vercel-tokei)
|
||||
[](https://t.me/reinstall_os)
|
||||
[](https://github.com/sponsors/bin456789)
|
||||
|
||||
One-Click Script to Reinstall System [中文](README.md)
|
||||
|
||||

|
||||
|
||||
## Highlights
|
||||
|
||||
- Supports installation of 17 common Linux distributions
|
||||
@ -57,13 +61,13 @@ One-Click Script to Reinstall System [中文](README.md)
|
||||
For server outside China:
|
||||
|
||||
```bash
|
||||
curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh
|
||||
curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh || wget -O reinstall.sh $_
|
||||
```
|
||||
|
||||
For server inside China:
|
||||
|
||||
```bash
|
||||
curl -O https://jihulab.com/bin456789/reinstall/-/raw/main/reinstall.sh
|
||||
curl -O https://jihulab.com/bin456789/reinstall/-/raw/main/reinstall.sh || wget -O reinstall.sh $_
|
||||
```
|
||||
|
||||
## Download (Current system is <img width="20" height="20" src="https://blogs.windows.com/wp-content/uploads/prod/2022/09/cropped-Windows11IconTransparent512-32x32.png" /> Windows)
|
||||
@ -147,7 +151,7 @@ bash reinstall.sh centos 9
|
||||
> When installing Debian / Kali, x86 architectures can monitor the installation progress through VNC in the background, while ARM architectures can use the serial console.
|
||||
>
|
||||
> When installing other systems, can monitor the progress through various methods (SSH, HTTP 80 port, VNC in the background, serial console).
|
||||
> Even if errors occur during the installation process, you can still install Alpine via SSH.
|
||||
> Even if errors occur during the installation process, you can still install Alpine via SSH by running `xda=drive_name /trans.sh alpine`
|
||||
|
||||
<details>
|
||||
|
||||
@ -185,7 +189,7 @@ bash reinstall.sh dd --img https://example.com/xxx.xz
|
||||
|
||||
> [!TIP]
|
||||
> Can monitor the progress through various methods (SSH, HTTP 80 port, VNC in the background, serial console).
|
||||
> Even if errors occur during the installation process, you can still install Alpine via SSH.
|
||||
> Even if errors occur during the installation process, you can still install Alpine via SSH by running `xda=drive_name /trans.sh alpine`
|
||||
|
||||
### Feature 3: Reboot to <img width="16" height="16" src="https://www.alpinelinux.org/alpine-logo.ico" /> Alpine Rescue System (Live OS)
|
||||
|
||||
@ -217,6 +221,7 @@ bash reinstall.sh netboot.xyz
|
||||
#### Method 1: Allow the script to automatically find the ISO
|
||||
|
||||
- The script will search for ISO files from <https://massgrave.dev/genuine-installation-media.html>. The ISOs provided on this site are all official versions.
|
||||
- Only supports automatic detection of standard Windows and Windows Server versions.
|
||||
|
||||
```bash
|
||||
bash reinstall.sh windows \
|
||||
@ -224,6 +229,53 @@ bash reinstall.sh windows \
|
||||
--lang zh-cn
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>Supported languages</summary>
|
||||
|
||||
```text
|
||||
ar-sa
|
||||
bg-bg
|
||||
cs-cz
|
||||
da-dk
|
||||
de-de
|
||||
el-gr
|
||||
en-gb
|
||||
en-us
|
||||
es-es
|
||||
es-mx
|
||||
et-ee
|
||||
fi-fi
|
||||
fr-ca
|
||||
fr-fr
|
||||
he-il
|
||||
hr-hr
|
||||
hu-hu
|
||||
it-it
|
||||
ja-jp
|
||||
ko-kr
|
||||
lt-lt
|
||||
lv-lv
|
||||
nb-no
|
||||
nl-nl
|
||||
pl-pl
|
||||
pt-pt
|
||||
pt-br
|
||||
ro-ro
|
||||
ru-ru
|
||||
sk-sk
|
||||
sl-si
|
||||
sr-latn-rs
|
||||
sv-se
|
||||
th-th
|
||||
tr-tr
|
||||
uk-ua
|
||||
zh-cn
|
||||
zh-hk
|
||||
zh-tw
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
#### Method 2: Specify the ISO link manually
|
||||
|
||||
- If you don’t know the `--image-name`, you can enter any value. After rebooting, connect via SSH and re-enter the correct value based on the error messages.
|
||||
@ -269,7 +321,7 @@ Windows 11 Pro
|
||||
Windows Server 2022 SERVERDATACENTER
|
||||
```
|
||||
|
||||
Use `Dism++` File menu > Open Image File, select the iso to be installed to get the image name.
|
||||
Open [DISM++](https://github.com/Chuyu-Team/Dism-Multi-language/releases) File menu > Open Image File, select the iso to be installed to get the image name.
|
||||
|
||||

|
||||
|
||||
@ -282,7 +334,7 @@ Use `Dism++` File menu > Open Image File, select the iso to be installed to get
|
||||
- Hyper-V Server \*
|
||||
- Azure Stack HCI \*
|
||||
|
||||
\* Must specify an ISO link.
|
||||
With * indicating that an ISO link is required.
|
||||
|
||||
#### The script will install the following drivers as needed
|
||||
|
||||
@ -297,21 +349,42 @@ Use `Dism++` File menu > Open Image File, select the iso to be installed to get
|
||||
|
||||
> [!WARNING]
|
||||
> For EFI machines without CSM enabled, Windows 7 (Server 2008 R2) cannot be installed.
|
||||
|
||||
> [!WARNING]
|
||||
> Only some ARM machines support installing Windows 11:
|
||||
> <br />✔️ Azure (Hyper-V)
|
||||
> <br />✔️ Alibaba Cloud g8y c8y r8y (KVM)
|
||||
> <br />❌ Alibaba Cloud g6r c6r (KVM)
|
||||
> <br />❌ Oracle Cloud (KVM)
|
||||
> <br />❌ Google Cloud (KVM)
|
||||
> <br />❌ AWS (KVM)
|
||||
>
|
||||
> Hyper-V (Azure) requires selecting the appropriate VM generation: <https://learn.microsoft.com/windows-server/virtualization/hyper-v/plan/should-i-create-a-generation-1-or-2-virtual-machine-in-hyper-v>
|
||||
|
||||
> [!WARNING]
|
||||
> In the Chinese version of Windows 10 LTSC 2021 ISO `zh-cn_windows_10_enterprise_ltsc_2021_x64_dvd_033b7312.iso`, the `wsappx` process may indefinitely consume CPU resources.
|
||||
>
|
||||
> The solution is to update the system patches or manually install the `VCLibs` library <https://www.google.com/search?q=ltsc+wsappx>.
|
||||
|
||||
#### ARM Considerations
|
||||
|
||||
Most ARM machines support ISO installation of Windows 11 24H2, but some machines may experience a black screen during installation, which does not affect the installation process.
|
||||
|
||||
- ✔️Azure: B2pts_v2
|
||||
- ✔️Alibaba Cloud: g8y, c8y, r8y (may occasionally get stuck on the boot logo during restart; force restart to resolve)
|
||||
- ✔️Alibaba Cloud: g6r, c6r
|
||||
- ✔️Oracle Cloud: A1.Flex (manual loading of the graphics driver is required after installation)
|
||||
- ✔️AWS: T4g
|
||||
- ✔️Scaleway: COPARM1
|
||||
- ❌Google Cloud: t2a (lacking network card driver)
|
||||
|
||||
<details>
|
||||
|
||||
<summary>Loading Graphics Driver on Oracle Cloud</summary>
|
||||
|
||||
No need to download the driver, just open Device Manager, find the graphics card, select 'Update driver', and choose `Red Hat VirtIO GPU DOD controller` from the list.
|
||||
|
||||

|
||||

|
||||
|
||||
</details>
|
||||
|
||||
## Discussion
|
||||
|
||||
[](https://github.com/bin456789/reinstall/issues)
|
||||
[](https://t.me/reinstall_os)
|
||||
|
||||
## How to Modify the Script
|
||||
|
||||
1. Fork this repository.
|
||||
@ -320,6 +393,8 @@ Use `Dism++` File menu > Open Image File, select the iso to be installed to get
|
||||
|
||||
## Thanks
|
||||
|
||||
[](https://github.com/sponsors/bin456789)
|
||||
|
||||
Thanks to the following businesses for providing free servers.
|
||||
|
||||
[](https://www.oracle.com/cloud/)
|
||||
|
||||
Reference in New Issue
Block a user