Opened 3 years ago
Last modified 2 years ago
#21214 closed defect
Can't create a raw vmdk in Virtualbox 7.0.2 — at Version 2
Reported by: | soldier4messiah | Owned by: | paulson |
---|---|---|---|
Component: | VMM/RAW | Version: | VirtualBox-7.0.2 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Linux |
Description (last modified by )
I used this command in terminal:
VBoxManage internalcommands createrawvmdk -filename /home/ubuntusuperrootuser/physical-sdd.vmdk -rawdisk /dev/sdd
I received the following error information:
VBoxManage: error: VMDK: Image path: '/home/ubuntusuperrootuser/physical-sdd.vmdk'. Getting config interface failed VBoxManage: error: Error code VERR_INVALID_PARAMETER at /home/vbox/tinderbox/build-trunk/svn/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 '/home/ubuntusuperrootuser/physical-sdd.vmdk' VBoxManage: error: Error code VERR_INVALID_PARAMETER at /home/vbox/tinderbox/build-trunk/svn/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
Change History (2)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Description: | modified (diff) |
---|---|
Owner: | set to |
Status: | new → assigned |
Thanks for the report. The implementation for creating raw VMDK images was moved to the VBoxManage 'createmedium' subcommand in VirtualBox 7.0 however that functionality wasn't quite complete as described in ticket #21125. Also as part of that transition the 'VBoxManage internalcommands createrawvmdk' functionality was broken. In short, creating raw VMDK images on VirtualBox 7 is currently unavailable but both issues, the 'createmedium' brokenness and the 'createrawvmdk' brokenness will be addressed in the next maintenance release of Virtualbox 7. As a temporary workaround you can install VirtualBox 6.1.x and use 'createrawvmdk' there.
Just so you know: I am using Ubuntu Cinnamon 22.04. Thank you.