无忧启动论坛

标题: grldr中已有内置菜单,如何更改成不使用内置,想调用menu.lst里的内容呢 [打印本页]

作者: 非常人    时间: 2010-12-7 13:23
标题: grldr中已有内置菜单,如何更改成不使用内置,想调用menu.lst里的内容呢
内置的有4KB限制
作者: sratlf    时间: 2010-12-7 13:36
把内置菜单改成configfile /MENU.LST就是调用外置菜单了
作者: 非常人    时间: 2010-12-7 13:45
感谢,这个应该是二级菜单了吧,能不能直接调用呢?》
作者: sratlf    时间: 2010-12-7 13:50
标题: 回复 #3 非常人 的帖子
这就是直接调用,内置菜单只有一句

configfile /MENU.LST
作者: dgxhls    时间: 2010-12-7 13:51
直接换原版GRLDR或者修改现有GRLDR的内置菜单为以下内容:
pxe detect
configfile
default 0
timeout 1

title find /menu.lst, /boot/grub/menu.lst, /grub/menu.lst
        errorcheck off
        configfile /menu.lst || configfile /MENU.LST
        configfile /boot/grub/menu.lst || configfile /BOOT/GRUB/MENU.LST
        configfile /grub/menu.lst || configfile /GRUB/MENU.LST
        find --set-root --ignore-floppies --ignore-cd /menu.lst && configfile /menu.lst
        find --set-root --ignore-floppies --ignore-cd /boot/grub/menu.lst && configfile /boot/grub/menu.lst
        find --set-root --ignore-floppies --ignore-cd /grub/menu.lst && configfile /grub/menu.lst
        errorcheck on
        commandline

title commandline
        commandline

title reboot
        reboot

title halt
        halt
作者: 非常人    时间: 2010-12-7 16:36
thx 打狗的~~~~




欢迎光临 无忧启动论坛 (http://wuyou.net/) Powered by Discuz! X3.3