|
我对这个也不大懂,程序是直接从我电脑里面提取出来的,我在公司的新老电脑我都装了没问题,至于PE调用,你可能要查查winly方面的东西,配置文件就在lenovookr.iso里面的lenovookr.ini(两个位置,一个在helpnow目录,一个在helpnow目录下的子目录grub里面,不知道调用的到底是哪一个,反正两个都搞成一样就行),内容如下:
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 '启动本地PE系统' --id WinPE {
search --label --set LENOVO_PART
ntldr /EFI/bootmgr
}
menuentry "重启计算机" --class windows --class os{
reboot
}
menuentry "关闭计算机" --class windows --class os{
halt
}
|
|