0

Trying to restore my Mac's APFS partition after it became unbootable from using EaseUS to resize Bootcamp.

Trying to install Linux so wanted to resize the Bootcamp partition and now I can't boot into macOS.

I have a portable version of macOS running and when I do

sudo gpt -r show /dev/disk0

I get

gpt show: error: bogus map
gpt show: unable to open device '/dev/disk0': Undefined error: 0

In disk utility I see the drive and using TestDisk I can see the partitions.

Any ideas for recovering? Whats on windows is unimportant if that helps.

Thanks.

Update

diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *751.3 GB   disk0
   1:               Windows_NTFS                         209.7 MB   disk0s1
   2:                       0xFF                         607.1 GB   disk0s2
   3:               Windows_NTFS BOOTCAMP                96.6 GB    disk0s3
   4:               Windows_NTFS LINUX                   47.4 GB    disk0s4

disk0s1 is EFI stuff
disk0s2 is APFS with my OS and such
disk0s3 is Bootcamp (Can be removed)
disk0s4 is and empty partition from the shrunk Bootcamp

  • Does diskutil list still work? Can you add the output you get? – nohillside Apr 19 at 11:23
  • @nohillside Updated – DarkxPunk Apr 19 at 13:56

You must log in to answer this question.

Browse other questions tagged .