Virtual Box, Disk Images, and EFI
To use it with VirtualBox we need to convert it to the VDI format:
VBoxManage convertdd sdb.raw sdb.vdi --format VDI
To use it with VMware we need to convert it to the VMDK format:
VBoxManage convertdd sdb.raw sdb.vmdk --format VMDK
VBoxManage modifyvm "VM name" --firmware efi
To switch back to using the BIOS:
VBoxManage modifyvm "VM name" --firmware bios