I'm having a really bad experience with VB console.
admin, win7-x86, VB 5.2.30-130521 + extension pack same version, downloaded from official site.
when I want to create a simple .vmdk file from usb pendrive bootable, I receive the message in topic.
I tried with single quotes, double quotes, no quotes, reinstalled VB, power off antivirus:
nothing to do.
note that usb device is no mounted on win, or, to put it better, I didn't assign a volume letter to device, then it shoul be available to vb console, isn't?
what's the matter?
tomorrow I will redo same test on different host but always win7sp1.
EDIT: drive1 is my pendrive. thanks in advance for good answers.
this is a paste from console:
Code: Select all
C:\Program Files\Oracle\VirtualBox>VBoxManage internalcommands createrawvmdk –filename "C:\Temp\test_01.vmdk" –rawdisk \\.\PhysicalDrive1
Oracle VM VirtualBox Command Line Management Interface Version 5.2.30
(C) 2005-2019 Oracle Corporation
All rights reserved.
Usage: VBoxManage internalcommands <command> [command arguments]
Commands:
createrawvmdk -filename <filename> -rawdisk <diskname>
[-partitions <list of partition numbers> [-mbr <filename>] ]
[-relative]
Creates a new VMDK image which gives access to an entire host disk (if
the parameter -partitions is not specified) or some partitions of a
host disk. If access to individual partitions is granted, then the
parameter -mbr can be used to specify an alternative MBR to be used
(the partitioning information in the MBR file is ignored).
The diskname is on Linux e.g. /dev/sda, and on Windows e.g.
\\.\PhysicalDrive0).
On Linux or FreeBSD host the parameter -relative causes a VMDK file to
be created which refers to individual partitions instead to the entire
disk.
The necessary partition numbers can be queried with
VBoxManage internalcommands listpartitions
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 parameter '–filename'