Create a Machine using existing VHD.

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Weboh
Posts: 13
Joined: 8. Apr 2014, 21:17

Create a Machine using existing VHD.

Post by Weboh »

I'm having a hard time creating a machine with an existing Windows Virtual PC vhd. Whenever I try, I get the message below. How can I make this work?

Code: Select all

Result Code: 
E_FAIL (0x80004005)
Component: 
Medium
Interface: 
IMedium {05f2bbb6-a3a6-4fb9-9b49-6d0dda7142ac}
Callee: 
IVirtualBox {fafa4e17-1ee2-4905-a10e-fe7c18bf5554}
Callee RC: 
VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
Attachments
VirtualBox Error.png
VirtualBox Error.png (10.97 KiB) Viewed 2464 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Create a Machine using existing VHD.

Post by socratis »

How exactly did you create the VM? Can you post the VM's recipe? Right-click on the VM, Show in Explorer. Zip it and attach it.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Weboh
Posts: 13
Joined: 8. Apr 2014, 21:17

Re: Create a Machine using existing VHD.

Post by Weboh »

The VM that the hard drive was from was created with Windows Virtual PC. I can't attach a VirtualBox VM information file, as I can't create one. But here's the Windows Virtual PC file.
Attachments
Windows XP Mode 1.zip
(2.75 KiB) Downloaded 5 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Create a Machine using existing VHD.

Post by socratis »

Weboh wrote:I can't attach a VirtualBox VM information file, as I can't create one.
Wait a minute. Are you simply double-clicking on the VHD file? And what exactly do you mean "can't create one"?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Weboh
Posts: 13
Joined: 8. Apr 2014, 21:17

Re: Create a Machine using existing VHD.

Post by Weboh »

No, no. I'm using the standard virtual box create virtual machine button, from within virtualbox. I then tell it to use an existing hard drive for the new machine I'm creating, and that's the problem. It gives that error and won't let me create a machine.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Create a Machine using existing VHD.

Post by loukingjr »

you can't use an external hard drive to create a guest. you can attach a .vhd file if it's correct.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Create a Machine using existing VHD.

Post by BillG »

There is no legal way to run XP Mode other than in Windows 7. It is not designed to run in any other OS or as a standalone vm.
Bill
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Create a Machine using existing VHD.

Post by loukingjr »

I believe BillG is correct.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Weboh
Posts: 13
Joined: 8. Apr 2014, 21:17

Re: Create a Machine using existing VHD.

Post by Weboh »

@ loukingjr
I know. I'm trying to attach a vhd. I know it's valid because it still works in Virtual PC.

@BillG
I'm running WIndows 7. I just want it in VirtualBox because Virtual PC's native graphics driver is garbage.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Create a Machine using existing VHD.

Post by mpack »

The error message is quite clear - the VHD is a difference image, similar to a linked clone in VBox, and the base image is not available.

Providing a complete image (with control linkage) is only the first hurdle. As BillG alludes, the XP image from Win7 XP Mode needs to be activated, and it will only do so on the original Win7 host. The feature was meant to get you using Win7, it was never intended to be a permanent solution. However, it may be possible to install another license key if you have one, though it will probably have to be of the same type as the current XP image (presumably Pro, Retail). Not an XP Home key, not an OEM key.
Post Reply