|
timeout 10
default 2
color 0x1100408011ffffff 0x1100a00011ffff00 0x110000801100ff00 0x110000001100ff00
if exist ()/BOOT/GRUB/UNIFONT.HEX || find --set-root /BOOT/GRUB/UNIFONT.HEX
font /BOOT/GRUB/UNIFONT.HEX
graphicsmode -1 640:800 480:600 32
if exist ()/BOOT/GRUB/BG.LZMA || find -set-root /BOOT/GRUB/BG.LZMA
splashimage /BOOT/GRUB/BG.LZMA
terminal --font-spacing=0:6
command ()/BOOT/GRUB/hotkey
hotkey -nc
title [1] 启动 Native WIN7PE 网络版
echo -e \n$[0003] 正在加载Win7PE 网络版一级内核!
echo -e \n$[0003] 此过程可能需要几分钟。。。。。。
command (ud)/BOOT/GRUB/DRV7
map (ud)/ISO/win7boot.ISO (0xff) > nul
map (ud)/ISO/win7two.iso (0xfe) > nul
map --hook
rootnoverify (0xfe)
ls (0xfe)/ > nul
chainloader (0xff)/bootmgr
boot
title [2] 启动 Native Tango XPPE \n 启动Tango 风格的 XPE \n DIY自逆天使的TangoPE
if exist ()/BOOT/GRUB/F6IMG && command /BOOT/GRUB/F6IMG ! find --set-root /BOOT/GRUB/F6IMG && command /BOOT/GRUB/F6IMG
if exist ()/TANGO/XPONE || find --set-root /TANGO/XPONE
calc *0x8280 || chainloader /TANGO/XPONE && boot
calc *0x82b8 && calc *0x82b9&0xff || chainloader /TANGO/XPONE && boot
if exist ()/TANGO/NATIVEXP.ISO || find --set-root /TANGO/NATIVEXP.ISO
map /TANGO/NATIVEXP.ISO (0xff) || map --mem /TANGO/NATIVEXP.ISO (0xff)
if exist ()/TANGO/PETOOLS.ISO || find --set-root /TANGO/PETOOLS.ISO
map /TANGO/PETOOLS.ISO (0xfe) || map --mem /TANGO/PETOOLS.ISO (0xfe)
map --e820cycles=3
map --rehook
chainloader (0xff) || chainloader (0xff)/WXPE/SETUPLDR.BIN
title [3] 启动 Native Tango 03PE \n 启动tango 风格的 03PE \n DIY自老狂出品的炫酷03PE
if exist ()/BOOT/GRUB/F6IMG && command /BOOT/GRUB/F6IMG ! find --set-root /BOOT/GRUB/F6IMG && command /BOOT/GRUB/F6IMG
if exist ()/TANGO/03ONE || find --set-root /TANGO/03ONE
calc *0x8280 || chainloader /TANGO/03ONE && boot
calc *0x82b8 && calc *0x82b9&0xff || chainloader /TANGO/03ONE && boot
if exist ()/TANGO/NATIVE03.ISO || find --set-root /TANGO/NATIVE03.ISO
map /TANGO/NATIVE03.ISO (0xff) || map --mem /TANGO/NATIVE03.ISO (0xff)
if exist ()/TANGO/PETOOLS.ISO || find --set-root /TANGO/PETOOLS.ISO
map /TANGO/PETOOLS.ISO (0xfe) || map --mem /TANGO/PETOOLS.ISO (0xfe)
map --e820cycles=3
map --rehook
chainloader (0xff) || chainloader (0xff)/WXPE/SETUPLDR.BIN
title [4] 启动 GHOST 恢复系统镜像 \n 全自动仅支持GHO文件存放在U盘上 \n 存放在硬盘上的请手动!
if exist ()/BOOT/IMGS/UGHOST.LZMA || find --set-root /BOOT/IMGS/UGHOST.LZMA
map --mem /BOOT/IMGS/UGHOST.LZMA (fd0)
map --hook
calc *0x8280&0xff > nul || uuid (fd0) | echo -n | echo -n | echo -n | echo -n | set id=
checkrange 0x80 read 0x8280 && uuid (hd0,0) | echo -n | echo -n | echo -n | echo -n | set id=
calc *0x82b8 && calc *0x82b9&0xff > nul || uuid (fd0) | echo -n | echo -n | echo -n | echo -n | set id=
checkrange 0x23 read 0x8280 && calc *0x82b9&0xff || uuid (fd0) | echo -n | echo -n | echo -n | echo -n | set id=
checkrange 0x23 read 0x8280 && calc *0x82b9&0xff && uuid (hd0,0) | echo -n | echo -n | echo -n | echo -n | set id=
if not "-"=="%id:~4,1%" set id=0000-0000
cat --locate=0000-0000 --number=2 (fd0)/findud.bat > nul
write --offset=%?% (fd0)/findud.bat %id%
chainloader (fd0)+1
rootnoverify (fd0)
title [5] 启动 ISO 安装原版系统 \n 安装说明\n 文本阶段复制完成重启后选择菜单8继续安装。
if exist (ud)/BOOT/GRUB/FISO command (ud)/BOOT/GRUB/FISO || find --set-root /BOOT/GRUB/FISO && command /BOOT/GRUB/FISO
boot
title [6] 启动 DiskGenius 图形分区工具 \n V4.3PRO 分区利器,F6一键分区功能非常适合新手使用!
if exist ()/BOOT/IMGS/DISKGEN.lzma || find --set-root /BOOT/IMGS/DISKGEN.LZMA
map --mem /BOOT/IMGS/DISKGEN.lzma (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title [7] 启动 Acronis Disk Director Suite \n 无损分区利器,某些品牌机分区必备工具!非常好用!
if exist ()/BOOT/IMGS/ADDS10.LZMA || find --set-root /BOOT/IMGS/ADDS10.LZMA
map --mem /BOOT/IMGS/adds10.lzma (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title [8] 启动 Windows NT/2K/XP/VISTA/WIN7 登陆密码破解器 \n N5.0密码破解利器,已经用它修理不少机器了!
if exist ()/BOOT/IMGS/PASSWORD.LZMA || find --set-root /BOOT/IMGS/PASSWORD.LZMA
map --mem /BOOT/IMGS/PASSWORD.LZMA (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title [9] 启动 NT/2K/2K3/XP/VISTA/WIN7/2K8/WIN8 \n 自动查找系统所在磁盘,并加载第一启动扇区!
find --set-root --devices=h /ntldr || find --set-root --devices=h /bootmgr
map (hd0) ()
map () (hd0)
map --rehook
checkrange 0x21 read 0x8280 && cat --locatei=\"echo (hd0,0)/windows/system32/$winnt$.inf > nul
checkrange 0x21 read 0x8280 && cat --skip=%?% (hd0,0)/windows/system32/$winnt$.inf | set isopath=
checkrange 0x21 read 0x8280 && if exist %isopath% map --mem %isopath:~6,-1% (0xff) && map --rehook
find --set-root --devices=h /ntldr || find --set-root --devices=h /bootmgr
chainloader /ntldr || chainloader /bootmgr
title [f] 返回主菜单
configfile (ud)/BOOT/GRUB/menu.lst
|
|