|
|
发表于 2013-7-21 16:48:02
|
显示全部楼层
本帖最后由 fukystone 于 2013-7-21 17:01 编辑
老大,报告一个小bug:
虚拟机测试,pxe模式下,使用自动菜单的话,返回上级菜单花屏。iso模式正常
附调用菜单:
#判断PXE
checkrange 0x21 read 0x8280 && pxe detect NotExist
#设定PXE启动模式
checkrange 0x21 read 0x8280 && rootnoverify (pd)
default 0
timeout 10
#定义显示相关
MENUSETTING n 9 0 n n 6 71 17
font /BOOT/GRUB/ufont.gz
graphicsmode -1 -1 -1 24:32 && graphicsmode -1 800 600 24:32
terminal --font-spacing=1:9
#自动设定壁纸
BGAutoChange /BOOT/GRUB/BG/
#菜单项开启自动编号
write 0x8274 0x1a01
#设定颜色
color normal=31 highlight=0x0A helptext=0x1D heading=0x0A standard=0x0F border=0x00
title 启动ISO方式PE系统(by-RUN) \n
echo -e $[0006]=======================================\n\t
echo -e $[0006]==$[0102]3秒内$[0107]可以设置e820cycles参数$[0103]防止蓝屏$[0006]==\n\t
echo -e $[0006]==$[0107]使用数字键$[0102]0 1 2 3$[0107]设置e820cycles参数$[0006]==\n\t
echo -e $[0006]========$[0107]默认e820cycles参数为$[0102]-1$[0006]=========\n\t
echo -e $[0006]=======================================\n\t
set keyt=
pause --wait=3 && set /A keyt=*0x4CB00
set e820=
if not exist keyt set e820=-1
if exist keyt set e820=%keyt:~-1%
command /BOOT/GRUB/srsf6
command /BOOT/GRUB/run --mem --e820cycles=%e820% --wvbk-isonly --automenu-all --not-show.txt /BOOT/PXEI/
*******************************************************************************************************
另外,MENUSETTING n 9 0 n n 6 71 17这句,哪个参数是调整行距的?
我以为是第2个,可是都改到9了,行距一点变化也没有 |
|