什么是MBR?MBR代表主引导记录(Master Boot Record),它是硬盘驱动器的第一个扇区,它基本上告诉BIOS在哪里寻找计算机上的操作系统。
如果由于任何原因,MBR损坏或损坏,则操作系统将无法加载。您通常会看到如下错误消息:
Error loading operating system
Missing operating system
Invalid partition table
这些消息绝对不好玩,尤其是如果您不熟悉计算机。大多数人会自动假设他们的计算机已经死了!然而,事实并非如此。作为一名 IT 人员,这些错误实际上更适合于其他类型的Windows错误。为什么?
好吧,在 XP 和Vista中修复(Vista)主引导记录(Master Boot Record)实际上相当容易。您所要做(All)的就是加载故障恢复控制台(Recovery Console)并运行一个简单的命令。您的所有(All)数据、应用程序、设置等在驱动器上仍然完好无损,一旦MBR修复,计算机将正常加载。
修复 Windows XP 中的 MBR
那么如何修复损坏的MBR呢?以下是要遵循的步骤:
1.首先(First),用光驱中的Windows XP安装盘重新启动计算机。如果您没有原始磁盘,请借一张或从 torrent 站点下载ISO映像。(ISO)
2. 出现提示时,按任意键从 CD 驱动器启动。如果Windows自动加载,您首先必须进入BIOS设置并更改引导设备的顺序以从 CD 驱动器启动。
3. 安装程序加载后,您将看到按R修复 Windows 安装的选项。
4.恢复控制台(Recovery Console)加载后,您必须输入与您的Windows安装相对应的数字。这通常只是 1. 按Enter,然后输入管理员(Administrator)密码。
5. 现在在提示符处,输入fixmbr。您损坏的MBR现在将被新的主引导记录替换,您的计算机现在应该能够正常引导。请注意,您可能还需要运行fixboot命令以使用新引导扇区修复引导扇区。
此外,请确保仅在安装了一个操作系统的系统上使用这些命令。如果您安装了多个操作系统,fixmbr 和 fixboot 可能会搞砸一切。
修复 Vista 中的 MBR
在Vista中,修复主引导记录的过程有点不同。您必须在恢复环境(Recovery Environment)中启动Vista,然后运行bootrec命令。就是这样。
1.首先(First),将Windows Vista光盘加载到驱动器中,然后按任意键从光盘启动。
2. 选择语言、时间、货币等,点击下一步(Next)。现在点击修复您的计算机(Repair Your Computer)。
3. 选择要修复的操作系统,然后单击下一步(Next)。当系统恢复选项(System Recovery Options)对话框出现时,选择命令提示符( Command Prompt)。
4. 现在输入bootrec.exe并按Enter。这将重建引导配置数据并有望解决您的问题。您还可以运行带有开关的命令以仅修复主引导记录 ( /fixmbr )、引导扇区 (/fixboot) 或重建整个BCD ( /rebuildbcd )。
如果您在加载Windows(Windows)时仍然遇到问题,请发表评论,我会看看是否可以提供帮助!享受!
How to Fix MBR in Windows XP and Vista
What is the MBR? MBR stands for Master Boot Record and it’s the fіrst sector of your hard drive that basically tells the BIOS where to loоk for the operating system on your computer.
If, for any reason, the MBR becomes damaged or corrupt, then the operating system will be unable to load. You will normally see error messages like:
Error loading operating system
Missing operating system
Invalid partition table
These messages are definitely not fun, especially if you are not familiar with computers. Most people would automatically assume their computers are dead! However, that’s not true. Being in IT myself, these errors are actually preferably to other types of Windows errors. Why?
Well, it’s actually fairly easy to fix the Master Boot Record in XP and Vista. All you have to do is load up the Recovery Console and run a simple command. All of your data, applications, settings, etc are still intact on the drive and once the MBR is fixed, the computer will load normally.
Fix MBR in Windows XP
So how can you repair your damaged MBR? Here are the steps to follow:
1. First, restart your computer with the Windows XP setup disk in the CD drive. If you don’t have your original disk, borrow one or download an ISO image from a torrent site.
2. When prompted, boot from the CD drive by pressing any key. If Windows loads automatically, you will first have to enter the BIOS setup and change the order of the boot devices to start with the CD drive.
3. Once the setup loads, you will see the option to press R to repair a Windows installation.
4. Once the Recovery Console loads up, you will have to type in a number that corresponds to your Windows installation. This is normally just 1. Press Enter and then type in the Administrator password.
5. Now at the prompt, type in fixmbr. Your damaged MBR will now be replaced with a new master boot record and your computer should now be able to boot properly. Note that you may also want to run the fixboot command to repair the boot sector with a new one.
Also, make sure you only use these commands on a system with one operating system installed. If you have more than one operating system installed, fixmbr and fixboot could mess up everything.
Fix MBR in Vista
In Vista, the procedure to fix the master boot record is a bit different. You have to start up Vista in the Recovery Environment and then run the bootrec command. Here’s how.
1. First, load up the Windows Vista disc in your drive and press any key to boot from the disc.
2. Choose the language, time, currency, etc and click Next. Now click on Repair Your Computer.
3. Choose the operating system to repair and click Next. When the System Recovery Options dialog comes up, choose the Command Prompt.
4. Now type bootrec.exe and press Enter. This will rebuild the boot configuration data and hopefully fix your problem. You can also run the command with switches to fix just the master boot record (/fixmbr), the boot sector (/fixboot), or rebuild the entire BCD (/rebuildbcd).
If you are still having trouble with loading Windows, post a comment and I’ll see if I can help! Enjoy!