VirtualBox raw drive using UUID instead of device name
You can use the lsblk
command like this:
sudo lsblk /dev/sdaX -no UUID
To get the partition uuid but you can also use the device file system.
ls -l /dev/disk/by-uuid
To confirm which UUID you want to use. That file will refer to which ever /dev/sdX matches the UUID.
Then use that in the xboxmanage command.