win10 bcdedit添加vhdx启动

第一步,先用hyper-v,imagex或者其它vhd安装器,将win10 系统安装到一个vhd文件中(vhdx更好,动态扩展等诸多优良特性),比如d:\win10tp.vhdx
第二步,执行如下代码

C:\>bcdedit /copy {current} /d “Windows 10 Technical Preview”

该命令执行完毕后获得到一个guid,诸如:{xxx-xxx-xxx-xx-xx}之类的,将这个花括号连同之间的字符串复制上,把下面的命令里的全部替换掉,然后执行就可以了。

C:\>bcdedit /set device vhd=[d:]
\win10tp.vhdx
C:\>bcdedit /set osdevice vhd=
[d:]\win10tp.vhdx
C:\>bcdedit /set detecthal on

你可能感兴趣的:(hyper-v)