Board logo

标题: GRUB,怎样禁止在启动界面处修改编辑 [打印本页]

作者: dwh2008     时间: 2008-5-19 00:13    标题: GRUB,怎样禁止在启动界面处修改编辑

GRUB,怎样禁止在启动界面处修改编辑,我们是网吧是怕有人把我们进DOS的密码删除,然后进DOS。
作者: 不点     时间: 2008-5-19 08:48
你可阅读一下 grub 说明书,看看 password 的使用方法。

另外,DUCE 这个参数也是需要注意的。

grub4dos 具有调试功能,开机时按 c 即可立即进入命令行,略过任何 menu.lst ,也略过内置的 menu.lst。这个功能就叫做“无条件进入命令行”。这个功能可以被禁止,其禁止的方法就是采用 --duce 参数,无论 bootlace 还是 grub.exe 都有这个参数。你看看说明文档就清楚了。

如果你是在 boot.ini 或者在 vista 中使用 grldr 或 grldr.mbr,那么,相应于 --duce,你需要修改 grldr 或者 grldr.mbr 开头的控制字节。关于控制字节的具体说明也在 readme 文件中。

[ Last edited by 不点 on 2008-5-19 at 09:10 AM ]
作者: dwh2008     时间: 2008-5-19 15:18
谢谢楼上的朋友,已经搞好,在菜单前面加个密码就可以了,
DUCE 这个参数 还是不会用,的说明文件中找到这些是关于duce的 都是E文的,看的不怎么明白,
***               grldr.mbr - Details about the control bytes              ***
******************************************************************************

Six bytes can be used to control the boot process of GRLDR.MBR.

Offset        Length        Description
======        ======        ==============================================================
02h        1        bit0=1: disable the search for GRLDR on floppy
                bit0=0: enable the search for GRLDR on floppy

                bit1=1: disable the boot of PREVIOUS MBR with invalid
                        partition table(usually an OS boot sector)
                bit1=0: enable the boot of PREVIOUS MBR with invalid
                        partition table(usually an OS boot sector)

                bit2=1: disable the feature of unconditional entrance to
                        the command-line(See below `--duce')
                bit2=0: enable the feature of unconditional entrance to
                        the command-line(See below `--duce')

我是用开机启动grub ,grub有两个菜单,一个是进XP,一个是启动DOS,默认1秒钟启动XP ,现在又发现个问题,开机按任意键都显示 grub启动菜单, 不知道可不可以改成只有按F8或者指定的一个键才显示grub菜单。

[ Last edited by dwh2008 on 2008-5-19 at 03:20 PM ]