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! :-)
Asked
Active
Viewed 125 times
2

HaLed
- 21
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 ingpt add -i 2 -b 409640 -s 194016208 -t hfs /dev/disk0
to whatevergpt -r show
gives 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:05gpt -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:33dd if=/dev/disk0s2 count=3 | vis -c
) to determine the proper partition type. – klanomath Nov 28 '19 at 13:32sw_vers
. The disk is an SSD and it's either HS or Moj. Catalina has a slightly different volume layout: an additional "Macinotsh HD - Data" volume. – klanomath Nov 29 '19 at 12:15