Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Windows Won't Boot after resizing partition

I am having problems with Windows not rebooting after I resized partition to reduce Mac side and increase Windows side. I do not see the BootCamp partition labelled as such while running disk utility. Upon startup, the Windows partition shows up when I boot up while pressing the ALT key. However, when I try to run Windows, it says " error loading operatig system".


I also followed instruction and went through to run gdisk successfully. Results towards the end.


What can be done? Windows still does not boot and It shows ? Suspicious MBR at sector 0.


Below is information based on typical questions asked here.....



diskutil list

/dev/disk0 #: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *120.0 GB disk0

1: EFI 209.7 MB disk0s1

2: Apple_HFS Macintosh HD 78.5 GB disk0s2

3: Apple_Boot Recovery HD 650.0 MB disk0s3

4: Microsoft Basic Data 31.7 GB disk0s4




sudo gpt -r -vv show disk0

gpt show: disk0: mediasize=120034123776; sectorsize=512; blocks=234441648

gpt show: disk0: Suspicious MBR at sector 0

gpt show: disk0: Pri GPT at sector 1

gpt show: disk0: Sec GPT at sector 234441647

start size index contents

0 1 MBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

409640 153240016 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

153649656 1269544 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

154919200 17628896

172548096 61892608 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

234440704 911

234441615 32 Sec GPT table

234441647 1 Sec GPT header



sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 14593/255/63 [234441648 sectors]Signature: 0xAA55

Starting Ending

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

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

1: EE 0 0 2 - 1023 254 63 [ 1 - 172548095] <Unknown ID>

*2: 07 1023 254 63 - 1023 254 63 [ 172548096 - 61892608] HPFS/QNX/AUX

3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused





sudo gdisk /dev/disk0

GPT fdisk (gdisk) version 0.8.7


Warning: Devices opened with shared lock will not have their

partition table automatically reloaded!

Partition table scan:

MBR: hybrid

BSD: not present

APM: not present

GPT: present


Found valid GPT with hybrid MBR; using GPT.


Command (? for help): r


Recovery/transformation command (? for help): h


WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,

just hit the Enter key at the below prompt and your MBR partition table will

be untouched.


Type from one to three GPT partition numbers, separated by spaces, to be

added to the hybrid MBR, in sequence: 4

Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): y


Creating entry for GPT partition #4 (MBR partition #2)

Enter an MBR hex code (default 07):

Set the bootable flag? (Y/N): y


Unused partition space(s) found. Use one to protect more partitions? (Y/N): n


Recovery/transformation command (? for help): o


Disk size is 234441648 sectors (111.8 GiB)

MBR disk identifier: "DELETED INFO"

MBR partitions:

Number Boot Start Sector End Sector Status Code

1 1 172548095 primary 0xEE

2 * 172548096 234440703 primary 0x07

Recovery/transformation command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING

PARTITIONS!!

Do you want to proceed? (Y/N): y

OK; writing new GUID partition table (GPT) to /dev/disk2.

Warning: Devices opened with shared lock will not have their

partition table automatically reloaded!

Warning: The kernel may continue to use old or deleted partitions.

You should reboot or remove the drive.

The operation has completed successfully.

Mac mini, Mac OS X (10.7.5), Running Windows XP via Bootcamp

Posted on Aug 26, 2013 3:52 PM

Reply
18 replies

Aug 27, 2013 9:42 AM in response to JiBee

Honestly, you're approximately 1000% better off blowing away the Bootcamp volume on disk, and going with Windows XP in a virtual machine. You can do the restore from within a VM with a new totally blank virtual disk, and your backsup software can partition it however it wants, and do whatever restore is needed without risking the function of OS X one bit. The only tricky part is how to get rid of the Bootcamp volume and have its space absorbed by OS X – you probably need to use gdisk again to create a new hybrid MBR Apple style, which is by adding partitions 2 3 4 to the MBR, not just 4. Reboot. Then see if Bootcamp Assistant has an option to remove Windows.


I don't have the time or desire to read all about how EaseUS Partition Master works. But I can pretty much guarantee you if it makes any changes to partitions during restore, it'll totally hose your Mac. And that's because it'll only modify the MBR, it won't correctly update the GPT also. So you'll have unsynced partition maps. Basically you'd need to read the documentation for the product and absolutely ensure there's a way to point and click the restore to a fixed partition and I'm not sure that's possible. It's very possible that it works something like Winclone, where you point it at a partition of any size, it writes out the backup to disk and then resizes the partition and file system to your new requirements.

Windows Won't Boot after resizing partition

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.