Help and Support
 

powered byLive Search

Bootcfg 命令及其用法讨论

文章编号:291980
最后修改:2002年4月2日
修订:1.0
本文的发布号曾为 CHS291980

概要

本文讨论 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 命令及其用法:
?bootcfg /default 命令在启动菜单中设置默认操作系统选项(此命令自动选择操作系统项)。
?bootcfg /add 命令在计算机上扫描 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

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 命令同时使该安装成为默认操作系统启动项。
?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) 功能。
也可以在 Windows XP 图形用户界面 (GUI) 中修改 Boot.ini 文件:
1.在"控制面板"中,双击系统
2.高级选项卡上,单击"启动和故障恢复",然后单击设置
3.系统启动下,单击编辑
4.您必须保存更改然后单击确定退出"启动和故障恢复"窗口之后,才能看到对 Boot.ini 文件的更改。
5.单击开始,再单击运行,然后键入:msconfig 以启动系统配置工具。
6.单击 Boot.ini 选项卡。

这篇文章中的信息适用于:
?Microsoft Windows XP Home Edition
?Microsoft Windows XP Professional Edition

回到顶端

关键字:?
kbinfo kbtool KB291980
Microsoft和/或其各供应商对于为任何目的而在本服务器上发布的文件及有关图形所含信息的适用性,不作任何声明。 所有该等文件及有关图形均"依样"提供,而不带任何性质的保证。Microsoft和/或其各供应商特此声明,对所有与该等信息有关的保证和条件不负任何责任,该等保证和条件包括关于适销性、符合特定用途、所有权和非侵权的所有默示保证和条件。在任何情况下,在由于使用或运行本服务器上的信息所引起的或与该等使用或运行有关的诉讼中,Microsoft和/或其各供应商就因丧失使用、数据或利润所导致的任何特别的、间接的、衍生性的损害或任何因使用而丧失所导致的之损害、数据或利润不负任何责任。

文章翻译

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.