Page 1 of 1

About "convertdd stdin" vboxmanage command

Posted: 31. Dec 2008, 18:49
by helehele
The command (now is "convertfromraw stdin" in 2.1.0) looks not applying to windows hosts, is it?

Posted: 31. Dec 2008, 20:23
by Sasquatch
What gives you that idea? This is taken from a Windows machine:

Code: Select all

VBoxManage convertfromraw   [-static] [-format VDI|VMDK|VHD]
                            <filename> <outputfile>
VBoxManage convertfromraw   [-static] [-format VDI|VMDK|VHD]
                            stdin <outputfile> <bytes>
That is what I get when issueing a VBoxManage.exe --help.

Posted: 1. Jan 2009, 01:59
by helehele
but

Code: Select all

C:\>vboxmanage convertdd stdin c:\sample.vdi 512
VirtualBox Command Line Management Interface Version 1.6.4
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.

Usage:

VBoxManage convertdd        <filename> <outputfile>
VBoxManage convertdd        stdin <outputfile> <bytes>


Syntax error: Incorrect number of parameters

C:\>vboxmanage convertdd stdin c:\sample.vdi
VirtualBox Command Line Management Interface Version 1.6.4
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.

Converting VDI: from DD image file="stdin" to file="c:\sample.vdi"...
File="stdin" open error: File not found.

C:\>

Posted: 1. Jan 2009, 02:43
by Sasquatch
You misread the syntax. As you can see, there are two, almost identical syntaxis. The first is where you specify a source and destination, the other is the stdin line. Stdin means that it will ask you on the command prompt for the rest of the syntax. This is commenly used in Linux enviroments, but as Windows is more graphical, it's not so widely known to it's users.

Posted: 3. Jan 2009, 03:32
by helehele
Does stdin parameter apply to Windows?

Posted: 4. Jan 2009, 21:21
by Sasquatch
Stdin is a globally used word for default input on a command line. So it applies to all Operating Systems.