Code: Select all
$ VBoxManage internalcommands createrawvmdk -filename usbboot.vmdk -rawdisk /dev/sdd
Code: Select all
$ VBoxManage internalcommands createrawvmdk -filename usbboot.vmdk -rawdisk /dev/sdd
VBoxManage: error: VMDK: Image path: 'usbboot.vmdk'. Getting config interface failed
VBoxManage: error: Error code VERR_INVALID_PARAMETER at /home/vbox/tinderbox/lin64-rel/src/VBox/Storage/VMDK.cpp(4481) in function int vmdkRawDescParseConfig(PVMDKIMAGE, char**, uint32_t*, uint32_t*, void**, size_t*, bool*, char**)
VBoxManage: error: VMDK: could get raw descriptor for 'usbboot.vmdk'
VBoxManage: error: Error code VERR_INVALID_PARAMETER at /home/vbox/tinderbox/lin64-rel/src/VBox/Storage/VMDK.cpp(5296) in function int vmdkCreateImage(PVMDKIMAGE, uint64_t, unsigned int, const char*, PCVDGEOMETRY, PCVDGEOMETRY, PCRTUUID, PVDINTERFACEPROGRESS, unsigned int, unsigned int)
VBoxManage: error: Cannot create the raw disk VMDK: VERR_INVALID_PARAMETER
VBoxManage: error: The raw disk vmdk file was not created
The device /dev/sdd is a partitioned usb drive, 256 GB (233 GiB) in size
using a gpt partition table with one partition and a FAT32 file system.
The listpartitions command (7.0.0) works fine:
Code: Select all
$ VBoxManage internalcommands listpartitions -rawdisk /dev/sdd
Number Type StartCHS EndCHS Size (MiB) Start (Sect)
1 0x00 0 /0 /0 0 /0 /0 238559 64
VB in both 7.0.0 and 6.1.38 is the standard "All distributions" version:
VirtualBox-7.0.0-153978-Linux_amd64.run
I'd be happy to provide any other relevant info.
Thanks for reading.
All the best,
===Rich