You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Unable to boot up in bootcamp after installing Mountain Lion

I have a very new iMac and had Win 7 installed on Bootcamp with minimal trouble and it's been running great, had it set up so that if I just restarted it would automatically boot Windows. Awesome, I love Mac. Problem now is, I just installed Mountain Lion and not only does it not auto-boot to windows, I can't get the Dual boot screen (holsing Option after restart) at all. I've tried several times to make sure that Option is regestering upon startup, and it's all good.


I usually have good luck finding answers to stuff like this on the forums but I'm not seeing any cases exactly like mine yet. I would love any advice anyone can offer and I'm happy to provide any info about my system that could help.

iMac, OS X Mountain Lion, 27" 3.4 GHz Intel Core i7

Posted on Jul 28, 2012 5:49 PM

Reply
130 replies

Aug 9, 2012 6:50 PM in response to kc5mhb

Very interesting. fdisk is reporting the 2nd MBR entry starts with a negative sector value.


The first command will read sector 0 of the disk, and put it into a file in the current user home directory. The second command will dump the hex values of the file to display. Please post the results after hexdump.


sudo dd if=/dev/rdisk0 of=~/mbr.bin bs=512 count=1

hexdump -C ~/mbr.bin


If you can click on "Use advanced editor" to the upper right of the forum's Reply to entry area, highlight the pasted text and change the font to Andale Mono. It will make the results easier to read.

Aug 9, 2012 7:23 PM in response to Christopher Murphy

00000000 33 c0 8e d0 bc 00 7c 8e c0 8e d8 be 00 7c bf 00 |3.....|......|..|

00000010 06 b9 00 02 fc f3 a4 50 68 1c 06 cb fb b9 04 00 |.......Ph.......|

00000020 bd be 07 80 7e 00 00 7c 0b 0f 85 0e 01 83 c5 10 |....~..|........|

00000030 e2 f1 cd 18 88 56 00 55 c6 46 11 05 c6 46 10 00 |.....V.U.F...F..|

00000040 b4 41 bb aa 55 cd 13 5d 72 0f 81 fb 55 aa 75 09 |.A..U..]r...U.u.|

00000050 f7 c1 01 00 74 03 fe 46 10 66 60 80 7e 10 00 74 |....t..F.f`.~..t|

00000060 26 66 68 00 00 00 00 66 ff 76 08 68 00 00 68 00 |&fh....f.v.h..h.|

00000070 7c 68 01 00 68 10 00 b4 42 8a 56 00 8b f4 cd 13 ||h..h...B.V.....|

00000080 9f 83 c4 10 9e eb 14 b8 01 02 bb 00 7c 8a 56 00 |............|.V.|

00000090 8a 76 01 8a 4e 02 8a 6e 03 cd 13 66 61 73 1c fe |.v..N..n...fas..|

000000a0 4e 11 75 0c 80 7e 00 80 0f 84 8a 00 b2 80 eb 84 |N.u..~..........|

000000b0 55 32 e4 8a 56 00 cd 13 5d eb 9e 81 3e fe 7d 55 |U2..V...]...>.}U|

000000c0 aa 75 6e ff 76 00 e8 8d 00 75 17 fa b0 d1 e6 64 |.un.v....u.....d|

000000d0 e8 83 00 b0 df e6 60 e8 7c 00 b0 ff e6 64 e8 75 |......`.|....d.u|

000000e0 00 fb b8 00 bb cd 1a 66 23 c0 75 3b 66 81 fb 54 |.......f#.u;f..T|

000000f0 43 50 41 75 32 81 f9 02 01 72 2c 66 68 07 bb 00 |CPAu2....r,fh...|

00000100 00 66 68 00 02 00 00 66 68 08 00 00 00 66 53 66 |.fh....fh....fSf|

00000110 53 66 55 66 68 00 00 00 00 66 68 00 7c 00 00 66 |SfUfh....fh.|..f|

00000120 61 68 00 00 07 cd 1a 5a 32 f6 ea 00 7c 00 00 cd |ah.....Z2...|...|

00000130 18 a0 b7 07 eb 08 a0 b6 07 eb 03 a0 b5 07 32 e4 |..............2.|

