文档:安装 Milestone 3 Windows 8 ARMv7 builds 在真实 ARMv7 硬件上:修订间差异

跳转到导航 跳转到搜索
完成移植
(完成移植)
 
(完成移植)
第 15 行: 第 15 行:


=== Instructions ===
=== Instructions ===
After placing the contents of the installation media found in the client directory on the USB drive (and, if missing, the WinPE <code>boot.wim</code> in the <code>sources</code> directory), navigate to the <code>\EFI</code> folder on the root of the USB drive and create a folder named <code>boot</code>. Open the <code>boot.wim</code> file located in the <code>sources</code> directory with a file extraction app, then navigate to <code>Windows\Boot\EFI</code> and extract the <code>bootmgfw.efi</code> file. Place it in the previously created folder and rename it to <code>bootmgr.efi</code>.
After placing the contents of the installation media found in the client directory on the USB drive (and, if missing like in the case of the NVIDIA and Texas Instruments partner drops of [[Windows 8 Build 7969.0.fbl_core1_kernel_npc.110323-1848|build 7969 (fbl_core1_kernel_npc)]], the WinPE <code>boot.wim</code> in the <code>sources</code> directory), navigate to the <code>\EFI</code> folder on the root of the USB drive and create a folder named <code>boot</code>. Open the <code>boot.wim</code> file located in the <code>sources</code> directory with a file extraction app, then navigate to <code>Windows\Boot\EFI</code> and extract the <code>bootmgfw.efi</code> file. Place it in the previously created folder and rename it to <code>bootmgr.efi</code>.


Download the correct <code>ACPIPatcherOffset.efi</code> file for the device, and place it in the same directory, then rename it to <code>bootarm.efi</code>. If booting a build between (and including) the [[Windows 8 Build 7968.0.fbl_multimedia_media_sndproc.110322-1700|7968]] to [[Windows 8 Build 8020.0.winmain.110602-1845|8020]] range, open a Command Prompt window as admin, navigate to <code>\EFI\Microsoft\boot</code> on the root folder of the USB drive, and execute the following command:
Download the correct <code>ACPIPatcherOffset.efi</code> file for the device, and place it in the same directory, then rename it to <code>bootarm.efi</code>. If booting a build between (and including) the [[Windows 8 Build 7968.0.fbl_multimedia_media_sndproc.110322-1700|7968]] to [[Windows 8 Build 8020.0.winmain.110602-1845|8020]] range, open a Command Prompt window as admin, navigate to <code>\EFI\Microsoft\boot</code> on the root folder of the USB drive, and execute the following command:
<syntaxhighlight lang="batch">
<syntaxhighlight lang="batch">
bcdedit /offline /store .\BCD /set {default} truncatememory 0xff800000
bcdedit /offline /store .\BCD /set {default} truncatememory 0xff800000
</syntaxhighlight>
Additionally, no matter what build is being used, run the following command to turn debug off:
<syntaxhighlight lang="batch">
bcdedit /offline /store BCD /set {default} debug off
</syntaxhighlight>
Certain devices may also require the following:
<syntaxhighlight lang="batch">
echo For 7957 to 7969
bcdedit /offline /store BCD /set {default} dbgtransport kdusbtga.dll
</syntaxhighlight>
<syntaxhighlight lang="batch">
echo For 7996 and higher
bcdedit /offline /store BCD /set {default} dbgtransport kdusbtga3.dll
</syntaxhighlight>
</syntaxhighlight>


Boot from the USB drive on the device using either volume down on the Surface RT, or volume up + Windows key (on tablet) on the Yoga 11, and install the operating system as normal. After rebooting, boot back into the USB drive, open a Command Prompt by pressing Shift+F10, and launch <code>diskpart</code>. Then execute the following command, where X is the eMMC disk partition and Y is the 100MB EFI System partition:
Boot from the USB drive on the device using either volume down on the Surface RT, or volume up + Windows key (on tablet) on the Yoga 11, and install the operating system as normal. After rebooting, boot back into the USB drive, open a Command Prompt by pressing Shift+F10, and launch <code>diskpart</code>. Then execute the following command, where X is the eMMC disk partition and Y is the 100MB EFI System partition:
<syntaxhighlight lang="batch">
<syntaxhighlight lang="batch">
list disk
select disk X
select disk X
list partiton
select partition Y
assign letter Z
</syntaxhighlight>
</syntaxhighlight>


Navigate to <code>Z:\EFI</code> in Command Prompt and copy over the <code>bootarm.efi</code> and <code>bootmgr.efi</code> files from the USB drive's <code>EFI\boot</code> directory to the <code>Z:\EFI\boot</code> directory. If running a build between (and including) the 7968 to 8020 range, execute the following command as well:
Navigate to <code>Z:\EFI</code> in Command Prompt and copy over the <code>bootarm.efi</code> and <code>bootmgr.efi</code> files from the USB drive's <code>EFI\boot</code> directory to the <code>Z:\EFI\boot</code> directory. If running a build between (and including) the 7968 to 8020 range, execute the following command as well:
<syntaxhighlight lang="batch">
<syntaxhighlight lang="batch">
bcdedit /set {default} truncatememory 0xff800000
bcdedit /set {default} truncatememory 0xff800000
11,179

个编辑

导航菜单