Unable to Create a Bootable ISO for MacBook

I erased my 2012 MacBook Pro’s drive (it was on Catalina 10.15.7), and now it only shows the Internet Recovery screen (spinning globe → Choose Network).
I tried creating a bootable installer while running macOS Sequoia 15.1.1, but I downloaded a Sierra 10.12 .dmg that turned into a .pkg instead of an Install macOS app. When using the createinstallmedia command in Terminal, it failed because the installer app wasn’t properly available in Applications.

How to do next?

For a bootable file for macOS, DMG file is much better than ISO.

Read this post: Create a bootable USB macOS installer for Mac

You can create a bootable drive for macOS with Terminal, like these commands:
Catalina: sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
Mojave: sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
High Sierra: sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume

Any easy and safe way? iBoysoft DiskGeeker for Mac is a good tool, you can directly download macOS DMG files on your internal or external drive.

  1. Get the full installer from Apple
  2. Prepare a USB drive (16GB or larger)
  3. Create the bootable installer
  4. Install macOS on your MacBook Pro