oly va ha

Q: Resized partition and now Windows wont boot

I have Mountain Lion on a late 2011 Macbook Pro with Windows 7 installed through boot camp. Everything was running fine then I ran out of space and to get some more GB's I shrunk OSX in disk utility then went into Windows and downloaded a program (AOMEI Partition Assistant) to move the windows partition on the other side of the free space so it could be exteneded into the windows partition. Once everything was done and needed a restart I got met with the following error: 0xc0000225 "The boot selection failed because a required device is inaccessible".

 

So far I've tried using winclone to take a clone of the partition and using bootcamp to swallow the partition then restoring the image with winclone again. that didnt work.

 

Then i used the whole bootrec suite (/fixmbr, /rebuildbcd, etc etc)

 

Marked partition as active. Everything reports back with success

 

Still nothing.

 

Then i installed rEFit and it said everything was synced up.

 

Still nothing.

 

I did boot into recovery hd and with terminal used diskutil list and found that theres 14 disks. disk0 is my ssd with osx and windows, disk1 is the windows dvd, disk2-13 are all 1mb or less....I was reading somewhere that OSX can only read 4 disks?

 

Any help would be awesome, I am almost coming to terms with having to wipe everything and restart but I would rather not lose the programs and setup i currently have. Tell me what i need to enter into terminal to report back im pretty well versed in computers just not coding so you can have me do just about anything.

 

Thank you so much!

MacBook Pro, OS X Mountain Lion (10.8.2), 2.2Ghz Core i7 8GB RAM. 120GB SSD.

Posted on Feb 10, 2013 9:51 PM

Close

Q: Resized partition and now Windows wont boot

  • All replies
  • Helpful answers

