Corrupt bootloader won't load windows in duel-boot

Asked by David Glanzman

Hello,
Recently I went to re-install windows on my 10.04 Ubuntu / Windows Vista system. I forgot that reinstalling windows would override grub, so for a while only the new windows install would boot. I installed a copy of easyBCD on windows to try and boot the Ubuntu OS as well. It semi-worked (some of my preferences were lost, i had trouble auto-mounting and I can't remember what else), but at any rate, I made it into Ubuntu which was good.

I was able to return grub2 as the primary bootloader, all of my grub settings remained unchanged. I got my Ubuntu settings back to normal as well, and Ubuntu booted fine with no errors.

When I tried to boot windows from grub2, it tells me it can't find windows (update-grub gives "cannot access /media/sda1/boot Boot: no such file or directory" even though there clearly IS this directory. Windows partition is mounted at /media/sda1 right now)

I've tried creating a custom entry for grub, with no avail. I know I haven't included a lot of technical information which would probably be useful. Is there any way to clean out easybcd and let the windows bootloader do its thing without booting windows first?

EDIT: I ran update-grub once again. It gives me the same error but now there is no windows entry in grub.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
David Glanzman
Solved:
Last query:
Last reply:
Revision history for this message
delance (olivier-delance) said :
#1

Try first to reinstall Grub2 from CD, which solves most such issues:
    https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD
If it fails please run following procedure:

There is a standard script provided to analyse boot configuration.

Could you download script at:

   http://sourceforge.net/projects/bootinfoscript/

Then in a terminal (Ctrl+Alt+T) run command:

    sudo bash ./boot_info_script055.sh

This will produce a file named: RESULTS.txt

Paste content of this file in http://paste.ubuntu.com/ and provide in this thread the link to Web page.

Please don't post file directly in thread, else it will make thread difficult to read.

Revision history for this message
David Glanzman (davidglanzman) said :
#2

The re-install did not work (the not-working windows entry disappeared from grub though. I don't know if it means much.)

here is the script output:
http://paste.ubuntu.com/579027/

Thank you for your time

Revision history for this message
David Glanzman (davidglanzman) said :
#3

I fixed the windows partition with my windows CD, and reinstalled grub2 back into the MBR. Now it works!