Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Install VirtualBox.
Create a Ubuntu virtual machine.
Install extension package.
enable USB support
select the flash drive you want to format to connect to the VM.
use linux commands to format the disk. For example, use
fdiskto manage partition tables on the falsh drive andmkfs.fat,mkfs.ext4, etc to format the flash drive.