|
那就两个菜单好了。
我都三个菜单的
第一个
debug off
default 3
root (bd)
checkrange 0x0 read 0x8280 && set bd=fd
checkrange 0x9f read 0x8280 && set bd=cd
checkrange 0x21 read 0x8280 && set bd=pd
checkrange 0x23 read 0x8280 && set bd=ud
gfxmenu ()/BOOT/GRUB/MESSAGE || find --set-root /BOOT/GRUB/MESSAGE && gfxmenu ()/BOOT/GRUB/MESSAGE
configfile (md)4+8
title 【 1 】一键安装XP到硬盘第一分区
……
title 【 4 】运行可见区多版本ISO (预留)
configfile ()/ABC/ISO.LST || find --set-root /ABC/ISO.LST && configfile ()/ABC/ISO.LST
第二个:
debug off
#定位文件处作为当前设备
find --set-root --ignore-floppies /BOOT/GRUB/USB_ACC.0PE
#外部命令位置
command --set-path=(bd)/BOOT/GRUB/
#中文字体设置
unifont ()/BOOT/GRUB/FONTS
#颜色设置
background 002500
foreground ffffff
set n=按下序号数字并回车,将进入相应菜单
default 12
title
clear
title ☆ 外置PE/Linux菜单 ☆
clear
……
title 14 <特殊启动方式> DIR菜单 \n\n 启动方式DIR,主要用于安装系统,功能更强大
#configfile ()/ABC/ISO2.5U || find --set-root --ignore-floppies --ignore-cd /ABC/ISO2.5U && configfile ()/ABC/ISO2.5U
dd if=(hd0,6)/ABC/ISO2.5U of=(md)0x200+16 || dd if=(hd0,0)/ABC/ISO2.5U of=(md)0x200+16 || dd if=(hd1,0)/ABC/ISO2.5U of=(md)0x200+16
configfile (md)0x200+16
……
第三个
debug off
find --set-root --ignore-floppies /BOOT/GRUB/USB_ACC.0PE
command --set-path=(bd)/BOOT/GRUB/
set n=按下序号数字并回车,将进入相应菜单
default 12
title
clear
title ☆ 启动 DIR 菜单 ☆
clear |
|