| 
 | 
4#
 
 
 楼主 |
发表于 2016-4-1 10:26:58
|
只看该作者
 
 
 
 
set timeout=10 
insmod jpeg 
if background_image ($root)/winly/background.jpg; then 
  true 
else 
 set menu_color_normal=white/black 
 set menu_color_highlight=black/light-gray 
 if background_color 44,0,30; then 
  clear 
 fi 
fi 
insmod gfxmenu 
insmod png 
set theme=($root)/winly/themes/winly/theme.txt 
export theme 
if [ -e $prefix/i386-pc/ntldr.mod ]; then 
 
menuentry "启动 WindowsXP PE 外置程序"{ 
echo "正在加载 WindowsXP PE,请等待...." 
insmod part_msdos  
insmod fat  
ntldr /boot/p/SETUPLDR.BIN 
} 
 
submenu "【1】加载子菜单2.cfg"         --hotkey="1" {   
 source ${prefix}/winly/winly1.cfg; 
} 
 
 
menuentry "启动 WindowsXP PE 内置程序"{ 
echo "正在加载 WindowsXP PE,请等待...." 
insmod part_msdos  
insmod fat  
ntldr /boot/xp/SETUPLDR.BIN 
} 
 
 
 
主菜单部分内容  已测试 发现不行啊 |   
 
 
 
 |