VBoxManage internalcommands createrawvmdk does not work unde

Discussions related to using VirtualBox on Solaris hosts.

VBoxManage internalcommands createrawvmdk does not work unde

Postby jbGoSolaris » 19. Dec 2013, 23:55

Latest version of VBoxManage internalcommands createrawvmdk does not work under Solaris 11.1
#
root@solaris:/home/user/VirtualBox VMs# VBoxManage internalcommands listpartitions -rawdisk /dev/rdsk/c7t0d0p0+ isainfo -k
+ CURRENT_ISA=amd64
+ test amd64 '=' amd64
+ INSTALL_DIR=/opt/VirtualBox/amd64
+ basename /usr/bin/VBoxManage
+ APP=VBoxManage
+ exec /opt/VirtualBox/amd64/VBoxManage internalcommands listpartitions -rawdisk /dev/rdsk/c7t0d0p0
Number Type StartCHS EndCHS Size (MiB) Start (Sect)
1 0x07 12 /223/20 1023/254/63 478022 206848
2 0x07 1023/254/63 1023/254/63 100 979195904
3 0xbf 1023/254/63 1023/254/63 467376 979400704
root@solaris:/home/user/VirtualBox VMs# VBoxManage internalcommands createrawvmdk -filename /home/user/VirtualBox VMs/Windows81c/Windows8c.vdi -rawdisk /dev/rdsk/c7t0d0p0
+ isainfo -k
+ CURRENT_ISA=amd64
+ test amd64 '=' amd64
+ INSTALL_DIR=/opt/VirtualBox/amd64
+ basename /usr/bin/VBoxManage
+ APP=VBoxManage
+ exec /opt/VirtualBox/amd64/VBoxManage internalcommands createrawvmdk -filename /home/user/VirtualBox VMs/Windows81c/Windows8c.vdi -rawdisk /dev/rdsk/c7t0d0p0
Oracle VM VirtualBox Command Line Management Interface Version 4.3.6
(C) 2005-2013 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 entite 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 'VMs/Windows81c/Windows8c.vdi'
root@solaris:/home/user/VirtualBox VMs#
jbGoSolaris
 
Posts: 1
Joined: 19. Dec 2013, 23:49

Re: VBoxManage internalcommands createrawvmdk does not work

Postby noteirak » 19. Dec 2013, 23:57

jbGoSolaris wrote:Syntax error: Invalid parameter 'VMs/Windows81c/Windows8c.vdi'

Your command doesn't work because you posses a parameter with space but you don't enclose it in double quotes, and you get the part after the space as an invalid parameter.
Hyperbox - Virtual Infrastructure Manager - https://kamax.io/hbox/
Manage your VirtualBox infrastructure the free way!
noteirak
Site Moderator
 
Posts: 5182
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7


Return to VirtualBox on Solaris Hosts

Who is online

Users browsing this forum: No registered users and 1 guest