mirror of
https://github.com/bin456789/reinstall.git
synced 2025-12-10 07:28:56 +08:00
windows: 不再写死 boot.wim 的引导卷索引
用于兼容某些精简版系统
This commit is contained in:
22
README.en.md
22
README.en.md
@ -126,6 +126,7 @@ certutil -urlcache -f -split https://jihulab.com/bin456789/reinstall/-/raw/main/
|
||||
- On virtual machines, the appropriate official slimmed-down kernel will be automatically installed.
|
||||
- To install Red Hat, you need to provide the `qcow2` image link obtained from <https://access.redhat.com/downloads/content/rhel>.
|
||||
- Username `root`, password `123@@@`. It may take a few minutes for the password to take effect on the first boot.
|
||||
- When switching to key-based authentication, you also need to modify the files inside `/etc/ssh/sshd_config.d/`
|
||||
|
||||
```bash
|
||||
bash reinstall.sh centos 9
|
||||
@ -218,6 +219,8 @@ bash reinstall.sh netboot.xyz
|
||||
- If remote login fails, try using the username `.\administrator`.
|
||||
- The machine with a static IP will automatically configure the IP. It may take a few minutes to take effect on the first boot.
|
||||
|
||||

|
||||
|
||||
#### 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.
|
||||
@ -225,7 +228,7 @@ bash reinstall.sh netboot.xyz
|
||||
|
||||
```bash
|
||||
bash reinstall.sh windows \
|
||||
--image-name 'Windows 10 Enterprise LTSC 2021' \
|
||||
--image-name 'Windows 11 Enterprise LTSC 2024' \
|
||||
--lang zh-cn
|
||||
```
|
||||
|
||||
@ -282,8 +285,8 @@ zh-tw
|
||||
|
||||
```bash
|
||||
bash reinstall.sh windows \
|
||||
--image-name 'Windows 10 Enterprise LTSC 2021' \
|
||||
--iso 'https://drive.massgrave.dev/en-us_windows_10_enterprise_ltsc_2021_x64_dvd_d289cf96.iso'
|
||||
--image-name 'Windows 11 Enterprise LTSC 2024' \
|
||||
--iso 'https://drive.massgrave.dev/zh-cn_windows_11_enterprise_ltsc_2024_x64_dvd_cff9cd2d.iso'
|
||||
```
|
||||
|
||||
> [!IMPORTANT]
|
||||
@ -308,20 +311,18 @@ bash reinstall.sh windows \
|
||||
|
||||
</details>
|
||||
|
||||

|
||||
|
||||
#### Parameters Description
|
||||
|
||||
`--image-name` Specify the image to install, case-insensitive, Commonly used images include:
|
||||
|
||||
```text
|
||||
Windows 7 Ultimate
|
||||
Windows 10 Enterprise LTSC 2021
|
||||
Windows 11 Pro
|
||||
Windows Server 2022 SERVERDATACENTER
|
||||
Windows 11 Enterprise LTSC 2024
|
||||
Windows Server 2025 SERVERDATACENTER
|
||||
```
|
||||
|
||||
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.
|
||||
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 (full system name), and all available image names are installable.
|
||||
|
||||

|
||||
|
||||
@ -375,8 +376,9 @@ Most ARM machines support ISO installation of Windows 11 24H2, but some machines
|
||||
|
||||
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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user