1、可以设置从软驱启动或者是从U盘启动,然后在DOS环境下向系统分区的根目录中新建一个BOOT.INI文件,这一个文件你可以到具有相同操作系统的其他电脑上复制,也可以自己用记事本编辑一个,要注意编辑时保存的文件名。 复制时基本上操作系统一样就可以了,其他的启动项什么的,可以在电脑正常引导后重新设置。 例如:(下面写的是Windows xp Professional的BOOT.INI文件,举个例子而已,对你不一定适用,具体的参数设置可以到往常查一下) [boot loader] timeout=30 dafault=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(1)disk(1)rdisk(0)partition(1)\WINDOWS="Microsoft Windows xp Professional" /fastdetect C:\"Microsoft Windows"
2、如果没有软驱,主板也不支持U盘引导,也可以用系统盘引导修复。用光盘引导时注意,不要格式化硬盘,如果不是同一版本的说,选“保持现在文件无变化”等它复制完文件后重启,在启动项中选择原来的系统,正常进入后,可进入C盘把刚才复制的文件删除,注意:C盘中凡带$……$都是刚才复制的临时文件.删除后,就可以如方法1那样修复,也可以打开系统属性,选择高级选项卡,选择启动和故障恢复中的设置如(图一)
(图一)
出现如图二的对话框
(图二)
在默认操作系统的下拉框中选择你的当前系统,然后把显示操作系统列表的时间前的对勾去掉就可了。
3、如果再没有光盘的话那就只好用别人的电脑了,先把硬盘拆下来,作为从盘也就是非系统引导盘安装到其他可以正常引导的电脑上,然后用那台可以正常使用的电脑来访问你的系统分区,重建BOOT.INI文件。
概要
本文讨论 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) 功能。 | 本文出自 51CTO.COM技术博客 |