Fixing USB Installer Creation Error on macOS

Guide:

If you're encountering an error while trying to create a bootable USB installer on macOS, particularly when using a real Mac Book with macOS 10.13.6, you can follow these steps to troubleshoot and resolve the issue:

1. Verify macOS Installer Application:

  • Double-check that the macOS installer application you're using, in this case, "Install macOS Ventura.app," is located in the "/Applications" folder and is not corrupted.

2. Redownload macOS Installer:

  • If the macOS installer application appears to be corrupted or incomplete, redownload the macOS installer from the Mac App Store or from Apple's website. Ensure that the downloaded installer is intact and not modified.

3. Check Disk Space:

  • Ensure that you have sufficient free disk space on your Mac's internal storage to accommodate the creation of the bootable USB installer. Insufficient disk space can cause errors during the process.

4. Use Disk Utility to Mount DMG:

  • If the error persists, try manually mounting the DMG file using Disk Utility:
    • Open Disk Utility from the "/Applications/Utilities" folder.
    • Click on "File" in the menu bar and select "Open Disk Image."
    • Navigate to the location of the macOS installer application and select the "SharedSupport.dmg" file within the application package.
    • Mount the DMG file by clicking "Open."

5. Terminal Command to Create Bootable USB:

  • If Disk Utility is unable to mount the DMG file, you can try using Terminal to create the bootable USB installer with the following command:
    bash
    sudo /Applications/Install\ macOS\ Ventura.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled
    Replace "/Volumes/Untitled" with the appropriate name of your USB drive volume. You may need to format the USB drive to macOS Extended (Journaled) using Disk Utility before running the command.

6. Retry USB Installer Creation:

  • After successfully mounting the DMG file or executing the Terminal command, retry creating the bootable USB installer using Disk Utility or Terminal.

7. Contact Apple Support:

  • If you continue to encounter issues despite following the above steps, consider contacting Apple Support for further assistance. They may be able to provide additional troubleshooting steps or guidance specific to your situation.

By following these steps, you should be able to resolve the USB installer creation error on macOS and successfully create a bootable USB installer for macOS Ventura or any other macOS version you're trying to install.

USB installer creation problem

I am trying to create a boot installer with a real Mac Book with 10.13.6.
When I try to exec the command to create the boot USB I get this error:


Couldn't mount dmg /Applications/Install macOS Ventura.app/Contents/SharedSupport/SharedSupport.dmg (error code 112)/Applications/Install macOS Ventura.app does not appear to be a valid OS installer application.


What could I do?

Thanks in advance.