00000140 05 00 07 8b f0 ac 3c 00 74 09 bb 07 00 b4 0e cd |......<.t.......|

00000150 10 eb f2 f4 eb fd 2b c9 e4 64 eb 00 24 02 e0 f8 |......+..d..$...|

00000160 24 02 c3 49 6e 76 61 6c 69 64 20 70 61 72 74 69 |$..Invalid parti|

00000170 74 69 6f 6e 20 74 61 62 6c 65 00 45 72 72 6f 72 |tion table.Error|

00000180 20 6c 6f 61 64 69 6e 67 20 6f 70 65 72 61 74 69 | loading operati|

00000190 6e 67 20 73 79 73 74 65 6d 00 4d 69 73 73 69 6e |ng system.Missin|

000001a0 67 20 6f 70 65 72 61 74 69 6e 67 20 73 79 73 74 |g operating syst|

000001b0 65 6d 00 00 00 63 7b 9a b8 4d 9f 93 00 00 00 00 |em...c{..M......|

000001c0 02 00 ee fe ff ff 01 00 00 00 ff d7 6f e7 80 fe |............o...|

000001d0 ff ff 07 fe ff ff 00 d8 6f e7 00 b8 a8 3b 00 00 |........o....;..|

000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|

00000200


446 for 64? Looking at the Partition table?

Aug 9, 2012 7:58 PM in response to kc5mhb

446 for 64? Sector 0 is the MBR, the first 440 bytes of which are the bootloader. The rest is the table. I see how this is being encoded and why it works, sorta. But neither Apple's fdisk nor Linux fdisk considers MBR partition 2 valid, it will not let me define it with the exact same start and end sector values as what your disk has.


I think this may be extremely fragile. It might be Apple's Mountain Lion installer is doing a file system check which includes a GPT check, which by inference could include an MBR check. I wonder if they're nuking the hybrid MBR on disks that are bigger than 2TB, which some people have managed to get working with 3rd party utilities like iPartition.


It might not even be Mountain Lion related, it might be a long standing behavior that's only revealing itself recently due to increasing numbers of 2+TB drives and utilities like iPartition that seemingly can deal with them.


I'm still not sure whether this MBR is non-standard or not, but I'm going to look into it.

Aug 10, 2012 5:02 AM in response to Christopher Murphy

Send me an email and I'll reply with the file. ido4n6@gmail.com

This iMac has been running with Bootcamp this way since I bought it. It came with Snow Leopard on a 1TB hard drive. I upgraded to Lion with no problems, but Mountain Lion was the one that caused the problem. I noticed that when I initially had the issue, the MBR was called the PMBR in all of the command line queries. Interesting how that changed. Incidently, at work we are installing 3 TB hard drives in our forensic Macs with Snow Leopard being carried over. Bootcamp is working on them and from what I've heard the OSX has to be Snow Leopard or higher.

Aug 10, 2012 8:27 AM in response to kc5mhb

This iMac has been running with Bootcamp this way since I bought it. It came with Snow Leopard on a 1TB hard drive. I upgraded to Lion with no problems, but Mountain Lion was the one that caused the problem.


But that's with a 1TB disk. When was it migrated to a 2.5TB disk? And what was the order of the upgrade?

2.5TB disk > Lion > Mountain Lion?

Or Lion > 2.5TB disk > Mountain Lion?

Or Lion > Mountain Lion > 2.5 TB disk?


I noticed that when I initially had the issue, the MBR was called the PMBR in all of the command line queries. Interesting how that changed.


A GPT disk has a PMBR. A PMBR is an MBR with a single partition entry, partition type 0xEE, with a start sector of 1, and end sector going to the end of the disk. It's designed to inform legacy MBR only utilities that the disk is claimed for data, as the GPT begins on sector 1, whereas the MBR is only on sector 0. An MBR only utility will only look to sector 0, meaning it would entirely miss the fact it's a GPT disk were it not for the PMBR.


However, Boot Camp relies on a CSM-BIOS method of booting Windows, which requires a legacy MBR partitioning scheme, i.e. one with more than a single partition entry. These are called hybrid MBRs. They're non-standard, and notoriously flakey. They are not consistent with the UEFI spec, there's no correct way to make one that ensures stability or consistent interpretation from OS to OS, and even Apple's own developer notes say once a disk has a hybrid MBR it is not a valid GPT disk anymore and should not be subsequently altered in any way or data loss can occur.


In a 32-bit MBR world, a disk larger than 2TB is probably invalid, and different OS's and tools react wildly differently when this is forced beyond 2TB. Apple's own fdsik tool refuses to cooperate with > 2TB disks at all, and Red Hat Enterprise Linux's fdisk effectively says not to use fdisk because such a disk requires GPT, and Microsoft's tech notes on this say if you want to use a 2+TB disk as a boot disk, it requires GPT which means EFI boot is required. So I think you're in a doubly fragile situation using not only hybrid MBR, but also one that take advantage of a quirk of MBRs that allows the creation of a partition beyond 2TB.


Incidently, at work we are installing 3 TB hard drives in our forensic Macs with Snow Leopard being carried over. Bootcamp is working on them and from what I've heard the OSX has to be Snow Leopard or higher.


I think going beyond 2TB with Boot Camp should be discouraged for all the reasons I mention above. I'm honestly surprised that Boot Camp Assistant will even work on a disk larger than 2TB for this reason. The last time I tried it with Boot Camp Assistant it refused to work with disks of this size.

Aug 10, 2012 9:12 AM in response to Christopher Murphy

Ok, 1TB drive Snow Leopard upgrade to Lion then drive upgrade using Winclone to copy and restore Bootcamp to the 2.5 TB drive then the Mountain Lion upgrade. I looked at a lot of posts that people had success with but again, the only thing that made Bootcamp boot seems to be iPartition. It could be added support for NTFS in the OS or I just got lucky. Even so its working and I will continue to keep current backups of my data just in case. I know if you try to use the Bootcamp Assistant, it allows you to create the partition size, then asks for the windows disk to complete the partition. On reboot it starts the install but fails because the Bootcamp partition is GPT when in reality BCA formated it as FAT. If you do the advanced and format the drive, it removes the Bootcamp name, but formats to NTFS. I had quite a few trial and error times but the process that worked for me was what I listed in the first response post. Possibly the answer lies in Winclone and what its doing during the backup and restore process as it asks if you wish to rewrite the Bootcamp BCD. Look here: http://twocanoes.com/support/winclone/migrating-a-bootcamp-partition-with-winclo ne This may be the clue to how its working. I will soon be upgrading my work machine with three 3 TB drives. One of my current 1TB drives is dedicated to Bootcamp. It will be interesting to see how the transition will be to the new drive.

Aug 10, 2012 9:26 AM in response to kc5mhb

Can anyone confirm/deny that Boot Camp Assistant 4.0.3, or higher, disallows resizing/partitioning a disk larger than 2TB?


For sure, Disk Utility will refuse to MBR format a disk larger than 2TB. I wonder if in the course of Mountain Lion checking/repairing a disk before install, if it's nuking hybrid MBRs on disks larger than 2TB. Such an MBR is really not a good idea.

Aug 10, 2012 10:15 AM in response to Christopher Murphy

OK so I can confirm with Snow Leopard's Disk Utility, if you reformat/erase a volume, a hybrid MBR is obliterated back into a PMBR and thus Windnows is unbootable. Despite the fact you're not repartitioning, merely formatting a partition, it appears the GPT and MBR are rewritten. Any hybrid MBR is replaced with a PMBR.


Correction: This only happens on disks larger than 2TB. The hybrid MBR remains intact on disks 2TB and under.

Aug 11, 2012 4:09 AM in response to Christopher Murphy

Hi Chistopher!


I upgraded to Mountain Lion from a Lion install. It had a Windows 7 64-bit partition, but now it doesn't show up after upgrade. Even diskutility doesn't recognize the partition!!! It just names it "disk0s4", not BOOTCAMP.


I ran the commands you've put here earlier and the results are as follows (quite bad from what i've read...):

