|
这个是p大0pe中的,你试试。
title Windows 7/8 PE Windows 7/8 PE\n Chainload /EFI/BOOTMGR
set pe78=
if exist (bd)/EFI/BOOTMGR set pe78=(bd) || if exist %?_BOOT%/EFI/BOOTMGR set pe78=%?_BOOT% || if exist (0xff)/EFI/BOOTMGR set pe78=(0xff) || if exist (hd0,0)/EFI/BOOTMGR set pe78=(hd0,0) || if exist (hd0,1)/EFI/BOOTMGR set pe78=(hd0,1)
if not exist pe78 echo Finding /EFI/BOOTMGR...
if not exist pe78 && if exist eb map --status=17 && if exist (fd17)/EFI/BOOTMGR set pe78=(fd17)
if not exist pe78 if exist (fd0,0)/EFI/BOOTMGR set pe78=(fd0,0)
if not exist pe78 if exist (fd0,1)/EFI/BOOTMGR set pe78=(fd0,1)
if not exist pe78 find --set-root --ignore-floppies --ignore-cd /EFI/BOOTMGR &; set pe78=%@root%
if not exist pe78 find --set-root /EFI/BOOTMGR &; set pe78=%@root%
if not exist pe78 clear && echo 此功能需要BOOTMGR在指定目录。 && root (bd) || echo
if not exist pe78 && pause 回车转RUN模块... || commandline
if not exist pe78 goto 8
echo Loading Windows 7/8 PE in %pe78%...
rootnoverify %pe78%
if "%@root%"=="(fd17)" set pe78=(fd17)
if "%pe78:~1,1%"=="f" || if "%pe78:~1,1%"=="u" || echo -n ! (hd-1,0)/bin/pe78 %pe78% || echo -n
map (hd-1) (hd-1)
map --rehook
chainloader /EFI/BOOTMGR && boot
pause Something is wrong with your 8PE/7PE. && reboot
#7 |
|