Repairing the Win7/Vista Bootloader

ai nevoie de recovery disk. il poti descarca de la adresa http://neosmart.net/blog/2008/windows-vista-recovery-disc-download/

Put your Windows Vista DVD in the drive and restart your PC. Assuming you’ve properly configured your BIOS to boot from CDs/DVDs before hard drives (or you can press F12 if your PC supports it to boot from the CD), you should get a prompt asking you to „Press any key to boot from the CD/DVD…”

Select „Repair your computer” to continue.

Proceed with the repair process by choosing „Startup Repair” from this list:

Windows Vista will attempt to repair its bootloader now. Assuming you haven’t totally busted up your boot files too bad, this step should conclude with a „Issues resolved” message and prompt you to reboot.

It doesn’t? Or maybe it claims its fixed the problem, but it hasn’t, not really? Read on.

The automated repair only fixes one thing at a time, and you might need several things fixed (MBR, bootmgr, boot folder). So boot the DVD again and repeat the whole process. If it’s still not working after repeating the automated repair several times, carry on with the following manual steps.

Step Three: Manually Repairing the Vista Bootloader

Replace x: in the commands below with the letter to your CD drive as detected by the Windows Recovery environment

bootrec.exe /fixmbr
x:\boot\bootsect.exe /nt60 all /force

Then ask it (nicely!) to try and rebuild your BCD data from scratch:
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:
shutdown -r -t 0

Don’t forget to remove your Windows Vista DVD or Recovery DVD from the drive!

Step Four: Nuclear Holocaust

Replace x: in the commands below with the letter to your CD drive as detected by the Windows Recovery environment

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.
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 Vista bootloader. But we need to add a Vista entry to it:
bcdedit.exe /create /d „Windows Vista” /application osloader

bcdedit.exe should return a message with a GUID for the newly-created entry, something like this:
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 Vista is installed to:
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 Vista bootloader to boot the new entry by default:
bcdedit.exe /displayorder {c0dfc4fa-cb21-11dc-81bf-005056c00008}
bcdedit.exe /default {c0dfc4fa-cb21-11dc-81bf-005056c00008}

Now the Vista bootloader has been nuked and rebuilt from scratch.