如何解决DISM错误:在Raspberry Pi中安装Windows 10 IoT Core时无法识别87 / applydrive选项 [英] How to resolve DISM Error: 87 /applydrive option is not recognized while installing Windows 10 IoT Core in Raspberry Pi

查看:562
本文介绍了如何解决DISM错误:在Raspberry Pi中安装Windows 10 IoT Core时无法识别87 / applydrive选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Raspberry Pi中安装Windows 10 IoT核心版。我的一个大学告诉我,要做到这一点,你的物理机器也应该安装Windows 10 Insider Preview但是我没有找到这样的文档写的任何地方。它是在一个地方写的,不要在虚拟机上安装Windows 10,因为它需要访问SD卡。所以我想按照 Techcrunch |如何在Raspberry Pi 2上安装Windows 10 IoT [ ^ ]来自我的Windows 8.1 64-Bit,因为我找到的差异只是dism.exe的可用性命令。



我正在尝试使用以管理员身份运行优先级的PowerShell执行这些步骤。但我坚持这篇文章的第5步。我收到错误:87我正在粘贴PowerShell提示我得到如下。

  PS  C:\iot>  dism  exe   / Apply-Image  < span class =code-leadattribute> / ImageFile:flash 。 ffu  /ApplyDrive:\\. \ PysysDrive2   / SkipPlatformCheck  

部署 图像 服务 管理 工具
版本: 6 3 9600 17031


错误: 87

/ applydrive 选项 span context
对于 更多 信息参考 帮助

DISM log file 找到 C:\ Windows \ Logs \DISM\dism。 log



我在驱动器号2上检测到我的SD卡,就像我在diskpart下的list disk命令中找到的那样。你可以在这个链接上找到dism.log [ ^ ]。



任何人都可以告诉我如何纠正这个错误。

解决方案

参见 https://ms-iot.github.io/content/Faqs.htm [ ^ ]:

Quote:

您需要在Windows 10而不是Windows 8.1上使用DISM。


下面的解决方案适用于我(或参见我的博客文章):



获取Windows 10预览ISO,我用 Windows10_InsiderPreview_ x64_EN-US_10074.iso



在Windows 8.1下安装Windows 10 ISO(双击或右击/挂载),

从ISO到本地硬盘复制.\sources文件夹,说

 c:\ temp \ 



从Windows复制flash.ffu 10 IOT ZIP到

 c:\ temp\sources \ 

文件夹然后使用管理员权限打开一个命令窗口(点击Windows-X,然后是A)



使用diskpart查找SD卡的磁盘#(您已使用上面的#2)

类型:

< pre lang =text> dism.exe / Apply-Image / ImageFile:flash.ffu /ApplyDrive:\\.\PhysicalDrive2 / SkipPlatformCheck





BTW我第一次失败,但是我的第二次尝试失败了。不确定是否有任何影响,但第一次使用FAT32格式化SD卡,第二次使用NTFS。虽然我有空闲时间仍然会进行双启动VHD安装来测试Windows 10,但这对我有用并为我节省了很多时间。


I am trying to install Windows 10 IoT Core in Raspberry Pi. One of my college tell me that to do this your physical machine should also be installed with Windows 10 Insider Preview however i didn't find anywhere like this written in documentation. It was written at one place to not to install windows 10 on Virtual Machine as it will require to access SD card. So i am trying to follow these very simple steps as mentioned in Techcrunch | How To Install Windows 10 IoT On Your Raspberry Pi 2[^] from my Windows 8.1 64-Bit because the difference I found is just availability of dism.exe command.

I am trying these steps from powershell with "run as administrator" priority. but i stuck on step-5 of this article. I am getting Error: 87 and I am pasting powershell prompt that i am getting as below.

PS C:\iot> dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\\.\PhysicalDrive2 /SkipPlatformCheck

Deployment Image Servicing and Management tool
Version: 6.3.9600.17031


Error: 87

The /applydrive option is not recognized in this context.
For more information, refer to the help.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log


My SD card is detected on drive letter 2 as I found in list disk command under diskpart. you can find dism.log on This link[^].

Can anyone tell me how can i rectify this error.

解决方案

See https://ms-iot.github.io/content/Faqs.htm[^]:

Quote:

You need to use DISM on Windows 10 and not Windows 8.1.


this solution below worked for me (or see my blog post) :

get Windows 10 preview ISO,I used Windows10_InsiderPreview_x64_EN-US_10074.iso

mount Windows 10 ISO under Windows 8.1 (double click or right click/mount),
copy .\sources folder from ISO to local HDD, say

c:\temp\


copy flash.ffu from the Windows 10 IOT ZIP to

c:\temp\sources\

folder then open a command window using Admin permissions (hit Windows-X, then A)

find the disk # of your SD card using diskpart (you have used # 2 above)
type:

dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\\.\PhysicalDrive2 /SkipPlatformCheck



BTW my first time at this failed however my 2nd attempt worked. Unsure if any bearing on it, but first time I'd formatted SD card using FAT32, second time using NTFS. Although I'll still be doing a dual boot VHD install to test Windows 10 when I have some free time, this worked for me and saved me a good bit of time.


这篇关于如何解决DISM错误:在Raspberry Pi中安装Windows 10 IoT Core时无法识别87 / applydrive选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