|
|
| 第 7 行: |
第 7 行: |
|
| |
|
| === 注意事项 === | | === 注意事项 === |
| * 当模拟器内系统重启时,QEMU 将会直接退出,由于 Microsoft 在开发中将 Tegra 250 的重启设定为完全关闭,此问题无法解决,只能在模拟器退出后重新运行相关启动脚本再次运行。 | | * 当系统重新启动时,模拟器可能会退出。这是 Microsoft 有意的设计决策,原因是在 Tegra 250 HAL 中,重启被视为完全关机,这是无法规避的。只能在模拟器退出后重新运行相关启动脚本再次运行。 |
| * 在一些特殊情况下,数字安全多媒体卡(SDMMC)模拟并不稳定,可能会在安装阶段损坏主系统安装分区。若要解决该问题,可先重新格式化安装分区,对安装介质中的 BCD 文件(位于安装介质中的 <code>EFI\Microsoft\Boot\BCD</code>)可以提高安装成功的概率,但是由于单线程的性能问题会导致安装过程更加漫长:<syntaxhighlight lang="batch"> | | * 在极少数情况下,安全数字多媒体卡(SDMMC)模拟可能不可靠,且可能在镜像部署或功能设置过程中损坏主操作系统磁盘分区。通过先格式化主操作系统分区,然后使用以下命令修改安装介质中位于 <code>EFI\Microsoft\Boot\BCD</code> 的 BCD 设置以使用一个CPU核心,重新尝试以下操作,可能会显著提高安装成功的几率,但由于缺乏多线程支持,完成时间可能会增加: |
| | <syntaxhighlight lang="batch"> |
| bcdedit /offline /store M:\EFI\Microsoft\Boot\BCD /set {default} NUMPROC 1 | | bcdedit /offline /store M:\EFI\Microsoft\Boot\BCD /set {default} NUMPROC 1 |
| </syntaxhighlight> | | </syntaxhighlight> |
| * USB HID 模拟很不稳定,可能会出现任何输入无效的情况,为解决此情况, 请切换到 QEMU 监视器 ({{key press|Ctrl|Alt|2}}) 并运行一下命令:<syntaxhighlight lang="batch"> | | * USB HID 设备模拟不稳定,偶尔会导致设备无法注册任何用户输入。要恢复输入,请切换到 QEMU 兼容性监视器({{key press|Ctrl|Alt|2}})并运行以下命令: |
| | <syntaxhighlight lang="batch"> |
| device_del kbd | | device_del kbd |
| device_add usb-kbd,id=kbd | | device_add usb-kbd,id=kbd |
| </syntaxhighlight> | | </syntaxhighlight> |
| * 对于 [[Windows 8 Build 7957.0.fbl_core1_kernel_npc.110302-1700|Build 7957]]之前的版本 (不包括 [[Windows_8 Build 7792.0.winmain.100802-1750|Build 7792]] 与 [[Windows_8_Build_7822.0.fbl_core1_kernel_npc_ext.100930-1700|7822]]), 需要将 [[Windows 安装程序]] wim 启动镜像替换为原始泄露压缩包中单独的 [[Windows 预安装环境]] wim 启动镜像 (一般位于 <code>winpe</code> 或者 <code>woape</code> 文件夹中), 原因为原始安装介质的启动必须驱动中缺少在Tegra 2 HAL启动所需的硬件抽象层(HAL)驱动, 启动会导致系统发生错误检查 <code>HAL_INITIALIZATION_FAILED</code> 。 | | * 对于 Build [[Windows RT Build 7957.0.fbl_core1_kernel_npc.110302-1700|7957]] 之前的版本(不包括 Build [[Windows RT Build 7792.0.winmain.100802-1750|7792]] 和 [[Windows RT Build_7822.0.fbl_core1_kernel_npc_ext.100930-1700|7822]]),至关重要的是必须用原始合作伙伴镜像中的 [[Windows 预安装环境]](WinPE)镜像替换 Windows 安装启动镜像(通常位于 <code>winpe</code> 或 <code>woape</code> 目录中),原因是安装启动镜像不包含所需的硬件抽象层(HAL)扩展,因此一旦启动序列开始,操作系统将立即因 <code>HAL_INITIALIZATION_FAILED</code> 错误代码而崩溃。 |
| *此教程不适合 [[Windows 8 Build 7915.0.fbl core1 kernel npc ext.110131-1820|Build 7915]] 的启动,由于第一次泄露为德州仪器针对 OMAP4 设备进行设计,不适合在 tegra 2 设备运行,需要另一版本 QEMU 添加相关驱动进行修改后以运行此版本。 | | * 由于 [[Windows RT Build 7915.0.fbl core1 kernel npc ext.110131-1820|Build 7915]] 设计用于在德州仪器的 OMAP4 上运行,且无法在 Tegra 2 QEMU 上运行,本指南不适用于此版本。必须改用 QEMU-woa。 |
| | |
| ==== Precautions ====
| |
| * The emulator may quit when a system reboot is initiated. This is an intentional design decision implemented by Microsoft as restarts are treated as full shutdowns by the Tegra 250 HAL, and cannot be worked around.
| |
| * In rare edge cases, [[w:Secure Digital|Secure Digital]] [[w:MultiMediaCard|MultiMediaCard]] (SDMMC) emulation may not be reliable and can possibly corrupt the main OS disk partition midway through image deployment or feature staging. Re-attempting the below instructions by first formatting the main OS partition and then modifying the setup BCD store to use one CPU core (located as <code>EFI\Microsoft\Boot\BCD</code> in the installation media) via the command below may help significantly improve the chances of a successful installation, at the expense of additional time due to the lack of multi-threading:<syntaxhighlight lang="batch">
| |
| bcdedit /offline /store M:\EFI\Microsoft\Boot\BCD /set {default} NUMPROC 1
| |
| </syntaxhighlight>
| |
| * USB HID device emulation is unstable and will occasionally result in devices failing to register any user inputs. To restore input, switch to the QEMU compatibility monitor ({{key press|Ctrl|Alt|2}}) and run the following commands:<syntaxhighlight lang="batch">
| |
| device_del kbd
| |
| device_add usb-kbd,id=kbd
| |
| </syntaxhighlight>
| |
| * For builds prior to [[Windows 8 build 7957|7957]] (excluding builds [[Windows 8 build 7792|7792]] and [[Windows 8 build 7822|7822]]), it is critical that the [[Windows Setup]] boot image be substituted with the [[Windows Preinstallation Environment]] image from the original partner drop (ordinarily located in the <code>winpe</code> or <code>woape</code> directories), as the Setup boot image does not contain the required hardware abstraction layer (HAL) extensions, and will therefore cause the operating system to immediately bugcheck with code <code>HAL_INITIALIZATION_FAILED</code> as soon as the boot sequence starts.
| |
| *This guide is not designed for build 7915 due to it being designed to run on Texas Instruments OMAP4 and won't run on the Tegra 2 QEMU. It is required to use QEMU-woa instead.
| |
|
| |
|
| ===详细设置=== | | ===详细设置=== |