I installed XP (in primary partition)in c drive first and after i installed Windows 7 in other drive now when i Reinstall Windows xp my Bood Maneger (Menu) has gone and only XP is opening I m unable to load my Windows 7 so i want to know how to fix this problem
Thanks Daz bro hey one more thing can i copy boot file before reinstall xp and replace after install xp is this work?
I found this commands to fix MBR and bootsectors in Windows 7: Replace x: in the commands below with the letter to your CD drive as detected by the Windows Recovery environment. Method 1: Code: bootrec.exe /fixmbr x:\boot\bootsect.exe /nt60 all /force Then ask it (nicely!) to try and rebuild your BCD data from scratch: Code: del C:\boot\bcd bootrec.exe /rebuildbcd If you're lucky, this'll work and you'll see a message telling you everything went OK. Reboot your PC by typing in this command or by closing all the dialogs: Code: shutdown -r -t 0 Method 2: Code: bootrec.exe /fixmbr x:\boot\bootsect.exe /nt60 all /force Now we get rid of the old BCD registry, and create a new one instead. Note: We're assuming that the boot drive is drive C: below. If your computer is configured differently, be sure to use the appropriate drive letter here instead. Code: del C:\boot\bcd bcdedit /createstore c:\boot\bcd.temp bcdedit.exe /store c:\boot\bcd.temp /create {bootmgr} /d "Windows Boot Manager" bcdedit.exe /import c:\boot\bcd.temp bcdedit.exe /set {bootmgr} device partition=C: bcdedit.exe /timeout 10 del c:\boot\bcd.temp Now we have a clean, working Win 7 bootloader. But we need to add a Win 7 entry to it: Code: bcdedit.exe /create /d "Windows 7" /application osloader bcdedit.exe should return a message with a GUID for the newly-created entry, something like this: Code: The entry {c0dfc4fa-cb21-11dc-81bf-005056c00008} was successfully created You'll need to use the value that bcdedit.exe returned for you below, along with the drive letter for the drive that Windows 7 is installed to: Code: bcdedit.exe /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} device partition=C: bcdedit.exe /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} osdevice partition=C: bcdedit.exe /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} path \Windows\system32\winload.exe bcdedit.exe /set {c0dfc4fa-cb21-11dc-81bf-005056c00008} systemroot \Windows And, last of all, tell the Win 7 bootloader to boot the new entry by default: Code: bcdedit.exe /displayorder {c0dfc4fa-cb21-11dc-81bf-005056c00008} bcdedit.exe /default {c0dfc4fa-cb21-11dc-81bf-005056c00008} At this point, you have a clean, untouched, and (hopefully) fully-working bootloader.