Opened 16 years ago
Closed 16 years ago
#3740 closed defect (invalid)
VBoxManage clonehd "/full_path_to/ext3disk.img" "/full_path_to/disk.vdi" doesn't work
Reported by: | jors | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 2.2.0 |
Keywords: | clone clonehd disk cloning | Cc: | |
Guest type: | Linux | Host type: | Linux |
Description
When trying to clone an ext3 image file to an VDI with the command from the subject, VirtualBox fails with the following error message:
jors@superdell:~$ VBoxManage clonehd "/full_path_to/ext3disk.img" "/full_path_to/disk.vdi" --format VDI VirtualBox Command Line Management Interface Version 2.2.0 (C) 2005-2009 Sun Microsystems, Inc. All rights reserved. ERROR: Could not get the storage format of the hard disk '/full_path_to/ext3disk.img' (VERR_NOT_SUPPORTED) Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component HardDisk, interface IHardDisk, callee nsISupports Context: "OpenHardDisk(src, AccessMode_ReadWrite, srcDisk.asOutParam())" at line 562 of file VBoxManageDisk.cpp
To discard source (ext3) filesystem problems that could lead VirtualBox to don't recognize the source filesystem type, I fsck'ed the filesystem to leave it clean before the cloning operation with no luck.
I also tried the following:
- Creating a 100MB file (zero-filled with dd).
- Formatting it to ext3.
- Mount it (as loopback) and copy some files in there.
- Sync it and unmount it.
- Tried to run again "VBoxManage clonehd", with same error result.
I can remember success on the same cloning action and with the same ext3 disk image with a previous version of VirtualBox (virtualbox-2.1_2.1.4-42893_Debian_lenny_amd64.deb). Also say that the source/original ext3 disk image comes from a production Xen virtual machine.
Please, do not hesitate to contact me for any other information I could provide.
Change History (2)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Ok, my fault.
The right command to do this is "VBoxManage convertfromraw", not a bug.
PS. No coffe today :(