domenica, dicembre 02, 2007

HOW TO REPAIR DUAL BOOT AFTER INSTALLING WINDOWS XP ON WINDOWS VISTA

REPAIR DUAL BOOT AFTER INSTALLING WINDOWS XP ON WINDOWS VISTA

1. Use Bootsect.exe to restore the Windows Vista MBR and the boot code that transfers control to the Windows Boot Manager program. To do this, type the following command at a command prompt: Drive:\boot\ Bootsect.exe –NT60 All
In this command, Drive is the drive where the Windows Vista installation media is located.

2. Use Bcdedit.exe to manually create an entry in the BCD Boot.ini file for the earlier version of the Windows operating system. To do this, type the following commands at a command prompt.

Note In these commands, Drive is the drive where Windows Vista is installed. • Drive:\Windows\system32\Bcdedit –create {ntldr} –d “Description for earlier Windows version”

Note In this command, Description for earlier Windows version can be any text that you want. For example, Description for earlier Windows version can be "Windows XP” or “Windows Server 2003."
Drive:\Windows\system32\Bcdedit –set {ntldr} device partition=x:

Note In this command, x: is the drive letter for the active partition.
Drive:\Windows\system32\Bcdedit –set {ntldr} path \ntldr