|
SRS_F6目录下的MENU:
terminal console
color white/blue blue/yellow light-red/blue 10
calc *0x8280=*0x82a0 && calc *0x8208=*0x829c && root (bd)
checkrange 0x21 read 0x82a0 && pxe basedir /
default 0
timeout 50
title [0] Return GRUB4DOS Boot Menu \n Return first boot menu
checkrange 1 read 0x60100 && write 0x8280 0x21 && write 0x82a0 0x21 && pxe detect
checkrange 2 read 0x60100 && root (hd0,0) && chainloader (hd0)+1 && boot
checkrange 0x9f read 0x8280 && chainloader (cd) && boot
checkrange 1:2 read 0x60100 || configfile /MENU.LST && boot
checkrange 1:2 read 0x60100 || find --set-root /MENU.LST && configfile /MENU.LST && boot
checkrange 1:2 read 0x60100 || chainloader /GRLDR || find --set-root /GRLDR && chainloader /GRLDR
boot
title [1] Bootable CD\nLoad (CDx)
errorcheck off
chainloader (cd) && boot
chainloader (cd0) && boot
chainloader (cd1) && boot
chainloader (cd2) && boot
chainloader (cd3) && boot
errorcheck on
cdrom --init
map --hook
errorcheck off
chainloader (cd) && boot
chainloader (cd0) && boot
chainloader (cd1) && boot
chainloader (cd2) && boot
chainloader (cd3) && boot
title [2] Bootable ISO(--mem)\nLoad /MYISO.ISO(--mem) \nPE compact disc name change is MYISO.ISO
find --set-root --ignore-floppies /MYISO.ISO
map --mem /MYISO.ISO (0xff)
map --hook
chainloader (0xff)
title [3] Windows NT/2K/XP/2K3 Loader\nLoad /ntldr
find --set-root --ignore-floppies --ignore-cd /ntldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
title [4] Windows Vista/7\nLoad /bootmgr
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
title [5] Windows PE\nLoad /WXPE/SETUPLDR.BIN or /ldrxpe
find --set-root --ignore-floppies /WXPE/SETUPLDR.BIN || find --set-root --ignore-floppies /ldrxpe
chainloader /WXPE/SETUPLDR.BIN || chainloader /ldrxpe
title [6] Grub4Dos Loader\nLoad /grldr
find --set-root --ignore-floppies /grldr || find --set-root --ignore-floppies /GRLDR
chainloader --force /grldr || chainloader --force /GRLDR
title [7] Grub4Dos CommandLine
commandline
title [8] /I386/SETUPLDR.BIN Loader\nLoad /I386/SETUPLDR.BIN
find --set-root /i386/setupldr.bin || find --set-root /I386/SETUPLDR.BIN
chainloader /i386/setupldr.bin || chainloader --force /I386/SETUPLDR.BIN
title [9] /WIN_NT$.~BT/SETUPLDR.BIN Loader\nLoad /$WIN_NT$.~BT/setupldr.bin
find --set-root --ignore-floppies /$WIN_NT$.~BT/setupldr.bin || find --set-root --ignore-floppies /WIN_NT$.~BT/SETUPLDR.BIN
chainloader /$WIN_NT$.~BT/setupldr.bin || chainloader --force /WIN_NT$.~BT/SETUPLDR.BIN
title [10] /$LDR$ Loader\nLoad /$ldr$
find --set-root --ignore-floppies /$ldr$ || find --set-root --ignore-floppies /$LDR$
chainloader /$ldr$ || chainloader --force /$LDR$
title [11] Unmap All\nUnmap all virtual floppies, hard drives and cdroms.
map --unmap=0:0xff
map --rehook
clear
pause All virtual floppies, hard drives and cdroms has been unmapped. Press any key to countinue...
kernel && pause --wait=0
title [12] Reboot
reboot
title [13] halt
halt |
|