About "convertdd stdin" vboxmanage command

Discussions related to using VirtualBox on Windows hosts.
Post Reply
helehele
Posts: 14
Joined: 30. Dec 2008, 21:31

About "convertdd stdin" vboxmanage command

Post by helehele »

The command (now is "convertfromraw stdin" in 2.1.0) looks not applying to windows hosts, is it?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
helehele
Posts: 14
Joined: 30. Dec 2008, 21:31

Post 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:\>
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
helehele
Posts: 14
Joined: 30. Dec 2008, 21:31

Post by helehele »

Does stdin parameter apply to Windows?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Stdin is a globally used word for default input on a command line. So it applies to all Operating Systems.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply