0

So.

I have a mid-2015 MacBook Pro (15'') running macOS 11. Recently, I wanted to set up a dual-boot with Debian. It worked and I could boot on the two systems. I've done some sh... weird things and now the EFI of Debian isn't recognized by the system, also the Mac APFS Partition is unmounted, and not mountable because the Recovery system OF THE MAC (not the one on the Macintosh APFS Partition) is from 2015 so pre-APFS. I'm stuck with this screen or the old Recovery partition. I have on another disk a disk image of the COMPLETE Macintosh Partition (not only the data). The screen on my mac Can someone help me to mount the disk image in APFS and put it on my mac (making it bootable) ? Thanks !!!!

PS: Yes, it's the same problem as this question, but the answer isn't understandable. So don't give me some commands without explanations, please.

PPS: If you need more infos, ask under this post.

11
  • What is not understandable about the answer?
    – mmmmmm
    Aug 28, 2021 at 16:25
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Aug 28, 2021 at 16:25
  • @mmmmmm I'm not a professional about shell and English isn't my native language, so I can't understand what the command does and I don't want to execute commands that I don't understand. I need that someone explain to me what is the objective of each command.
    – omerien
    Aug 28, 2021 at 17:14
  • Have you looked at the man pages for gpt? Each group of commands does have a description in that answer giving the objective
    – mmmmmm
    Aug 28, 2021 at 17:23
  • Have you try boot in internet recovery mode cmd + alt + r ?
    – user415185
    Aug 28, 2021 at 17:27

1 Answer 1

0

You can try from the terminal in Recovery Mode, modify the ffff partition by apfs structure. The commands are :

diskutil umountDisk disk2

then

gpt remove -i 2 disk2

then

diskutil umountDisk disk2

then

gpt add -i 2 -b 409640 -s 820414520 -t 7C3457EF-0000-11AA-AA11-00306543ECAC disk2

then you give the result of

diskutil list internal 
2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .