Jump to content

Lost my MBR, how to fix Windows install?


carpeliam
 Share

Recommended Posts

I had a perfectly fine Windows XP64 system. Then I installed Linux, lost my Windows boot config, and now I can't boot into Windows. (I've tried to fix this in Linux/Grub, but for every partition I try to boot into, I get "Error 12: invalid device requested".)

I'm able to run the Windows Recovery Console, and when doing so, I'm able to successfully log in to Windows- the console even authorizes my password, so I know something is working. However, neither "fixmbr" nor "fixboot" work for me.

I also tried installing XP over my existing installation, but I'm getting the message "this disk does not contain a Windows-compatible partition"- a little bit of googling reveals that this can happen if there's an issue with the boot sector. (Pretty poor choice of error message if you ask me.)

I really don't want to have to reformat and reinstall, and the fact that the recovery console authorizes my password gives me hope. Does anybody have any advice for fixing Windows?

Link to comment
Share on other sites

I also tried installing XP over my existing installation, but I'm getting the message "this disk does not contain a Windows-compatible partition"-

Apologies I thought you had tried to repair it from the console rather than an XP repair.

This is what I was referring to.

http://www.windowsforum.org/forums/index.php?showtopic=10455

Link to comment
Share on other sites

I also tried installing XP over my existing installation, but I'm getting the message "this disk does not contain a Windows-compatible partition"-

Apologies I thought you had tried to repair it from the console rather than an XP repair.

This is what I was referring to.

http://www.windowsforum.org/forums/index.php?showtopic=10455

yep, I tried both. :/ and the link there provided the results you quoted.

Link to comment
Share on other sites

Judging by the install error and the Grub error, you probably installed Linux over Windows.

If all your disc is formated as ext3 then the Windows install Cd wouldn't recognise it.

Boot into Linux, run gparted (or install it if you don't have it)and check to see if your NTFS (or FAT32) partition still exist ,

if not - create a FAT32 partition and install Windows

if your Windows partition still exist , then post the output of

fdisk -l
from the terminal

(you might need to run - sudo fdisk -l in some distros, it's L, not 1)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy