PDA

View Full Version : [SOLVED] Moved partitions now Windows can't boot.



u-slayer
June 17th, 2011, 04:15 AM
I moved my partitions around to make room for ubuntu. Now when I boot, grub will still open the windows loader, but when I try to select Windows 7 it will say:


The boot selection failed because a required device is inaccessible.

Per this guide, http://www.howtogeek.com/howto/windows-vista/using-gparted-to-resize-your-windows-vista-partition/

I tried running the windows 7 dvd and selecting system restore. However, in the select an operating system menu it's blank. It can't find my Windows partition, so I can't restore it. What should I do?

mister_playboy
June 17th, 2011, 04:24 AM
Can you successfully mount and access the Windows partition from within Ubuntu?

u-slayer
June 17th, 2011, 04:47 AM
Can you successfully mount and access the Windows partition from within Ubuntu?

Yes.

oldfred
June 17th, 2011, 04:51 AM
If you have moved the NTFS partition then you have to run fixBoot from windows repair CD. Windows partition boot sector must have exactly the same info as the partition table. But almost all partition tools will move a partition but not update the NTFS boot sector.

BootRec.exe /FixBoot
How to use the Bootrec.exe tool in the Windows Recovery Environment to troubleshoot and repair startup issues in Windows
http://support.microsoft.com/kb/927392

If the partitions number or UUID changed you probably also have to update the BCD.

mister_playboy
June 17th, 2011, 04:52 AM
EDIT: oldfred is here, nevermind. :)

oldfred
June 17th, 2011, 05:31 AM
@mister_playboy
oldfred is not always here.

And after posting the wrong info in another thread you need to watch what oldfred is up to, he must be getting old and forgetful.

u-slayer
June 18th, 2011, 12:23 AM
I got it working now. I had to set the windows partition to active. Then try the various fixes a couple times. Now it seems to work.