无忧启动论坛

标题: 如何修改grldr.mbr 禁止C键 [打印本页]

作者: wowfans    时间: 2010-9-19 14:15
标题: 如何修改grldr.mbr 禁止C键
用bootlace安装到mbr时有 --duce参数可选
禁止无条件的C键进入控制台

但如果依靠grldr.mbr 如何进行修改 禁止C键呢

目前测试过 C的优先权高于任何菜单 所以 应该是修改这个grldr.mbr文件或者grldr文件本身 才可以禁止这个功能
作者: sratlf    时间: 2010-9-19 16:54
最简单的,菜单加密码
作者: chenall    时间: 2010-9-19 17:36
******************************************************************************
***               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')
  bit3=1: disable geometry tune(See below `--chs-no-tune')
  bit3=0: enable geometry tune(See below `--chs-no-tune')
  bit4 - bit6: reserved
  bit7=1: try to boot PREVIOUS MBR after the search for GRLDR
  bit7=0: try to boot PREVIOUS MBR before the search for GRLDR
作者: xjn147    时间: 2010-9-19 18:58
bootlace.com --duce                       

disable the feature of unconditional entrance to the command-line.
禁止无条件进入命令行功能。
作者: Pauly    时间: 2010-9-19 19:57
楼主可能是通过其他方式来启动 grldr.mbr,而且希望修改 grldr.mbr 这个文件

楼主可以用 BOOTICE 将 G4D 安装到硬盘 MBR 后再导出 MBR 前 18 个扇区为一个文件即可,当然,要选中“禁止按 C 无条件进入命令控制台”
作者: adiwdmd    时间: 2010-9-20 10:05
不太明白楼主的意思,不过如果在GRLDR菜单中限制c键可以用 setkey ,希望对楼主有用


setkey l e
setkey l E
setkey l c
setkey l C
setkey l b
setkey l B
default 0
timeout 10
title   0.自动恢复系统
setkey
....

title   1.自动备份系统
setkey
....




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