Error while creating a bootable USB

sonusharma@Sonus-MacBook-Air ~ %   sudo /Applications/Install\ macOS\ Ventura.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume

Password:

/Volumes/MyVolume is not a valid volume mount point.

sonusharma@Sonus-MacBook-Air ~ %   sudo /Applications/Install\ macOS\ Ventura.app/Contents/Resources/createinstallmedia --volume/Volumes/My Volume  

createinstallmedia: unrecognized option `--volume/Volumes/My'

Usage: createinstallmedia --volume <path to volume to convert>


Arguments

--volume, A path to a volume that can be unmounted and erased to create the install media.

--nointeraction, Erase the disk pointed to by volume without prompting for confirmation.

--downloadassets, Download on-demand assets that may be required for installation.


Example: createinstallmedia --volume /Volumes/Untitled


[Re-Titled by Moderator]

MacBook Air 13″, macOS 14.7

Posted on Dec 22, 2024 1:37 PM

Reply
Question marked as Top-ranking reply

Posted on Dec 22, 2024 5:43 PM

Erase your USB stick and give is the exact name MyVolume with no spaces. Then copy & paste the command from the Apple article:

Create a bootable installer for macOS - Apple Support


If you put spaces or special characters in the name of the USB stick, then it makes things very complicated if you are not familiar with the command line.


Besides, the name of the USB stick will be changed once the command completes creating the USB installer so there is no reason to deviate from the Apple instructions.


Similar questions

2 replies
Question marked as Top-ranking reply

Dec 22, 2024 5:43 PM in response to Sonusharmaji41

Erase your USB stick and give is the exact name MyVolume with no spaces. Then copy & paste the command from the Apple article:

Create a bootable installer for macOS - Apple Support


If you put spaces or special characters in the name of the USB stick, then it makes things very complicated if you are not familiar with the command line.


Besides, the name of the USB stick will be changed once the command completes creating the USB installer so there is no reason to deviate from the Apple instructions.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Error while creating a bootable USB

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.