Page 1 of 2

Cloning failed on a CD image that's not attached. - Solved

Posted: 28. Jul 2012, 00:39
by markfilipak2
My attempt to clone a machine ended with failure.
VirtualBox - Error wrote:Failed to clone the virtual machine Comstock's Basic WinXP.

Cannot register the DVD image 'F:\Angie\Surfer's Basic WinXP\WDO_Media32.iso' {b4eecfee-32e8-404a-b5bc-9c36128a23c3} because a CD/DVD image 'F:\Angie\Comstock's Basic WinXP\WDO_Media32.iso' with UUID {b4eecfee-32e8-404a-b5bc-9c36128a23c3} already exists.

Result Code: E_INVALIDARG (0x80070057)
Component: VirtualBox
Interface: IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}
File listing wrote:f:\Angie\Comstock's Basic WinXP\Logs\
f:\Angie\Comstock's Basic WinXP\cd.iso
f:\Angie\Comstock's Basic WinXP\Comstock's Basic WinXP.vbox
f:\Angie\Comstock's Basic WinXP\Comstock's Basic WinXP.vbox-prev
f:\Angie\Comstock's Basic WinXP\Comstock's Basic WinXP.vmdk
f:\Angie\Comstock's Basic WinXP\Comstock's Basic WinXP-flat.vmdk
f:\Angie\Comstock's Basic WinXP\HBCD 15.1.iso
f:\Angie\Comstock's Basic WinXP\Read Me.txt
f:\Angie\Comstock's Basic WinXP\VBOXADDITIONS_4.iso
f:\Angie\Comstock's Basic WinXP\WDO_Media32.iso
f:\Angie\Comstock's Basic WinXP\XP_PRO_SP3 guest.iso
VBox.log
(72.24 KiB) Downloaded 12 times
4.1.18r78361 on WinXP-SP3.

I looked in VBox Help... I searched this forum for similar... What's the problem? Can anyone help? Thanks in advance. - Mark.

Solution:
The storage media files (e.g., CD ISOs) can be anywhere except in the same folder with a VM. (Nothing else really matters.)

Re: Cloning failed on a CD image that's not attached.

Posted: 28. Jul 2012, 01:05
by Perryg
From the hosts terminal/command window type VBoxManage showvminfo <VM Name> --details and post here. Replace <VM Name> with the actual name of the VM. Use " " if the name has a space in it.

Note if the host is Windows you need to be in the directory that has VBoxManage.exe for the command to work.

Also how are you cloning, VBoxManage or the main manager (GUI), Linked or full?

Re: Cloning failed on a CD image that's not attached.

Posted: 28. Jul 2012, 01:34
by markfilipak2
Perryg wrote:From the hosts terminal/command window type VBoxManage showvminfo <VM Name> --details and post here.
I've done some more work and have run the VM again since I posted. Do you want me to back up and repeat trying to make the clone before I run the command above, or can I run it as the VM is now?
Perryg wrote:Also how are you cloning, VBoxManage or the main manager (GUI), Linked or full?
Full.

Thanks, Perry. - Mark.

Re: Cloning failed on a CD image that's not attached.

Posted: 28. Jul 2012, 01:39
by Perryg
If you have not changed anything just post the command results. I need to see the structure.

Re: Cloning failed on a CD image that's not attached.

Posted: 28. Jul 2012, 01:44
by markfilipak2
Since I posted this problem, I booted the VM to a CD ISO. Assuming that it doesn't matter, I've attached the details. If you want me to repeat my attempt to clone and THEN get the details, kindly let me know. Thanks! - Mark.

Re: Cloning failed on a CD image that's not attached.

Posted: 28. Jul 2012, 01:52
by Perryg

Code: Select all

IDE Controller (0, 0): F:\Angie\Comstock's Basic WinXP\Comstock's Basic WinXP.vmdk (UUID: 8d1f6437-294c-4b05-be46-0c6dbd8b1109)
IDE Controller (0, 1): F:\Angie\Comstock's Basic WinXP\WDO_Media32.iso (UUID: b4eecfee-32e8-404a-b5bc-9c36128a23c3)
Ok so the primary slave shows that the CD is mounted, but you are saying that it is not?
If you have verified that the media32.iso is not mounted to the virtual CD I need for you to shut down the guest and close the VirtualBox main manager and start the main manager and try to clone. Let me know the results.

