2

I have a Ubuntu 16.04 partition running on my Mac alongside the MAC OS. It started recently that I could only boot into a black screen in the Mac OS and now the partition in the boot menu has completely disappeared. Ubuntu still runs perfectly tho. When I start via Internet recovery, in the results of diskutil list the mac partition has type FFFFFF-FFF... The problem seems to be similar to this one. Could someone help me understand what I can do to fix my problem. I can't find any helpful information about the commands used in the linked solution to adapt them to my case. Or maybe there is a different approach to save the data on my mac partition? Thanks a lot! :-)

enter image description here

enter image description here

enter image description here

  • Edit your question with output of gpt -r show /dev/disk0 as in the question you linked to. It would be good to indicate your macOS version and if your volume was formatted HFS or APFS. If your macOS volume was HFS+ you can then follow the answer you linked to changing the partition start/end numbers in gpt add -i 2 -b 409640 -s 194016208 -t hfs /dev/disk0 to whatever gpt -r showgives you for partition 2. If it was APFS you'd follow the answer here again updating the partition start and end points. – lx07 Nov 28 '19 at 12:05
  • Thanks @lx07 for your answer :-) I will add the output of gpt -r show /dev/disk0 to my question shortly. I will have to start internet recovery again for that... Regarding the formatting of the volume I am not 100% sure. I think I had hfs+. What happens if I use the wrong one? Is there still a way of finding out? Also about my macOS version I am not sure... My guess is High Sierra. – HaLed Nov 28 '19 at 12:33
  • You can either tell us the internal drive type (if SSD and 10.13 or newer, then probably APFS (the missing recovery partition supports this assumption)) or use dd (dd if=/dev/disk0s2 count=3 | vis -c) to determine the proper partition type. – klanomath Nov 28 '19 at 13:32
  • This answer should fit: apple.stackexchange.com/a/305712/93229 - it explains all necessary methods to determine the former partition type (with hexdum & w/o hexdump (macOS Recovery/Recovery Mode). – klanomath Nov 28 '19 at 13:37
  • Sorry for the delay! I had to wait for my ubuntu backup to finish... Your answers helped me a lot but I could not complete the process. The verification of the volume in the end failed (see picture) – HaLed Nov 28 '19 at 20:22

You must log in to answer this question.

Browse other questions tagged .