Pi’s Blog

My blog about Thunderbird and GSoC 2008

\Windows\System32\winload.exe missing or corrupt

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.

Advertisements

July 28, 2008 - Posted by | Uncategorized | ,

4 Comments »

  1. 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:

    Comment by Luiz Pena | November 24, 2008 | Reply

    • This saved my behind again, but this time I had to use diskpart to bring the boot partition online since it showed as foreing. I used the “import” command so that I could see the C:\ then be able to execute the bcdedit commands.

      Thanks again and happy Friday!!
      Alberto

      Comment by beto | August 7, 2009 | Reply

  2. Great post Dude, I had this issue on win2k8 Ent and your fix solved the issue.

    Thanks,
    alberto

    Comment by Alberto | April 8, 2009 | Reply

  3. Thanks allot guys! This really helped me solve my problem on a w2k8 server! (I had used Acronis Disk Director Suite to move the c: disk to a bigger disk)

    I had to run the commands provided by Luiz Pena. After that everything worked smooth!

    Thanks, Per Kristian

    Comment by Per Kristian | April 9, 2009 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: