title 使用外部命令 NTBOOT 启动 WIM/VHD (方案2)
find /vhd/atlas.vhd | set bd=
/vhd/ntboot %bd%/vhd/atlas.vhd winload=/Windows/System32/boot/winload.efi minint=1
boot
title 使用外部命令 NTBOOT 启动 WIM/VHD (方案1)
find /efi/grub/ext/ntboot | set bd=
find --set-root /vhd/atlas.vhd
%bd%/efi/grub/ext/ntboot /vhd/atlas.vhd
boot
title atlas VHD OS秒还原并重启
echo ………………………………please enter y to recover VHD………………………………
password=y
find --set-root /vhd/atlas1.vhd
dd if=()/vhd/atlas1.vhd of=()/vhd/atlas.vhd
echo ………………………………please enter y to reboot…………………
password=y
find /efi/grub/ext/ntboot | set bd=
find --set-root /vhd/atlas.vhd
%bd%/efi/grub/ext/ntboot /vhd/atlas.vhd
boot