將pe安裝在vhd
2022-10-21 622

將pe安裝在vhd

2022-10-21
622

1.創建vhd

create vdisk file=c:\mype.vhd type=expandable maximum=10240
attach vdisk
create partition primary align=1024
format fs=ntfs quick
active
assign letter=v

2.釋放映像

DISM.exe /Apply-Image /ImageFile:c:\boot.wim /Index:1 /ApplyDir:v:\

3.啟動引導,{...}數據由bcdedit /copy獲得

bcdedit
bcdedit /copy {current} /d "mype"
bcdedit /set {d815d98c-4fb2-11ed-8b7b-f0def10fb97c} device vhd=[c:]\mype.vhd
bcdedit /set {d815d98c-4fb2-11ed-8b7b-f0def10fb97c} osdevice vhd=[c:]\mype.vhd
bcdedit /set {d815d98c-4fb2-11ed-8b7b-f0def10fb97c} winpe yes

reboot

PS.不是所有pe都行,或因缺檔關係,有些進不了系統,要多嘗試

收藏
点赞
道具卡
分享
pecmd@hh
最新回复 (1)
  • avatar image
    bnn17 2022-11-10

    感谢分享

    171717171717171717
返回