| 
 | 
 
debug off 
find --devices=h /ntldr | set x= 
find --devices=h /bootmgr | set y= 
default (hd0,2)/default 
timeout=5 
gfxmenu /messag 
 
title 启动Windows xp 
savedefault 
checkrange 0x12 parttype %y% || parttype %y% 0x12 
checkrange 0x07 parttype %x% || parttype %x% 0x07 
chainloader %x% /ntldr 
 
title 启动Windows 7 
savedefault 
checkrange 0x12 parttype %x% || parttype %x% 0x12 
checkrange 0x07 parttype %y% || parttype %y% 0x07 
chainloader %y%/bootmgr 
 
 
如以上菜单,因加载GFXMENU后,在chainloader时,x,和y的变量值就已经丢失。 
如果改为debug 1 就可以启动系统 
如何让GFX不影响变量值的内存占用,或是用什么方法来保存变量不让GFX抹掉。 
 
[ 本帖最后由 xiaoy 于 2011-9-25 11:20 编辑 ] |   
 
 
 
 |