Currently Being ModeratedOct 22, 2013 7:27 PM (in response to Christopher Murphy)
I just installed Mavericks and it broke my BootCamp.
I only have 2 partitions, real simple. one mac, one bootcamp.
The Bootcamp drive is gone, and it shows up in diskutility as "Disk0s4"
anyway to fix this using your magic terminal commands?
Currently Being ModeratedOct 22, 2013 7:37 PM (in response to spidi21)
So what you need to do is go back through those steps to create a new hybrid MBR, and instead of adding only partition #4 to the MBR, add 2 3 4 and only mark the one with Windows as bootable - presumably that's 4 since that's what you did before it worked. For what it's worth, there's a 3 GB gap of unused free space between partitions 3 and 4. So at some point you'll want to back everything up and start from scratch.
Currently Being ModeratedOct 22, 2013 7:40 PM (in response to frankywashere)
No idea. Provide the result from:
sudo fdisk /dev/rdisk0
sudo gpt -r -v show /dev/rdisk0
Currently Being ModeratedOct 22, 2013 7:57 PM (in response to Christopher Murphy)
Currently Being ModeratedOct 22, 2013 7:58 PM (in response to frankywashere)
and btw, i had Windows 7 installed and it was formatted NTFS, I beleive.
Currently Being ModeratedOct 22, 2013 10:33 PM (in response to frankywashere)
Try the 2nd command again you didn't include the gpt part.
Currently Being ModeratedOct 23, 2013 7:51 AM (in response to defly)
The problem is the 4th partition in the MBR has the wrong type code and isn't marked bootable. So you can either fix this using fdisk or gdisk. The gdisk method is probably better documented in this thread. The fdisk method is faster.
sudo fdisk -e /dev/disk0
Currently Being ModeratedOct 23, 2013 8:13 AM (in response to Christopher Murphy)
Just done it. Now with holding Alt button I can see Windows, but when I choose it, prints only "Missing operating system"
Currently Being ModeratedOct 23, 2013 8:26 AM (in response to defly)
There is a large 28GB gap between partitions 3 and 4. My guess is this is the result of an aborted attempt at using Disk Utility to modify the partitions of the disk, something Apple really needs to disallow once a disk has been "bootcamped". Their documentation indirectly says this, basically if you need to make changes you have to blow away Windows with Bootcamp Assistant and start from scratch anytime you want to make any change. But Disk Utility will let you get into big, big trouble.
Anyway, can you confirm/deny that you can see the bootcamp volume in OS X? Can you navigate the folders within that bootcamp volume, and find your stuff on it? If you can, then Windows Startup Repair should be able to fix this problem. If you don't have a volume named BOOTCAMP automounted while you're in OS X, then it's a lot trickier.
Currently Being ModeratedOct 23, 2013 8:30 AM (in response to Christopher Murphy)
Thank you for help! I can't see BOOTCAMP volume through finder.
Currently Being ModeratedOct 23, 2013 9:17 AM (in response to defly)
In that case you're in testdisk territory. It's verbose and may propose multiple options each of which you just need to test to see which one gets you access to your data. At the least it'll let you get access to documents at things like that. It might be able to suggest one or more possible partition start-end values, and if you get the right combination, it will restore boot. And if not, you'll need to back everything up, and then see if Bootcamp Assitant will delete what you have so you can start over with Windows. If not, then it'll tell you to reformat the whole disk with a single partitition.
Currently Being ModeratedOct 23, 2013 2:39 PM (in response to Christopher Murphy)
Currently Being ModeratedOct 23, 2013 2:47 PM (in response to Christopher Murphy)
Currently Being ModeratedOct 23, 2013 5:13 PM (in response to Christopher Murphy)
Hello Chriss... I am another guy with a similar problem... I have upgraded to Mavericks and it killed my boot camp where I have my Windows 7 (64x) installation, which I cannot aford to lose as there is all my office work.
Before Mavericks and a couple of months ago, I had reduced the size of my Mac OS partition with Disc Utility and increased my Windows partition with a third party software in Windows 7 ... I realized that DiscUtility didn't recognized this change properly, and it looked like the image below, but I could access my Windows installation by pressing "Atl" during boot up each time. i was working that way.
I installed Mavericks yesterday, and now I cannot access my boot camp partition at all. Please see if you can help me.
I have ran the commands you have indicated here and this are the results:
Last login: Wed Oct 23 18:15:31 on console
Toms-Laptop:~ tom$ sudo gpt -r -vv show disk0
gpt show: disk0: mediasize=500107862016; sectorsize=512; blocks=976773168
gpt show: disk0: Suspicious MBR at sector 0
gpt show: disk0: Pri GPT at sector 1
gpt show: disk0: Sec GPT at sector 976773167
start size index contents
0 1 MBR
1 1 Pri GPT header
2 32 Pri GPT table
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 782860224 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
783269864 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
898650112 78123008 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
976773135 32 Sec GPT table
976773167 1 Sec GPT header
Toms-Laptop:~ tom$ sudo fdisk /dev/rdisk0
Disk: /dev/rdisk0 geometry: 60801/255/63 [976773168 sectors]
#: 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 - 782860224] HFS+
3: AB 1023 254 63 - 1023 254 63 [ 783269864 - 1269536] Darwin Boot
4: 0C 1023 254 63 - 1023 254 63 [ 898650112 - 78123008] Win95 FAT32L
This is how it looks from Disk Utility:
You can see a section that looks unpartitioned... that's the amount I increased my partition from Windows and the same amount I decreased the Mac partition from Disk Utility a couple of months ago... however I used to access Windows by pressing "Atl" while booting.
Please let me know your comments.
More Like This
- Retrieving data ...
- This solved my question - 10 points
- This helped me - 5 points