In the manual partitioning stage of Subiquity (Ubuntu Server installer), there is a list of the disks, in the form of ids.
However, those are slightly different from the /dev/disk/by-id entries.
For example, Subiquity displays VBOX_HARRDISK_VB_01234_56789, while the corresponding /dev/disk/by-id file is scsi-0ATA-VBOX_HARRDISK_VB_01234_56789.
Where does the former come from? Is there any way to programmatically obtain it from the terminal (excluding text processing)?
lsblk -o name,model,serialorLANG=C sudo parted -ls | grep 'Model:'and in your particular case it is the device ID of the virtual disk of VirtualBox. – sudodus Jul 05 '21 at 22:19