Become a MacRumors Supporter for $25/year with no ads, private forums, and more!
  • Did you order new AirTags? We've opened a dedicated AirTags forum.

ronyclau

macrumors newbie
Original poster
May 21, 2013
2
0
My Windows 7 installation failed to boot after I shrink it with GParted.

I have already sync the GPT and MBR.

Everytime I select the Windows partition to boot, a black screen with a blinking cursor appears. If I have a bootable disk inserted in the SuperDrive, my Mac just starts booting up the disk after few ten seconds.

I have attempted many times using Windows Repair Disk to fix the problem. The repair console found the Windows installation.

However, bootrec /fixboot, bootrec /fixmbr, bootrec /rebuildbcd these commands have been tried for numerous times but don't help.

chkdsk show no problem.

I have also tried Repair Disk with Disk Utility and it said the disk is normal.

I have tried rebuild the MBR with gdisk without success.

I was tri-booting (Mac, Win 7, Ubuntu) before the shrink and it worked. It just breaks after this recent shrink.

Does anyone have any idea to solve the problem? Thank you in advanced!!!

Below is the output of sudo gpt -r -vv show /dev/rdisk0
Code:
gpt show: /dev/rdisk0: mediasize=500107862016; sectorsize=512; blocks=976773168
gpt show: /dev/rdisk0: Suspicious MBR at sector 0
gpt show: /dev/rdisk0: Pri GPT at sector 1
gpt show: /dev/rdisk0: Sec GPT at sector 976773167
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 841437072 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
841846712 262144
842108856 1269544 3 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
843378400 288
843378688 85071857 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
928450545 15
928450560 48322560 5 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
976773120 15
976773135 32 Sec GPT table
976773167 1 Sec GPT header
Below is the output of sudo fdisk /dev/disk0
Code:
Disk: /dev/disk0 geometry: 60801/255/63 [976773168 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 0 0 2 - 25 127 14 [ 1 - 409639]
2: AF 25 127 15 - 1023 254 63 [ 409640 - 841437072] HFS+
3: AF 1023 254 63 - 1023 254 63 [ 842108856 - 1269544] HFS+
*4: 07 1023 254 63 - 1023 254 63 [ 843378688 - 85071857] HPFS/QNX/AUX
 

MJL

macrumors 6502a
Jun 25, 2011
845
1
Never ever manage the bootcamp partition through anything else than through OS X. Nine times out of the ten it will screw up. Best practise: use winclone to make a partition image and then with OS X's Bootcamp.app remove windows and afterwards recreate a new windows partition of the new size and use winclone to restore.
 
Comment

ronyclau

macrumors newbie
Original poster
May 21, 2013
2
0
well, this is not the first time I do partitioning thru. GParted on this machine, but it is the first time I encountered a problem:confused:

BTW, I found that when I boot Windows, the bootloader (bootmgr) actually NOT being loaded! Instead, my SuperDrive get booted. Strange!
 
Comment
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.