Open the "Applications → Utilities → Terminal", copy and paste the following command into the period:
To make macOS Mojave boot disk , U disk name to be changed to "Mojave" (must correspond with the following command), then copy this command:
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/Mojave /Applications/Install\ macOS\ Mojave.app --nointeraction
Then the system has been in the production, please wait until the last screen appears Done. Word that means you're done!