Now, this can take a while depending on your system speed And make sure it’s USB 3.0 for quick installation.
To create a macOS installation media, you need at least 8GB USB thumb drive. So be careful and create a backup to be on the safer side. Which means any data on the drive will be permanently lost. However, we still highly recommend you to back up the internal drive data as we will be formatting the hard drive for macOS Mojave installation.