mirror of
https://github.com/bin456789/reinstall.git
synced 2025-12-10 07:28:56 +08:00
windows: 添加 GCP 兼容性说明
This commit is contained in:
@ -497,6 +497,14 @@ Open File menu > Open Image File, select the iso to be installed to get the imag
|
|||||||
>
|
>
|
||||||
> The solution is to update the system patches or manually install the `VCLibs` library <https://www.google.com/search?q=ltsc+wsappx>.
|
> The solution is to update the system patches or manually install the `VCLibs` library <https://www.google.com/search?q=ltsc+wsappx>.
|
||||||
|
|
||||||
|
> [!WARNING]
|
||||||
|
> When installing Windows ISOs released in `May 2022` or later on GCP, the system may repeatedly reboot during the Windows installation (PE) stage. You can resolve this issue using one of the following two methods:
|
||||||
|
>
|
||||||
|
> 1. Add the `--force-boot-mode bios` parameter. The script will install Windows in `BIOS boot + MBR partition table` mode.
|
||||||
|
> <br /> - (Optional) After installation, you can convert it to `EFI boot + GPT partition table` using the command `MBR2GPT /convert /allowFullOS`.
|
||||||
|
>
|
||||||
|
> 2. Create a custom RAW image and install it via DD.
|
||||||
|
|
||||||
#### Considerations for Installing Windows on ARM
|
#### Considerations for Installing Windows on ARM
|
||||||
|
|
||||||
Most ARM machines support installing latest Windows 11.
|
Most ARM machines support installing latest Windows 11.
|
||||||
|
|||||||
@ -497,6 +497,14 @@ Windows Server 2025 SERVERDATACENTER
|
|||||||
>
|
>
|
||||||
> 解决方法是更新系统补丁,或者手动安装 `VCLibs` 库 <https://www.google.com/search?q=ltsc+wsappx>
|
> 解决方法是更新系统补丁,或者手动安装 `VCLibs` 库 <https://www.google.com/search?q=ltsc+wsappx>
|
||||||
|
|
||||||
|
> [!WARNING]
|
||||||
|
> 在 GCP 上安装 `2022年5月` 和之后发布的 Windows ISO,在引导 Windows 安装界面 (PE) 时会不断反复重启。解决方法如下,二选一
|
||||||
|
>
|
||||||
|
> 1. 添加 `--force-boot-mode bios` 参数,脚本将以 `BIOS 引导 + MBR 分区表` 方式安装 Windows
|
||||||
|
> <br /> - (可选) 安装完成后用 `MBR2GPT /convert /allowFullOS` 命令转为 `EFI 引导 + GPT 分区表`
|
||||||
|
>
|
||||||
|
> 2. 自制 RAW 镜像并通过 DD 安装
|
||||||
|
|
||||||
#### ARM 安装 Windows 的注意事项
|
#### ARM 安装 Windows 的注意事项
|
||||||
|
|
||||||
大部分 ARM 机器都支持安装最新版 Windows 11
|
大部分 ARM 机器都支持安装最新版 Windows 11
|
||||||
|
|||||||
@ -2965,7 +2965,7 @@ build_extra_cmdline() {
|
|||||||
# 会将 extra.xxx=yyy 写入新系统的 /etc/modprobe.d/local.conf
|
# 会将 extra.xxx=yyy 写入新系统的 /etc/modprobe.d/local.conf
|
||||||
# https://answers.launchpad.net/ubuntu/+question/249456
|
# https://answers.launchpad.net/ubuntu/+question/249456
|
||||||
# https://salsa.debian.org/installer-team/rootskel/-/blob/master/src/lib/debian-installer-startup.d/S02module-params?ref_type=heads
|
# https://salsa.debian.org/installer-team/rootskel/-/blob/master/src/lib/debian-installer-startup.d/S02module-params?ref_type=heads
|
||||||
for key in confhome hold force force_cn force_old_windows_setup cloud_image main_disk \
|
for key in confhome hold force_boot_mode force_cn force_old_windows_setup cloud_image main_disk \
|
||||||
elts deb_mirror \
|
elts deb_mirror \
|
||||||
ssh_port rdp_port web_port allow_ping; do
|
ssh_port rdp_port web_port allow_ping; do
|
||||||
value=${!key}
|
value=${!key}
|
||||||
@ -3783,7 +3783,7 @@ for o in ci installer debug minimal allow-ping force-cn help \
|
|||||||
allow-ping: \
|
allow-ping: \
|
||||||
commit: \
|
commit: \
|
||||||
frpc-conf: frpc-config: frpc-toml: \
|
frpc-conf: frpc-config: frpc-toml: \
|
||||||
force: \
|
force-boot-mode: \
|
||||||
force-old-windows-setup:; do
|
force-old-windows-setup:; do
|
||||||
[ -n "$long_opts" ] && long_opts+=,
|
[ -n "$long_opts" ] && long_opts+=,
|
||||||
long_opts+=$o
|
long_opts+=$o
|
||||||
@ -3858,11 +3858,11 @@ while true; do
|
|||||||
|
|
||||||
shift 2
|
shift 2
|
||||||
;;
|
;;
|
||||||
--force)
|
--force-boot-mode)
|
||||||
if ! { [ "$2" = bios ] || [ "$2" = efi ]; }; then
|
if ! { [ "$2" = bios ] || [ "$2" = efi ]; }; then
|
||||||
error_and_exit "Invalid $1 value: $2"
|
error_and_exit "Invalid $1 value: $2"
|
||||||
fi
|
fi
|
||||||
force=$2
|
force_boot_mode=$2
|
||||||
shift 2
|
shift 2
|
||||||
;;
|
;;
|
||||||
--passwd | --password)
|
--passwd | --password)
|
||||||
|
|||||||
Reference in New Issue
Block a user