无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 6449|回复: 5
打印 上一主题 下一主题

如何修改grldr.mbr 禁止C键

[复制链接]
跳转到指定楼层
1#
发表于 2010-9-19 14:15:39 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
用bootlace安装到mbr时有 --duce参数可选
禁止无条件的C键进入控制台

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

目前测试过 C的优先权高于任何菜单 所以 应该是修改这个grldr.mbr文件或者grldr文件本身 才可以禁止这个功能
2#
发表于 2010-9-19 16:54:19 | 只看该作者
最简单的,菜单加密码
回复

使用道具 举报

3#
发表于 2010-9-19 17:36:10 | 只看该作者
******************************************************************************
***               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
回复

使用道具 举报

4#
发表于 2010-9-19 18:58:14 | 只看该作者
bootlace.com --duce                       

disable the feature of unconditional entrance to the command-line.
禁止无条件进入命令行功能。
回复

使用道具 举报

5#
发表于 2010-9-19 19:57:57 | 只看该作者
楼主可能是通过其他方式来启动 grldr.mbr,而且希望修改 grldr.mbr 这个文件

楼主可以用 BOOTICE 将 G4D 安装到硬盘 MBR 后再导出 MBR 前 18 个扇区为一个文件即可,当然,要选中“禁止按 C 无条件进入命令控制台”
回复

使用道具 举报

6#
发表于 2010-9-20 10:05:39 | 只看该作者
不太明白楼主的意思,不过如果在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
....
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-4-20 04:54

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表