Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-09-2013, 01:37 PM   #1
Registered: Jul 2007
Location: NY, NY
Distribution: RHEL, CentOS, FC, Ubuntu
Posts: 115

Rep: Reputation: 17
Cannot create VirtualBox hd image - VBoxManage: error: Failed to create hard disk

VBoxManage createhd --filename hard_drive --size 6144 --format VDI --variant Split2G
Progress state: VBOX_E_FILE_ERROR
VBoxManage: error: Failed to create hard disk
VBoxManage: error: Could not create the medium storage unit 'hard_drive.vdi' (VERR_VD_INVALID_TYPE)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium
VBoxManage: error: Context: "int handleCreateHardDisk(HandlerArg*)" at line 423 of file VBoxManageDisk.cpp
This is actually a SOLUTION and not a problem, as I spent a few hours this morning wondering why this was failing and could not google anything that gave me an answer.

You can't use the Split2G variant with a .VDI format. You need to use another (I chose .VHD). The error message is rather uninformative and didn't point to the answer. I hope this helps someone else to a quick resolution.
Old 01-10-2013, 09:06 AM   #2
Registered: Jul 2007
Location: NY, NY
Distribution: RHEL, CentOS, FC, Ubuntu
Posts: 115

Original Poster
Rep: Reputation: 17

I caught later that, while .VHD format stops the errors and creates a disk file, you need to choose .VMDK to accomplish what I wanted, the Split2G.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using 'dd' and 'gzip' to create a disk image. Restoring image: can't find lvm_root. skiman1979 Linux - Desktop 2 02-25-2012 05:42 AM
Create Single Disk Image from 5 disk RAID 5 setup? slimjim Linux - Software 3 12-13-2011 05:34 AM
Not able to create virtual disk in VirtualBox harry2006 Linux - Software 1 09-26-2008 01:06 PM
Is it possible to create an image from Virtualbox windows drive andextract itto real? nadavvin Linux - General 2 04-12-2008 09:07 AM
How to create disk image with Linux? zaoka Linux - Software 3 07-14-2005 03:29 PM

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration