installed bootcamp and ran gdisk, now can’t access Mac HD

Somehow I screwed up my hard drives when I ran gdisk trying to get bootcamp to work. Can anyone look at the diskutil list and tell me if there is a way to get me hard drive back? I looks like it’s 120GB designated as disk0 but it wont boot. Thanks!User uploaded file

Posted on Aug 10, 2018 11:20 AM

Reply

Similar questions

52 replies

Aug 10, 2018 8:05 PM in response to leroydouglas

leroydouglas wrote:


DesperateTimes wrote:


I ran gdisk trying to get bootcamp to work.


See if there is anything in this article:


in order to convert a MBR partition to GPT without data loss, you need to backup your important data before converting. Note: When you convert MBR to GPT, all your data on Mac will be lost.


Typically, the GPT-to-MBR does not convert the secondary GPT entries. The secondary GPT is at the end of the disk as shown in this.


sudo gpt -vv -r show /dev/disk0

Password:

gpt show: /dev/disk0: mediasize=512110190592; sectorsize=512; blocks=1000215216

gpt show: /dev/disk0: Suspicious MBR at sector 0

gpt show: /dev/disk0: Pri GPT at sector 1

gpt show: /dev/disk0: Sec GPT at sector 1000215215

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

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

744355800 40

744355840 255858688 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

1000214528 655

1000215183 32 Sec GPT table

1000215215 1 Sec GPT header


It is possible to recover the GPT from the secondary table. GPT Fdisk will detect this and prompt the user to select from available options.

Aug 10, 2018 3:05 PM in response to DesperateTimes

Your mac will not boot as a Master Boot Record.


Start over. Reformat the drive as GUID, extended journaled (HFS+) This of course will erase the drive all data. I can only assume you have a compleete back up plan to restore any user data after formating.


You can boot into Internet Recovery or a bootable installer USB and use the DiskUtility to erase your drive and set it back up.


second— what were you trying to accomplish with gdisk? If you are trying to set up a bootcamp partition use the Bootcamp Assistant.app found in your Applications/Utilities folder.

Boot Camp - Apple Support

Aug 10, 2018 6:21 PM in response to DesperateTimes

I got this moved over from "High Sierra" to "OS X Technologies" "BootCamp" in a good faith effort for more Unix eyes to help pick up the pieces.


In the mean time you can read through this link:

https://www.insanelymac.com/forum/topic/231025-i-lost-my-guid-paritition-label-t o-fdisk/


If there is anyway to make a backup prior to making a decisive maneuver, may well help in an effort to preserve your user data if something goes astray in trying to right the ship.


further reading on a backup plan: How to create a boot clone You can google "3-2-1 Backup Strategy" for more info.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

installed bootcamp and ran gdisk, now can’t access Mac HD

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