VDI is the native format for VirtualBox and generally offers better stability and performance.

: It ensures the user provides two arguments: the source disk (e.g., /dev/sdb ) and the target VDI filename.