sudo "/Applications/Install macOS Mojave.app/Contents/Resources/createinstallmedia" --volume /Volumes/Installer
and type in your password when prompted.EFI
directory into the one on the EFI drive. Replace any existing file (which should just be config.plist).