Can't Boot Mac OS X After Attempting to Shrink W8 Partition

patrickgmaris

macrumors newbie
Original poster
Nov 15, 2013
4
0
Well...

I royally messed up on this one. I needed some extra space on my Mac HD so I booted into W8 and shrank the volume. Then I tried booting into OS X and when holding option at start-up the only drive found is bootcamp. I went back into W8 and extended the volume to the previous size. I realize why this happened, but I'm not sure how to restore my changes. I should have used a proper application rather than try to do it manually.

Anyways, after scouring the internet for a solution for 3 hours, I only found solutions to other problem which is usually where the user cannot boot into BootCamp.

I ran the following commands after booting into Internet Recovery

Code:
fdisk /dev/disk0
Disk: /dev/disk0    geometry: 60821/255/63 [977105060 sectors]
Signature: 0xAA55
         Starting       Ending
#: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
1: EE 1023 254  63 - 1023 254  63 [         1 -  977105059] <Unknown ID>
2: 00    0   0   0 -    0   0   0 [         0 -          0] unused 
3: 00    0   0   0 -    0   0   0 [         0 -          0] unused 
4: 00    0   0   0 -    0   0   0 [         0 -          0] unused
Code:
gpt -r -vv show disk0
gpt show: disk0: mediasize=500277790720; sectorsize=512; blocks=977105060
gpt show: disk0: PMBR at sector 0
gpt show: disk0: Pri GPT at sector 1
gpt show: disk0: Sec GPT at sector 977105059
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT table
         34          6   
         40     409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
     409640  779296896      2  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
  779706536    1269536      3  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
  780976072         56   
  780976128  196126720      4  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
  977102848       2179   
  977105027         32         Sec GPT table
  977105059          1         Sec GPT header
EDIT:
When I try Repair Disk on the whole drive while booted into recover I get this error: "Partition map repair failed file system check while creating loader space for a data partition. You should repair that specific partition and then try repairing the partition map again."

Verify Disk alerts, "The partition map needs to be repaired because there's a problem with the EFI system partition's file system.

Attempting to Repair or Verify Disk on disk0s2,3,or 4 results in "Invalid BS_jmpBoot in boot block: 000000."
EDIT2:
After leaving internet recovery - I can't boot into either OS X or Windows 8.
ANY help will be greatly appreciated.

Worse comes to worst... I can wait till I get home and do a time machine backup after wiping the HD clean and start over. I have been traveling for a few weeks, made a backup before I left, and now i'm at home in Germany. Haven't done too much since then - just transferred over some photos and did some edits which I should be able to copy off from W8 before doing anything.
 
Last edited:

Altemose

macrumors G3
Mar 26, 2013
9,171
479
Elkton, Maryland
To my knowledge, you should only ever resize partitions on a Mac using Disk Utility under OS X. I am not sure however if it can resize a Windows partition. Resizing a partition within Windows likely destroyed the necessary boot information for OS X and likely will require a reinstall. Perhaps others can chime in before you try such a daunting task.
 

yjchua95

macrumors 604
Apr 23, 2011
6,725
231
GVA, KUL, MEL (current), ZQN
You can't resize a Boot Camp partition.

The only thing you can do is to use WinClone to make an image of your Boot Camp partition, remove Boot Camp and restore it to a single partition, and create a new larger partition using Boot Camp assistant. Then, use WinClone to restore the backup image back to the new larger partition.
 

patrickgmaris

macrumors newbie
Original poster
Nov 15, 2013
4
0
Thanks for answers Altemose and jychua95, the damage was already done.

Not much on the Boot Camp partition so I'm not worried about losing it.

I just want to be able to boot back in OS X. Any knowledge?

Will deleting the windows partition do anything substantial? I know the correct procedures for resizing boot camped partitions now.
 

yjchua95

macrumors 604
Apr 23, 2011
6,725
231
GVA, KUL, MEL (current), ZQN
Thanks for answers Altemose and jychua95, the damage was already done.

Not much on the Boot Camp partition so I'm not worried about losing it.

I just want to be able to boot back in OS X. Any knowledge?

Will deleting the windows partition do anything substantial? I know the correct procedures for resizing boot camped partitions now.
Boot into Recovery and reinstall OS X.
 

patrickgmaris

macrumors newbie
Original poster
Nov 15, 2013
4
0
Boot into Recovery and reinstall OS X.
Thats the easy way out. Like I said in my post. Going to get a some cable and adaptors so that I can put my mbp into TDM and see if I can do anything. Need a few files from the recent trip before I can wipe it clean.
 

Altemose

macrumors G3
Mar 26, 2013
9,171
479
Elkton, Maryland
Thats the easy way out. Like I said in my post. Going to get a some cable and adaptors so that I can put my mbp into TDM and see if I can do anything. Need a few files from the recent trip before I can wipe it clean.
Reinstalling OS X keeps data in place and simply replaces the system files. You should try and backup any files before attempting though...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.