I was dual booting debian alongside MacOS. Debian hasn't been bootable for some time (unknown reason) so I decided to remove the leftover linux partions and resize my main MacOS parition to fill the empty space. One of the linux drives I could remove, the other I couldn't. After restarting the Mac it boots straight into grub rescue which i'm guessing is leftover from the linux install and now won't boot into MacOS, and no recent backup ofcourse.

I've checked for startup disks in Internet Recovery and nothing is listed.

I then looked at the partitions by using Internet Recovery and run diskutil list, fdisk /dev/disk1 and gpt -r show /dev/disk1. Here are the follwoing outputs:

output of diskutil

output of fdisk

output of gpt

I'm under the impression that i've got to change the GUID of the main MacOS partition which is currently showing no volume type or FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF and delete the linux swap partition. Which I think I can do with the commands listed here, here and here, but i'd rather proceed with caution and check-in with people in the know before trying.

I believe the filesystem is HPFS and i'm using filevault, if that's relevent. If you need a hexdump please let me know, I believe I can use vis -c to get a dump within Internet Recovery.

  • Please say you did a full backup to another storage device before doing any of this. – Solar Mike Aug 14 '19 at 21:13
  • @SolarMike I do not have a recent backup of the Mac pre boot failure, but I do have an image of the drive before running the commands above. Although I think the three commands I ran are just printouts and do not edit the partitions or GUID? – Giles Aug 14 '19 at 21:21
  • I think it was the resizing of the partitions, not those last 3 commands that caused the problems you have... – Solar Mike Aug 14 '19 at 21:24
  • apple.stackexchange.com/… – Tetsujin Aug 15 '19 at 7:01

You must log in to answer this question.

Browse other questions tagged .