分类: 学习 |
概要
本文讨论 bootcfg 命令及其用法。
更多信息
bootcfg 命令是一个 Microsoft Windows XP
故障恢复控制台命令,用于处理 Boot.ini
文件。此命令具有这样的功能:在硬盘上扫描 Microsoft Windows
NT、Microsoft Windows 2000 和 Windows XP
安装,然后将这些安装添加到现有的 Boot.ini 文件中,如果 Boot.ini
文件不存在,则重新生成一个新的 Boot.ini 文件。bootcfg
命令使其他 Boot.ini 文件参数能够添加到现有项或新项中。
要使用 bootcfg 命令,请用 Windows XP CD-ROM 启动故障恢复控制台,然后单击故障恢复控制台。或者,在本地安装故障恢复控制台,然后从启动菜单中选择此命令。
bootcfg 命令及其用法:
也可以在 Windows XP 图形用户界面 (GUI) 中修改 Boot.ini 文件:
要使用 bootcfg 命令,请用 Windows XP CD-ROM 启动故障恢复控制台,然后单击故障恢复控制台。或者,在本地安装故障恢复控制台,然后从启动菜单中选择此命令。
bootcfg 命令及其用法:
" | bootcfg /default 命令在启动菜单中设置默认操作系统选项(此命令自动选择操作系统项)。 |
" | bootcfg /add 命令在计算机上扫描 Windows
NT、Windows 2000 或 Windows
XP(如果双启动)安装,然后显示结果。从这个位置,您可以将安装添加到启动菜单。 可能显示的消息的示例为: Scanning all disks for Windows
Installations
此过程将一个新项添加到启动菜单中。当您添加一个安装时,bootcfg
命令同时使该安装成为默认操作系统启动项。Please wait, since this may take a while... Total Identified Windows Installs:2 [1] C:\Windows [2] D:\Windows Select installation to add:(select a number) Enter Load Identifier:(Custom description for an operating system loading from the Boot menu) Enter Operating System Load Options:(that is:/fastdetect) |
" | bootcfg /rebuild 命令在计算机的硬盘上扫描
Windows NT、Windows 2000 或 Windows XP
安装,然后显示结果。您可以添加检测到的 Windows 安装。 可能显示的消息的示例为: Total Identified Windows Installs:2
[1] C:\Windows Add installation to boot list?(Yes/No/All): Enter Load Identifier:(Custom description for an operating system loading from the Boot menu) Enter Operating System Load Options:(that is:/fastdetect) [2] D:\Windows Add installation to boot list?(Yes/No/All): Enter Load Identifier:(Custom description for an operating system loading from the Boot menu) Enter Operating System Load Options:(that is:/fastdetect) |
" | bootcfg /scan 命令在计算机的硬盘上扫描
Windows NT、Windows 2000 或 Windows XP 安装,然后显示结果。 可能显示的消息的示例为: Scanning all disks for Windows
Installations
Please wait, since this may take a while... Total Identified Windows Installs:2 [1] C:\Windows [2] D:\Windows |
" | bootcfg /list 命令读取 Boot.ini
文件,然后显示操作系统标识符、操作系统加载选项和操作系统位置(路径)。可能显示的消息的示例为:
Total entries in boot list:2
[1] Microsoft Windows Whistler Professional Operating System Load Options:/fastdetect Operating System Location:D:\Windows [2] Microsoft Windows Whistler Server Operating System Load Options:/fastdetect Operating System Location:C:\Windows |
" | 可能显示的消息的示例为:bootcfg /redirect
命令在配置中已指定了端口和波特率的启动加载程序中启用重定向。此命令用于启用无显示终端管理
(Headless Administration) 功能。 此命令的示例如下: bootcfg /redirect com1 115200 bootcfg /redirect useBiosSettings |
" | 可能显示的消息的示例为:bootcfg /disableredirect 命令在配置中已指定了端口和波特率的启动加载程序中禁用重定向。此命令用于禁用无显示终端管理 (Headless Administration) 功能。 |
1. | 在"控制面板"中,双击系统。 |
2. | 在高级选项卡上,单击"启动和故障恢复",然后单击设置。 |
3. | 在系统启动下,单击编辑。 |
4. | 您必须保存更改然后单击确定退出"启动和故障恢复"窗口之后,才能看到对 Boot.ini 文件的更改。 |
5. | 单击开始,再单击运行,然后键入:msconfig 以启动系统配置工具。 |
6. | 单击 Boot.ini 选项卡。 |
前一篇:湖南卫视值得表扬的一点