VirtualBox

#21214 closed defect (fixed)

Can't create a raw vmdk in Virtualbox 7.0.2 => fixed in svn/7.0.x x>2

Reported by: soldier4messiah Owned by: BP
Component: VMM/RAW Version: VirtualBox-7.0.2
Keywords: Cc:
Guest type: Linux Host type: Linux

Description (last modified by BP)

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 (3)

comment:1 by soldier4messiah, 23 months ago

Just so you know: I am using Ubuntu Cinnamon 22.04. Thank you.

comment:2 by BP, 23 months ago

Description: modified (diff)
Owner: set to BP
Status: newassigned

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.

comment:3 by BP, 22 months ago

Resolution: fixed
Status: assignedclosed
Summary: Can't create a raw vmdk in Virtualbox 7.0.2Can't create a raw vmdk in Virtualbox 7.0.2 => fixed in svn/7.0.x x>2

This issue has been resolved in VirtualBox 7.0.4 which was just released (today, November 18th, 2022) and is available for download from https://www.virtualbox.org/wiki/Downloads.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy