With macOS versions 10.9 (Mavericks) and above, if I try to clean install from bootable USB after flashing the USB with a .dmg image using balenaEtcher (on Windows), the install fails after verifying the InstallESD.dmg. In the logs, the installer complains that there is no room to write to the device. Apparently, the install process needs to be able to write to the USB device during installation. Since balenaEtcher creates a partition on the USB that is exactly the same size as the image, there is no room to write data (0 bytes free.)
If I restore the same .dmg to USB using Disk Utility on macOS, it creates a partition the same size as the USB device. This allows plenty of room on the USB for the installer to write data, and the OS installation succeeds. Is it possible to change this behavior in balenaEtcher so the partition fills the USB device, or at least add the option to have the partition fill the device? Without this option, it appears that I cannot clean install newer versions of macOS using a bootable USB that is imaged by balenaEtcher.