used IDE for the virtual disk.
Did you try using a SATA disk? I had similar problems with VirtualBox a while back and was helpfully told:
You're using the IDE disk controller, which is ancient and is known buggy on DragonFly BSD... So change to SATA, NVMe or virtio, and they should just work.