Re: Cloning failed on a CD image that's not attached.

Posted: 28. Jul 2012, 01:57
by markfilipak2
When I tried to make the clone, the CD ISO WAS NOT attached... There was nothing attached except the virtual hard disk. After I posted, I attached the CD ISO in preparation for another posting I'm going to make regarding a failure there. I hope that's clear.

I will now remove the CD ISO and try cloning again. I'm sure it will fail again. I will post the results including the --details you have requested... Please stand by. Thanks! - Mark.

Re: Cloning failed on a CD image that's not attached.

Posted: 28. Jul 2012, 02:04
by Perryg
OK. I am watching the start of the Olympics so no hurry.

Re: Cloning failed on a CD image that's not attached.

Posted: 28. Jul 2012, 02:21
by markfilipak2
Perryg wrote:OK. I am watching the start of the Olympics so no hurry.
Hahahahahahahahahahahaha...

Okay, here's the results
VirtualBox - Error wrote:Failed to clone the virtual machine Comstock's Basic WinXP.

Cannot register the DVD image 'F:\Angie\Surfer's Basic WinXP\WDO_Media32.iso' {b4eecfee-32e8-404a-b5bc-9c36128a23c3} because a CD/DVD image 'F:\Angie\Comstock's Basic WinXP\WDO_Media32.iso' with UUID {b4eecfee-32e8-404a-b5bc-9c36128a23c3} already exists.

Result Code: E_INVALIDARG (0x80070057)
Component: VirtualBox
Interface: IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}
VBoxManage showvminfo 'Comstock's Basic WinXP' -- details.txt
I watched the production. A new folder was created. It's filespec was: F:\Angie\Surfer's Basic WinXP\ . The folder was populated with a .vbox file & a .vmdk file. Then a progress bar indicated the progress writing the new .vmdk file. That took about 3 minutes. When the progress bar reached 100%, the error above was displayed and the folder was deleted.

Thanks for your help. - Mark.

Re: Cloning failed on a CD image that's not attached.

Posted: 28. Jul 2012, 02:29
by Perryg
OK without changing anything. Shut down the guest and VirtualBox. Wait 20 seconds and start it up again then see if the clone works.

Re: Cloning failed on a CD image that's not attached.

Posted: 28. Jul 2012, 02:31
by markfilipak2
The clone doesn't exist - Mark.

PS: The clone's folder and files were deleted by the cloning utility. - M.

Re: Cloning failed on a CD image that's not attached.

Posted: 28. Jul 2012, 02:39
by Perryg
I meant to see if you could run the clone again and that it works.

Re: Cloning failed on a CD image that's not attached.

Posted: 28. Jul 2012, 02:48
by markfilipak2
Perryg wrote:I meant to see if you could run the clone again and that it works.
I assume you meant to write "run the original again".

"Surfer's Basic WinXP" is the clone. It doesn't exist. When the cloning utility put up the error, it also deleted the clone.

"Comstock's Basic WinXP" is the original. It still runs.

Re: Cloning failed on a CD image that's not attached.

Posted: 28. Jul 2012, 02:55
by Perryg
OK let me try again. You have removed the cd, shut down and restarted both guest and the main manager. Now try to clone the guest again and see if it works this time.

Re: Cloning failed on a CD image that's not attached.

Posted: 28. Jul 2012, 03:00
by markfilipak2
If I may conjecture a cause... I have stored everything that can be attached to "Comstock's Basic WinXP" in the same folder with the .vbox & .vmdk files. I did that to facilitate portability. Could it be that that is creating a problem for the cloning utility?

It appears that the cloning utility is copying all files in the original's folder, not just the .vbox & .vmdk files. Why it would do that, I don't know. When it encounters a .iso file in the clone that has the same UUID as a .iso file in the original's folder, it pukes.

What do you think? I could run a test...

YOUR POST JUST CAME THROUGH AS I ATTEMPTED TO POST THIS REPLY.

I am trying to clone from a clean parent (original). It has NO CD ISOs attached. The only attached storage is the virtual hard disk. The cloning process seems to work, but at the end I get the error and the cloning utility deletes the clone (leaving only the parent) and puts up the error.

PS: Stand by...