Hi,
generally, we do not support issues related to using virtual machines, and please use a real Ubuntu PC instead. However, a few days ago, a user shared his experience on how to flash Jetson devices using a VM, and maybe you can check if his post helps.