mouse:~ rramalho$ sudo gpt -r -vv show disk0

Password:

gpt show: disk0: mediasize=750156374016; sectorsize=512; blocks=1465149168

gpt show: disk0: PMBR at sector 0

gpt show: disk0: Pri GPT at sector 1

gpt show: disk0: Sec GPT at sector 1465149167

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 1070312512 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

1070722152 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

1071991688 1144

1071992832 393154560 4 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

1465147392 1743

1465149135 32 Sec GPT table

1465149167 1 Sec GPT header

mouse:~ rramalho$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 91201/255/63 [1465149168 sectors]

Signature: 0xAA55

Starting Ending

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

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

1: EE 1023 254 63 - 1023 254 63 [ 1 - 1465149167] <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

mouse:~ rramalho$


The MBR partition table is empty!! Help... I also have rEFIt installed. Is this a problem? I haven't ran the GPT/MBR sync thing...


Can i recover my files and/or partition? I think i have lost 2-3 days of work here 😟


Thanks!!!!!

Aug 11, 2012 9:48 AM in response to Ricardo Ramalho

409640      1070312512      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
1071992832   393154560      4  GPT part - 48465300-0000-11AA-AA11-00306543ECAC



Partitions 2 and 4 (disk0s2, disk0s4) have partition type GUIDS for HFS+. Did you inadvertently erase one or both partitions before you did the upgrade, because that's what it looks like has happened.


