我正在使用 Microsoft ImageX 应用 Windows 映像文件、wim 文件。以前它运行良好,但现在在同一台 PC 的新版本上失败了。
脚本如下:
DISKPART /s WipeDisk.txt
D:
ImageX /apply MyImage.wim 1 c:\
bcdedit /set {default} device partition=c:
bcdedit /set {default} osdevice partition=c:
bcdedit /set {bootmgr} device partition=c:
WipeDisk.txt 如下:
SELECT DISK 0
CLEAN
CREATE PARTITION PRIMARY
FORMAT QUICK FS=NTFS LABEL="Windows"
ACTIVE
ASSIGN LETTER="C"
应用图像后的错误是:
all the diskpart stuff works fine
[ 100% ] Applying progress
Successfully applied image.
Total elapsed time: 17 min 18 sec
D:\>bcdedit /set {default} device partition=c:
The boot configuration data store could not be opened.
The requested system device cannot be found.
D:\>bcdedit /set {default} osdevice partition=c:
The boot configuration data store could not be opened.
The requested system device cannot be found.
D:\>bcdedit /set {bootmgr} device partition=c:
The boot configuration data store could not be opened.
The requested system device cannot be found.
如果我应用映像后尝试启动电脑,则会收到错误:
Status: 0xc0000185
Info: The boot selection failed because a required device is inaccessible.
然后我按下回车键,看到:
File: \EFI\Microsoft\Boot\BCD
Status: 0xc0000185
Info: An error occurred while attempting to read the boot configuration data.
这是所使用的目标硬件 PC: http://www.axiomtek.com/DownLoad/Spec/got3187w-834-pct.pdf
有没有可以使用的 BCDEdit 替代品?有什么方法可以修复磁盘无法启动的问题?