Install “dmg2img”
run command in terminal: (MacOS.dmg is the MacOS you downloaded, give the proper path/location of yours:
dmg2img -v -i MacOS.dmg -o MacOS.iso
use lsblk
command to find your USB drive which you want to load the MacOS installation, Mine is “sde”, then run command:
sudo dd if=~/Desktop/MacOS.iso of=/dev/sde