|
多次试用,发现了一个问题,就是MBR模式下的启动菜单只有两个选择,而没有进入PE的功能。如图所示:
,GPT模式正常。
insmod font
if loadfont /helpnow/zenhei.pf2; then
if loadfont /helpnow/unicode.pf2; then
insmod gfxterm
set gfxmode=1024x768
set gfxpayload=keep
set theme=/helpnow/lenovo/theme.txt
set default="0"
export theme
terminal_output gfxterm
clear
fi
fi
set helpnow_flag=1
if [ "${helpnow_flag}" = 1 ]; then
search --label --set LENOVO_PART
if loadfont /helpnow/zenhei.pf2; then
if loadfont /helpnow/unicode.pf2; then
insmod gfxterm
set gfxmode=1024x768
set gfxpayload=keep
set theme=/helpnow/lenovo/theme.txt
set default="0"
export theme
terminal_output gfxterm
clear
fi
fi
if [ -e /okrflag ] ; then
set timeout=0
else
if [ -e /okrkqflag ] ; then
set timeout=0
fi
fi
fi
menuentry '联想拯救系统' --id lrs {
terminal_output console
clear
insmod gfxterm
set gfxmode=1024x768
set gfxpayload=keep
terminal_output gfxterm
search --label --set LENOVO_PART
linux /nova/vmlinuz-3.5.0 dodisk novafb ro quiet zh splash=silent vga=790
initrd /nova/initrd.img-3.5.0
}
menuentry '联想远程救援系统' --id helpnow {
terminal_output console
clear
insmod gfxterm
set gfxmode=1024x768
set gfxpayload=keep
terminal_output gfxterm
search --label --set LENOVO_PART
if [ -e /helpnow/helpnow.txt ] ; then
linux /helpnow/linux dodisk xmodule=fbdev ro quiet vga=788 splash=silent
initrd /helpnow/helpnow4
else
linux /8ddy-boot-find/linux root=/dev/ram0 ro bootfromiso=/8ddy-boot-find/8ddy.iso quiet splash nomodeset video=uvesafb:mode_option=1024x768-16,mtrr=3,scroll=ywrap
initrd /8ddy-boot-find/initrd.img
fi
}
应该是与以上代码有关吧,看代码只有两个选择。没有进入PE的功能。而GPT模式下的菜单就是正常的,不过还是希望进入功能选择的时候可以使用鼠标和键盘都可以操作。 |
|