Page 1 of 3 last Next
  • by Christopher Murphy,

    Christopher Murphy Christopher Murphy Feb 11, 2013 12:18 PM in response to oly va ha
    Level 3 (555 points)
    Feb 11, 2013 12:18 PM in response to oly va ha

    You can never use Windows only resize tools on a Boot Camp disk. It damages them. You can only use tools that explicitly support Boot Camp, because the tool must simultaneously manage JHFS+, NTFS files systems for resizing; and also the two partition schemes used, MBR and GPT. It's a totally non-standard arrangement and I know of only a few utilities that can do this. Apple Disk Utility is not one of them, it will damage things also.

     

    A conventional Windows partition/resize utility will only change the MBR, and it will damage or corrupt the GPT. This results in a level of damage that really can't be fixed easily, and maybe can't be fixed at all. The best, simplest, fastest option for you is to start from scratch: repartition the drive with Disk Utility, changing the partition scheme from Current to 1 Partition; restore OS X from backup, use Boot Camp Assistant to resize the disk, resinstall/restore Windows.

  • by Csound1,

    Csound1 Csound1 Feb 11, 2013 12:27 PM in response to Christopher Murphy
    Level 9 (51,447 points)
    Desktops
    Feb 11, 2013 12:27 PM in response to Christopher Murphy

    Not to disagree here Chris but add Paragon's Camp Tune to the list, it works quickly and easily, it saves you the effort and the time a reinstallation takes but it just costs money unlike DU.

  • by oly va ha,

    oly va ha oly va ha Feb 11, 2013 12:28 PM in response to Christopher Murphy
    Level 1 (36 points)
    Feb 11, 2013 12:28 PM in response to Christopher Murphy

    is there any way to backup the windows install so i can redo the partition scheme and then just restore the windows image so my data/programs are still intact?

     

    when i did it with winclone it looks like winclone backed up the partition mapping as well, so it didnt fix the problem at all...unless i did something wrong.

     

    what i did:

    I backed up the windows image with winclone.

    then used boot camp to remove the windows 7 partition

    then used boot camp to reinstall the windows partition once it made the boot camp partition i used winclone to restore the windows image.

    then i restarted the computer and experienced the same error 0xc000025.

  • by oly va ha,

    oly va ha oly va ha Feb 11, 2013 12:30 PM in response to Csound1
    Level 1 (36 points)
    Feb 11, 2013 12:30 PM in response to Csound1

    will camptune repair the damage that i have done?

  • by Csound1,

    Csound1 Csound1 Feb 11, 2013 12:33 PM in response to oly va ha
    Level 9 (51,447 points)
    Desktops
    Feb 11, 2013 12:33 PM in response to oly va ha

    oly va ha wrote:

     

    will camptune repair the damage that i have done?

    Don't know, never tried that. But as you used DU incorrectly probably not. And I am not the expert in this thread, defer to Chris.

  • by Allan Eckert,

    Allan Eckert Allan Eckert Feb 11, 2013 12:37 PM in response to oly va ha
    Level 9 (54,112 points)
    Desktops
    Feb 11, 2013 12:37 PM in response to oly va ha

    Sounds like you are going to have to repartition the disk to single partition and start all over again from scratch.

     

    Allan

  • by Christopher Murphy,

    Christopher Murphy Christopher Murphy Feb 11, 2013 12:43 PM in response to Csound1
    Level 3 (555 points)
    Feb 11, 2013 12:43 PM in response to Csound1

    As far as I know, in a single GUI application there are only three that explicitly support resizing Boot Camped disks: Camp Tune, iPartition, Winclone. But I haven't used any of them, and don't know to what degree they can repair problems like this. The issue is that, upon changing the MBR separate from the GPT, it's totally ambiguous to these tools which is correct. And if it makes the wrong assumption, the problem will get worse. If it has some logic that it can use to work out the problem, including scanning for other structures, then it might be possible to sort out the mess. But I don't know any tool that does this automatically.

     

    Again, your best bet is to start from scratch. If you have no backups, you can check out Test Disk and see if it can find/recover anything. But it's a very dense set of tools, it's not an automatic, push button sort of thing either. And it is possible to make the problem worse.

     

    So if this is critical data, you need to cut your losses and send it off for professional data recovery. But if that were the case, I'd think you have backups.

  • by oly va ha,

    oly va ha oly va ha Feb 11, 2013 12:48 PM in response to Csound1
    Level 1 (36 points)
    Feb 11, 2013 12:48 PM in response to Csound1

    what about disk utility did i use incorrectly?

     

    i guess now all i need is answered: is the backup i made with winclone (after all the damage ensued) ok to keep and then repartition everything again like chris said to and the restore the image? or does the image have to corrupt partition tables and such?

  • by Christopher Murphy,

    Christopher Murphy Christopher Murphy Feb 11, 2013 12:49 PM in response to oly va ha
    Level 3 (555 points)
    Feb 11, 2013 12:49 PM in response to oly va ha

    You can boot OS X but not Windows?

    What version of Winclone?

     

    What are the results from the following read only commands? Please change the forum font for this text to andale mono 9pt so the result is readable, this is in the forums advanced editor.

     

    sudo gpt -r show -vv disk0

    sudo fdisk /dev/disk0

  • by Christopher Murphy,

    Christopher Murphy Christopher Murphy Feb 11, 2013 1:00 PM in response to oly va ha
    Level 3 (555 points)
    Feb 11, 2013 1:00 PM in response to oly va ha

    Well, I wouldn't say you used it incorrectly so much as you used it at all. Disk Utility should not let users modify Boot Camp'd disks at all, short of obliterating all data on them (with a very clear warning that it's about to do so).

     

    The Boot Camp guide vaguely says you should use Boot Camp Assistant to make changes to the disk; I don't think it flat out says using Disk Utility is proscribed. I know the guide doesn't explicitly proscribe using Windows only resize utilities, but I think it should have a warning; not that most people read that guide anyway... but those who do may be saved from misery.

     

    As for your other questions, I can't answer them, I'd only be guessing. Three utilities have made changes to different aspects of the partition schemes being used. So it's ambiguous which one is correct. As soon as a utility changes the state, the previous state is lost, and that's the downward spiral that usually leads to irreparable data loss.

  • by oly va ha,

    oly va ha oly va ha Feb 11, 2013 1:08 PM in response to Christopher Murphy
    Level 1 (36 points)
    Feb 11, 2013 1:08 PM in response to Christopher Murphy

    yes i can boot OSX perfectly fine, windows all i get is the 0xc0000225 error

     

    sudo gpt -r show -vv disk0

    gpt: illegal option -- v

    usage: gpt show [-l] device ...

     

    sudo fdisk /dev/disk0

    Disk: /dev/disk0          geometry: 14751/255/63 [236978176 sectors]

    Signature: 0xAA55

             Starting       Ending

    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]

    ------------------------------------------------------------------------

    1: EE 1023 254  63 - 1023 254  63 [         1 -     409639] <Unknown ID>

    2: AF 1023 254  63 - 1023 254  63 [    409640 -  156250000] HFS+       

    3: AB 1023 254  63 - 1023 254  63 [ 156659640 -    1269536] Darwin Boot

    *4: 07 1023 254  63 - 1023 254  63 [ 157929472 -   79046656] HPFS/QNX/AUX

     


     

     

    i never used DU to modify the bootcamp partition, i used a windows application to extend the free space that i got from shrinking the OSX partition with DU. that software moved the windows partition to the left, putting the free space on the right of the windows partition and then extended the windows partition

  • by Csound1,

    Csound1 Csound1 Feb 11, 2013 1:08 PM in response to oly va ha
    Level 9 (51,447 points)
    Desktops
    Feb 11, 2013 1:08 PM in response to oly va ha

    oly va ha wrote:

     

    what about disk utility did i use incorrectly?

     

    Here

    I ran out of space and to get some more GB's I shrunk OSX in disk utility

  • by oly va ha,

    oly va ha oly va ha Feb 11, 2013 1:14 PM in response to Csound1
    Level 1 (36 points)
    Feb 11, 2013 1:14 PM in response to Csound1

    whats wrong with shrnking the osx partition?

  • by Csound1,

    Csound1 Csound1 Feb 11, 2013 1:14 PM in response to Christopher Murphy
    Level 9 (51,447 points)
    Desktops
    Feb 11, 2013 1:14 PM in response to Christopher Murphy

    Christopher Murphy wrote:

     

    As far as I know, in a single GUI application there are only three that explicitly support resizing Boot Camped disks: Camp Tune, iPartition, Winclone.

    I have used all 3, iPartition does not leave you with a bootable partition very often, I have not used the current version of Winclone but previous versions were a disaster (I am told that the latest version is 'better') and Camp Tune works (for me) everytime, but unlike the other 2 it is a One Trick Pony (and sometimes that is a good thing)

Page 1 of 3 last Next