|
反馈:
有些标题性的显示,会误显示为菜单项。比如:题目“电脑维护工具”,下面有几个菜单项,但是题目“电脑维护工具”这行字也会被当成菜单项,处于可选择状态,同一个菜单文件,GRUB4DOS正常。
GRUB4DOS说明文档介绍如下:
******************************************************************************
*** Delimitors or comments between titles ***
******************************************************************************
标题间的限制或注释
把标题用来做限制或注释是可能的。如果一个标题(或菜单项)下所有的菜单命令都是非启动敏感的,
它被叫做是不可启动的。
下面的命令是启动敏感的(而其他命令是非启动敏感的)
boot
bootp
chainloader
configfile
embed
commandline
halt
install
kernel
pxe
quit
reboot
setup
一个不可启动的标题在使用者按向上方向键或向下方向键时将被跳过。
不可启动的菜单项可以通过使用左方向键或右方向键来被访问(和执行)的。示例:
title This is an UNBOOTABLE entry(so this line is also a comment)
pause --wait=0 This title is a comment. Nothing to do.
pause --wait=0 You can use non-boot-sensitive commands here
pause --wait=0 of any kind and as many as you would like.
help
help root
help chainloader
help parttype
clear
title ------------------------------------------------------------
pause --wait=0 This title is a delimitor. Nothing to do.
pause --wait=0 You can use non-boot-sensitive commands here
pause --wait=0 of any kind and as many as you would like.
clear
help
help boot
title ============================================================
pause --wait=0 This title is a delimitor. Nothing to do.
pause --wait=0 You can use non-boot-sensitive commands here
pause --wait=0 of any kind and as many as you would like.
help
clear
help pause
title ************************************************************
pause --wait=0 This title is a delimitor. Nothing to do.
pause --wait=0 You can use non-boot-sensitive commands here
pause --wait=0 of any kind and as many as you would like.
help kernel
help
clear
注意:一个不可启动菜单项必须至少包含一条命令。如果标题下没有命令,标题将被简单的
丢弃并且不被显示。
——特此反馈,请作者留意一下。 |
|