Now, there's some small chance the partition type GUID is wrong, and there actually is still an NTFS system starting at LBA 1071992832. To find out:



sudo dd if=/dev/disk0 of=~/disk0s4_4s.bin skip=1071992832 bs=512 count=4


Note! The above command scrolls off to the right and ends with the number 4, you just can't see it. I suggested you copy-paste. If you don't include count=4 at the end it will not end well... (i.e. it'll start filling up your drive until totally full). It should take less than a second for this command to execute, so if you aren't immediately dropped to a prompt, you can cancel with control-c.


hexdump -C ~/disk0s4_4s.bin


The first command will read the first four sectors starting at LBA 1071992832 and write them to the file disk0s4_4s.bin located in your user home directory. The second command will read the contents of that .bin file and display them. Every file system as a header somewhere in the first four sectors of the partition, so if it's NTFS and not HFS+, merely changing the partition type GUID in the GPT, and restoring the hybrid MBR will fix the problem. However, I'd say there's a 99% chance that this partition was erased (i.e. formatted) as HFS+.

Aug 11, 2012 11:51 AM in response to Christopher Murphy

Well...


I did *not* format the NTFS partition! Something went bad... really bad in the process...


mouse:~ rramalho$ hexdump -C ~/disk0s4_4s.bin

00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|

00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 50 e5 3f |........?....P.?|

00000020 00 00 00 00 80 00 80 00 f8 0f 6f 17 00 00 00 00 |..........o.....|

00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|

00000040 f6 00 00 00 01 00 00 00 42 53 d6 16 80 d6 16 a4 |........BS......|

00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|

00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|

00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|

00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|

00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|

000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|

000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|

000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|

000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|

000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|

000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|

00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|

00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.|

00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|

00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|

00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|

00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|

00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......|

00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|

00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 |t.............A |

00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error |

000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM|

000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...|

000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|

000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|

000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|

000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|

00000200 07 00 42 00 4f 00 4f 00 54 00 4d 00 47 00 52 00 |..B.O.O.T.M.G.R.|

00000210 04 00 24 00 49 00 33 00 30 00 00 d4 00 00 00 24 |..$.I.3.0......$|

00000220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|

*

00000250 00 00 00 00 00 00 eb 22 90 90 05 00 4e 00 54 00 |......."....N.T.|

00000260 4c 00 44 00 52 00 00 00 00 00 00 00 00 00 00 00 |L.D.R...........|

00000270 00 00 00 00 00 00 00 00 00 00 66 0f b7 06 0b 00 |..........f.....|

00000280 66 0f b6 1e 0d 00 66 f7 e3 66 a3 52 02 66 8b 0e |f.....f..f.R.f..|

00000290 40 00 80 f9 00 0f 8f 0e 00 f6 d9 66 b8 01 00 00 |@..........f....|

000002a0 00 66 d3 e0 eb 08 90 66 a1 52 02 66 f7 e1 66 a3 |.f.....f.R.f..f.|

000002b0 66 02 66 0f b7 1e 0b 00 66 33 d2 66 f7 f3 66 a3 |f.f.....f3.f..f.|

000002c0 56 02 e8 95 04 66 8b 0e 4e 02 66 89 0e 26 02 66 |V....f..N.f..&.f|

000002d0 03 0e 66 02 66 89 0e 2a 02 66 03 0e 66 02 66 89 |..f.f..*.f..f.f.|

000002e0 0e 2e 02 66 03 0e 66 02 66 89 0e 3e 02 66 03 0e |...f..f.f..>.f..|

000002f0 66 02 66 89 0e 46 02 66 b8 90 00 00 00 66 8b 0e |f.f..F.f.....f..|

00000300 26 02 e8 83 09 66 0b c0 0f 84 5e fe 66 a3 32 02 |&....f....^.f.2.|

00000310 66 b8 a0 00 00 00 66 8b 0e 2a 02 e8 6a 09 66 a3 |f.....f..*..j.f.|

00000320 36 02 66 b8 b0 00 00 00 66 8b 0e 2e 02 e8 58 09 |6.f.....f.....X.|

00000330 66 a3 3a 02 66 a1 32 02 66 0b c0 0f 84 2b fe 67 |f.:.f.2.f....+.g|

00000340 80 78 08 00 0f 85 22 fe 67 66 8d 50 10 67 03 42 |.x....".gf.P.g.B|

00000350 04 67 66 0f b6 48 0c 66 89 0e 72 02 67 66 8b 48 |.gf..H.f..r.gf.H|

00000360 08 66 89 0e 6e 02 66 a1 6e 02 66 0f b7 0e 0b 00 |.f..n.f.n.f.....|

00000370 66 33 d2 66 f7 f1 66 a3 76 02 66 a1 46 02 66 03 |f3.f..f.v.f.F.f.|

00000380 06 6e 02 66 a3 4a 02 66 83 3e 36 02 00 0f 84 1d |.n.f.J.f.>6.....|

00000390 00 66 83 3e 3a 02 00 0f 84 cf fd 66 8b 1e 3a 02 |.f.>:......f..:.|

000003a0 1e 07 66 8b 3e 4a 02 66 a1 2e 02 e8 e0 01 66 0f |..f.>J.f......f.|

000003b0 b7 0e 00 02 66 b8 02 02 00 00 e8 22 08 66 0b c0 |....f......".f..|

000003c0 0f 85 16 00 66 0f b7 0e 5a 02 66 b8 5c 02 00 00 |....f...Z.f.\...|

000003d0 e8 0c 08 66 0b c0 0f 84 42 0c 67 66 8b 00 1e 07 |...f....B.gf....|

000003e0 66 8b 3e 3e 02 e8 3f 06 66 a1 3e 02 66 bb 20 00 |f.>>..?.f.>.f. .|

000003f0 00 00 66 b9 00 00 00 00 66 ba 00 00 00 00 e8 e4 |..f.....f.......|

00000400 00 66 85 c0 0f 85 23 00 66 a1 3e 02 66 bb 80 00 |.f....#.f.>.f...|

00000410 00 00 66 b9 00 00 00 00 66 ba 00 00 00 00 e8 c4 |..f.....f.......|

00000420 00 66 0b c0 0f 85 44 00 e9 f1 0b 66 33 d2 66 b9 |.f....D....f3.f.|

00000430 80 00 00 00 66 a1 3e 02 e8 ca 08 66 0b c0 0f 84 |....f.>....f....|

00000440 da 0b 1e 07 66 8b 3e 3e 02 e8 db 05 66 a1 3e 02 |....f.>>....f.>.|

00000450 66 bb 80 00 00 00 66 b9 00 00 00 00 66 ba 00 00 |f.....f.....f...|

00000460 00 00 e8 80 00 66 0b c0 0f 84 b0 0b 67 66 0f b7 |.....f......gf..|

00000470 58 0c 66 81 e3 ff 00 00 00 0f 85 a5 0b 66 8b d8 |X.f..........f..|

00000480 68 00 20 07 66 2b ff 66 a1 3e 02 e8 00 01 68 00 |h. .f+.f.>....h.|

00000490 20 07 66 2b ff 66 a1 3e 02 e8 ac 0a 8a 16 0e 00 | .f+.f.>........|

000004a0 b8 e8 03 8e c0 8d 36 0b 00 2b c0 68 00 20 50 cb |......6..+.h. P.|

000004b0 06 1e 66 60 66 8b da 66 0f b6 0e 0d 00 66 f7 e1 |..f`f..f.....f..|

000004c0 66 a3 11 00 66 8b c3 66 f7 e1 a3 16 00 8b df 83 |f...f..f........|

000004d0 e3 0f 8c c0 66 c1 ef 04 03 c7 50 07 e8 3e fc 66 |....f.....P..>.f|

000004e0 61 90 1f 07 c3 67 03 40 14 67 66 83 38 ff 0f 84 |a....g.@.gf.8...|

000004f0 4c 00 67 66 39 18 0f 85 33 00 66 0b c9 0f 85 0a |L.gf9...3.f.....|

00000500 00 67 80 78 09 00 0f 85 23 00 c3 67 3a 48 09 0f |.g.x....#..g:H..|

00000510 85 1a 00 66 8b f0 67 03 70 0a e8 97 06 66 51 1e |...f..g.p....fQ.|

00000520 07 66 8b fa f3 a7 66 59 0f 85 01 00 c3 67 66 83 |.f....fY.....gf.|

00000530 78 04 00 0f 84 07 00 67 66 03 40 04 eb ab 66 2b |x......gf.@...f+|

00000540 c0 c3 66 8b f3 e8 6c 06 67 66 03 00 67 f7 40 0c |..f...l.gf..g.@.|

00000550 02 00 0f 85 34 00 67 66 8d 50 10 67 3a 4a 40 0f |....4.gf.P.g:J@.|

00000560 85 18 00 67 66 8d 72 42 e8 49 06 66 51 1e 07 66 |...gf.rB.I.fQ..f|

00000570 8b fb f3 a7 66 59 0f 85 01 00 c3 67 83 78 08 00 |....fY.....g.x..|

00000580 0f 84 06 00 67 03 40 08 eb c2 66 33 c0 c3 67 80 |....g.@...f3..g.|

00000590 7b 08 00 0f 85 1c 00 06 1e 66 60 67 66 8d 53 10 |{........f`gf.S.|

000005a0 67 66 8b 0a 66 8b f3 67 03 72 04 f3 a4 66 61 90 |gf..f..g.r...fa.|

000005b0 1f 07 c3 66 50 67 66 8d 53 10 66 85 c0 0f 85 0a |...fPgf.S.f.....|

000005c0 00 67 66 8b 4a 08 66 41 eb 11 90 67 66 8b 42 18 |.gf.J.fA...gf.B.|

000005d0 66 33 d2 66 f7 36 52 02 66 8b c8 66 2b c0 66 5e |f3.f.6R.f..f+.f^|

000005e0 e8 01 00 c3 06 1e 66 60 67 80 7b 08 01 0f 84 03 |......f`g.{.....|

000005f0 00 e9 76 fb 66 83 f9 00 0f 85 06 00 66 61 90 1f |..v.f.......fa..|

00000600 07 c3 66 53 66 50 66 51 66 56 66 57 06 e8 91 04 |..fSfPfQfVfW....|

00000610 66 8b d1 07 66 5f 66 5e 66 59 66 85 c0 0f 84 34 |f...f_f^fYf....4|

00000620 00 66 3b ca 0f 8d 03 00 66 8b d1 e8 82 fe 66 2b |.f;.....f.....f+|

00000630 ca 66 8b da 66 8b c2 66 0f b6 16 0d 00 66 f7 e2 |.f..f..f.....f..|

00000640 66 0f b7 16 0b 00 66 f7 e2 66 03 f8 66 58 66 03 |f.....f..f..fXf.|

00000650 c3 66 5b eb 9f 66 85 f6 0f 84 0e fb 66 51 66 57 |.f[..f......fQfW|

00000660 06 67 66 0f b6 43 09 66 85 c0 0f 84 20 00 66 d1 |.gf..C.f.... .f.|

00000670 e0 66 2b e0 66 8b fc 66 54 66 56 67 66 0f b7 73 |.f+.f..fTfVgf..s|

00000680 0a 66 03 f3 66 8b c8 f3 a4 66 5e eb 03 90 66 50 |.f..f....f^...fP|

00000690 66 50 67 66 8b 03 66 50 67 66 8b 43 18 66 50 67 |fPgf..fPgf.C.fPg|

000006a0 66 8b 56 20 66 85 d2 0f 84 0b 00 66 8b fe 1e 07 |f.V f......f....|

000006b0 66 8b c2 e8 71 03 66 8b c6 66 5a 66 59 66 42 66 |f...q.f..fZfYfBf|

000006c0 51 66 56 e8 3f 06 66 85 c0 0f 84 9d fa 66 5e 66 |QfV.?.f......f^f|

000006d0 59 66 8b fe 1e 07 e8 4e 03 66 8b c6 66 8b d9 66 |Yf.....N.f..f..f|

000006e0 59 66 5a 66 51 66 56 66 d1 e9 e8 f8 fd 66 85 c0 |YfZfQfVf.....f..|

000006f0 0f 84 76 fa 66 5e 66 59 66 03 e1 07 66 5f 66 59 |..v.f^fYf...f_fY|

00000700 66 8b d0 66 58 66 5b 66 8b da e9 f5 fe 06 1e 66 |f..fXf[f.......f|

00000710 60 26 67 66 0f b7 5f 04 26 67 66 0f b7 4f 06 66 |`&gf.._.&gf..O.f|

00000720 0b c9 0f 84 44 fa 66 03 df 66 83 c3 02 66 81 c7 |....D.f..f...f..|

00000730 fe 01 00 00 66 49 66 0b c9 0f 84 17 00 26 67 8b |....fIf......&g.|

00000740 03 26 67 89 07 66 83 c3 02 66 81 c7 00 02 00 00 |.&g..f...f......|

00000750 66 49 eb e2 66 61 90 1f 07 c3 06 1e 66 60 66 b8 |fI..fa......f`f.|

00000760 01 00 00 00 66 a3 22 02 66 a1 1e 02 66 03 06 66 |....f.".f...f..f|

00000770 02 66 a3 6a 02 66 03 06 66 02 66 a3 4e 02 66 a1 |.f.j.f..f.f.N.f.|

00000780 30 00 66 0f b6 1e 0d 00 66 f7 e3 66 8b 1e 4e 02 |0.f.....f..f..N.|

00000790 66 89 07 66 a3 11 00 83 c3 04 66 a1 56 02 66 89 |f..f......f.V.f.|

000007a0 07 a3 16 00 83 c3 04 66 89 1e 4e 02 66 8b 1e 1e |.......f..N.f...|

000007b0 02 1e 07 e8 67 f9 66 8b fb e8 51 ff 66 a1 1e 02 |....g.f...Q.f...|

000007c0 66 bb 20 00 00 00 66 b9 00 00 00 00 66 ba 00 00 |f. ...f.....f...|

000007d0 00 00 e8 10 fd 66 0b c0 0f 84 19 01 66 8b d8 1e |.....f......f...|

000007e0 07 66 8b 3e 1a 02 66 33 c0 e8 a2 fd 66 8b 1e 1a |.f.>..f3....f...|

000007f0 02 66 81 3f 80 00 00 00 0f 84 eb 00 03 5f 04 eb |.f.?........._..|

00000800

mouse:~ rramalho$


Do I still have a chance of recovering my stuff? I guess so by the look of the dump. It has all the normal windows stuff in there...

How do I change the partition type ID do NTFS on a Mac? And how do I sync the GPT/MBR thing?


Thanks! You're *the* man! 😉

Aug 11, 2012 12:16 PM in response to Ricardo Ramalho

Download and install GPT fdisk from sourceforge.


Each line followed by a return/enter:


sudo gdisk /dev/disk0
p


Confirm partition 4 starts with LBA

1071992832, and if so:


t
0700
r
h
2 3 4
y

From here accept the default MBR hex code for each partition. Do not set the boot flag except for partition 4.


w


w writes out the two partitions to disk. q will quit without making any changes. If you want your work proof read before entering w, copy past everything everything following sudo gdisk /dev/disk0 into the forum; just leave gdisk running in the meantime (hide the Terminal window if you want).

Unable to boot up in bootcamp after installing Mountain Lion

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