文档:在 QEMU 中安装 7000 系列 ARMv7 Windows RT 版本:修订间差异

第 6 行: 第 6 行:
* 两个虚拟硬盘映像(用于存储安装介质和操作系统安装)
* 两个虚拟硬盘映像(用于存储安装介质和操作系统安装)


=== 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.
* 启动系统重启时,模拟器可能会退出。这是 Microsoft 有意实施的设计决策,因为 Tegra 250 HAL 将重启视为完全关闭,无法解决。
* 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">
* 在极少数情况下,安全数字多媒体卡(SDMMC)仿真可能不可靠,并且可能会在映像部署或功能暂存过程中损坏主操作系统磁盘分区。通过以下命令重新尝试以下说明,首先格式化主操作系统分区,然后修改设置 BCD 存储以使用一个 CPU 内核(位于安装介质中的 <code>EFI\Microsoft\Boot\BCD</code>)可能有助于显著提高成功安装的机会,但由于缺少多线程而花费额外的时间:
<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 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">
* 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>
* 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.
* 对于 [[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 安装程序]]启动映像替换为原始合作伙伴下发(通常位于 <code>winpe</code> <code>woape</code> 目录中)中的 [[Windows 预安装环境]]映像,因为安装程序启动映像不包含所需的硬件抽象层(HAL)扩展,因此将导致操作系统在启动后立即使用代码 <code>HAL_INITIALIZATION_FAILED</code> 进行错误检查。
*This guide is not 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.
* 此指南不适用于 Build 7915,因为它被设计为在德州仪器(TI)OMAP4 上运行,且不会在 Tegra 2 QEMU 上运行。需要改用 QEMU-woa。
 
===Instructions===
===Instructions===
These instructions assume that the user has an elevated command prompt window open.
These instructions assume that the user has an elevated command prompt window open.