Clever change Boot.ini repair XP+Vista startup failure

  

Also: I installed XP+Vista dual system on my computer. After successfully installing the dual system, I have used Ghost to make a backup. However, after using Ghost to restore the system recently, although the boot menu appears, no one can choose to enter any system. I would like to ask Master Dong, what is the best way to repair the dual system startup failure?

Dong Shifu: Because Vista uses the boot manager (Bootmgr) startup mode, this makes users who install dual systems often encounter startup failures. The fault that both systems fail to start is the most serious. Therefore, today, Master Dong introduced how to deal with this “most serious” quo. For the convenience of description, the dual system here refers to the C disk installed XP, the D disk installed Vista.

Before troubleshooting, let's take a look at the working mode of the boot manager. In the XP+Vista dual system, Vista uses bootmgr to take over the system boot mode. After the computer self-test is complete, start looking for the active primary partition (generally C:) and load it. Then continue to read the boot configuration file (ie C:\\BOOT\\BCD) and c:\\boot.ini under the active partition, and list the boot menu according to the boot information stored by BCD and Boot.ini (that is, the dual system boot menu) ). For dual system users, it is usually listed "Microsoft Windows Vista" and "old versions of Windows". If you choose the former, Bootmgr will give control to Winload.exe in the Vista system directory and start to start Vista. Select the latter, Bootmgr will give control to NTLDR, then start reading c:\\boot.ini and list the boot menu configured in it.


The startup failure mainly occurs in Bootmgr (if the file is lost), BCD (boot information configuration error), Winload.exe (the file is lost and Vista cannot be started), Ntldr (this File loss caused XP to fail to start on these files. In the fault of this example, since the above files have been backed up, the cause of the dual system startup failure after recovery should be the BCD startup information error. Copy the C:\\BOOT\\BCD of the faulty computer to d:\\ on the normal computer, run “bcdedit.exe d:\\bcd” (bcdedit.exe can be installed from the c:\\windows"> windows on the Vista computer \\system32 extraction) You can see that Device is displayed as unknown (Figure 1). The failure is caused by Bootmgr not finding the boot partition, so the fix is ​​to rebuild the normal boot configuration file.




Now the two systems can not enter, how to rebuild the BCD startup information? The general approach is Vista installation disc by means of automatic repair. What if I don't have a CD? You can enter XP by modifying the Boot.ini file <; Curves> and then rebuild BCD using EasyBCD in XP. Because the root directory startup information in c:\\boot.ini is also read when Bootmgr is loaded. For example, a user who installs a one-click Ghost, a one-click Ghost boot menu in Boot.ini will also appear in multiple boot. At this time, we have to enter DOS to modify the Boot.ini file, add the NTLDR startup item to bypass the BCD and enter XP.

Automatic Repair Method for Vista Installation CD

After booting the computer using the Vista installation CD, click “Repair Computer” in the lower left corner when the installation interface appears. The system will automatically detect that the machine has a boot failure. We just click ““fix and restart” as prompted, and the system will automatically fix the fault (Figure 2). After rebooting, select ““Microsoft Windows Vista (Fixed)> in the multi-boot menu to enter Vista. After entering Vista, you can also use EasyBCD to delete the invalid XP menu and re-add XP to start.




Step one: Prepare a Windows 98 boot CD into the CD-ROM BIOS is set to boot first, followed by entering the following command into the DOS Edit Boot.ini:

attrib -s -h -rc:\\boot.ini (cancel the system, hidden, read-only properties of the file)

edit c:\\boot.ini< Br>

After opening Boot.ini in the Edit text editor, add c:\ tldr=“XP” at the end of the file and save.

Tip: If your C drive is an NTFS partition, you need to load NTFSDOS to access and write data. Or use the deep mountain red leaf PE disc guiding system to modify.

Step 2: Restart the computer. In the boot manager multi-boot menu, the “XP” menu will appear. Select it and start XP. Load multiple boot menus in boot.ini and select “Windows XP”. Professional” (that is, the original XP, you can not choose the XP menu added above, otherwise it will restart).

Step 3: After entering XP, download EasyBCD. After starting the program, EasyBCD first asks us to select the boot partition, here select C:, then open the main program window.

Note: The operation of EasyBCD under XP requires Microsoft .NET Framework 2.0 support, which can be downloaded and installed.

Step 4: Switch to the left side of "ADD/Remove Entries", select the original invalid boot menu in the right pane, click Delete to delete, and then add the startup item under Add An Entry. Add XP to start in Version select "Windows NT/200/XP", Drive select C:\\, and Name to Windows XP (Figure 3). Same as above, add Vista startup items (Version selects Windows Vista/longhom, Drive selects D:\\, Name is set to Windows Vista), and when finished, click ADD Entry to save the configuration.




Step five: Restart the computer, you can now choose multi-boot menu in XP or Vista into the system, into the system in the Boot The c:\ tldr=“XP” statement added by .ini is deleted.

Attachment: Other common startup troubleshooting methods at a glance:

1.Bootmgr is missing and cannot be started

Solution: Copy bootmgr to C:\\ on the computer where Vista is installed. If Ntldr is lost, copy the file to C:\\ on the XP computer.

2. A startup failure occurs, but you can enter a system (XP or Vista).

Solution: Select the system that can be started, then use EasyBCD to add the startup item of the faulty system

3. After installing Vista, the dual system will not be backed up in time, and the startup menu will be lost the next time XP is restored. , can only enter XP.

Solution: Use the above-mentioned "Vista installation CD to automatically repair the method" & rdquo; add Vista to start

4. Use the bootsect command to change the boot partition after the boot menu does not appear, can only enter XP.

Solution: Copy /boot/bootsect.exe from the Vista installation CD to c:\\windows\\system32 (/indicates the root directory of the CD). Start the command prompt and type “bootsect -nt60 c:”

Copyright © Windows knowledge All Rights Reserved