Unable to clone VHD drive - VERR_INVALID_PARAMETER

Discussions related to using VirtualBox on Windows hosts.

Unable to clone VHD drive - VERR_INVALID_PARAMETER

Postby DerekTheGeek » 7. May 2009, 23:04

Hi All,

I am trying to use VBoxManager.exe (version 2.2.2) to clone a VHD file I first created with Virtual PC 2007 and then mounted using VirtualBox v2.2.2 r46594. I created the VHD image using Virtual PC 2007 but then moved to VirtualBox because of the better feature set. I had no problem using the VHD file from VirtualBox and once I got Win2003 Server (the guest OS) running to where I wanted it, I attempted to clone the VHD image.

I used the following via command prompt ...

Code: Select all   Expand viewCollapse view
VBoxManage clonehd --format VHD "Y:\Virtual Machines\Windows 2003 Server.vhd" "Y:\Virtual Machines\win2k3_base.vhd"

I got the following response ...

Code: Select all   Expand viewCollapse view
C:\Program Files\Sun\xVM VirtualBox>VBoxManage clonehd --format VHD "Y:\Virtual
Machines\Windows 2003 Server.vhd" "Y:\Virtual Machines\win2k3_base.vhd"
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

0%...FAILED
Error: failed to clone hard disk. Error message: Could not create the clone hard
disk 'Y:\Virtual Machines\win2k3_base.vhd' (VERR_INVALID_PARAMETER)

I am not sure what parameter it thinks is invalid. I am using WinXP as my host machine (my dev platform) and the "Y:" drive is an external USB hard disk that is powered, formatted as NTFS, and has over 156 GB of free space available. I am at a loss and I really want to continue using VirtualBox. Is there another way to clone a virtual disk image for use with VirtualBox? Does anyone have any thoughts or suggestions? Thanks.
DerekTheGeek
 
Posts: 3
Joined: 7. May 2009, 22:36
Primary OS: MS Windows 2003
VBox Version: PUEL
Guest OSses: Windows 2003 Server

Re: Unable to clone VHD drive - VERR_INVALID_PARAMETER

Postby Perryg » 8. May 2009, 00:50

I have not been able to clone or export a VHD file either so I feel it must me a bug. Feel free to click bugtracker below my post and fill out a report. You will need to setup a new account with them the first time to be able to post.
Forum Guidelines -- VirtualBox HOWTOs -- Bugtracker -- Forum Howto -- Search VB Forum with YOUR KEYWORDS

Please read the Users Manual. It is located in the VirtualBox program under help and content before posting your questions.
|
Perryg
Site Moderator
 
Posts: 4963
Joined: 6. Sep 2008, 22:55
Location: Omaha, Nebraska USA
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Everything

Re: Unable to clone VHD drive - VERR_INVALID_PARAMETER

Postby DavidS » 21. May 2009, 09:56

I experienced the identical problem with VirtualBox 2.2.2. The host is Vista x64 running on an Intel processor with hardware VT support. The guest is Windows XP x86. I cannot clone a VHD disk to a VHD or to a VDI.
DavidS
 
Posts: 2
Joined: 20. May 2009, 23:46
Primary OS: MS Windows Vista
VBox Version: OSE Debian
Guest OSses: Windows XP


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: Ask Jeeves [Bot] and 5 guests