How can I erase all partitions or all drive so that at the output I can get a drive with 1 partition?
Is it possible to do this in Dom0 or I must mount this in one of the templates and do this all stuff in there?
There is fdisk or with gparted on dom0:
sudo qubes-dom0-update gparted
sudo gparted
* remember to eject the drives wherever they are monted, even on dom0.
Thank you very much!