I build VirtualBox OSE from SVN(currently revision 6883).
I've tried the internal command createrawvmdk, as described in the VirtualBox user manual, section 9.9.1. But it seems that my VBoxManage does not support createrawvmdk:
Code: Select all
lisa@HauptPC:~$ VBoxManage internalcommands createrawvmdk
VirtualBox Command Line Management Interface Version 1.5.51_OSE
(C) 2005-2008 innotek GmbH
All rights reserved.
Usage: VBoxManage internalcommands <command> [command arguments]
Commands:
loadsyms <vmname>|<uuid> <symfile> [delta] [module] [module address]
This will instruct DBGF to load the given symbolfile
during initialization.
unloadsyms <vmname>|<uuid> <symfile>
Removes <symfile> from the list of symbol files that
should be loaded during DBF initialization.
setvdiuuid <filepath>
Assigns a new UUID to the given VDI file. This way, multiple copies
of VDI containers can be registered.
WARNING: This is a development tool and shall only be used to analyse
problems. It is completely unsupported and will change in
incompatible ways without warning.
Syntax error: Invalid command 'createrawvmdk'
Code: Select all
...
#ifndef VBOX_OSE
HRESULT CmdListPartitions(int argc, char **argv, ComPtr<IVirtualBox> aVirtualBox, ComPtr<ISession> aSession);
HRESULT CmdCreateRawVMDK(int argc, char **argv, ComPtr<IVirtualBox> aVirtualBox, ComPtr<ISession> aSession);
#endif /* !VBOX_OSE */
...
Code: Select all
int handleInternalCommands(int argc, char *argv[], ComPtr <IVirtualBox> aVirtualBox, ComPtr<ISession> aSession)
{
...
#ifndef VBOX_OSE
if (!strcmp(pszCmd, "listpartitions"))
return CmdListPartitions(argc - 1, &argv[1], aVirtualBox, aSession);
if (!strcmp(pszCmd, "createrawvmdk"))
return CmdCreateRawVMDK(argc - 1, &argv[1], aVirtualBox, aSession);
#endif /* !VBOX_OSE */
...
}
Have fun,
eiffel56