After installing FreeBSD and its bootloader on my notebook I found myself unable to boot Vista:

\Windows\System32\winload.exe

The selected entry could not be loaded because the application is missing or corrupt

So, I booted from the CD and chose the repair option, but it didn’t find any installation (no, I didn’t need to load any drivers).  The startup repair found an error but couldn’t fix it.  So, I went to the command prompt and tried to mess around with bcdedit, but I got the following error:

The boot configuration data store could not be opened.  The system cannot find the specified file.

So, I created a new data store: bcdedit /CREATESTORE C:\BCD

I then rebooted and tried the repair option again.  This time, it found an install on an unknown location and the startup repair actually worked.  Upon reboot the FreeBSD bootloader still came up, but it was able to boot Vista this time after running CHKDSK.  Now I can try out my patch for 448165 in Windows.


1 Comment

Luiz Pena · November 24, 2008 at 8:50 AM

Execute next commands in repair mode (Vista / Win2k8):

c:\windows\system32\bcdedit /set {default} device partition=c:
c:\windows\system32\bcdedit /set {default} osdevice partition=c:
c:\windows\system32\bcdedit /set {bootmgr} device partition=c:

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.