Page 1 of 1

Attach vhd copy to virtualbox

Posted: 9. Jan 2011, 23:48
by PepperX
Hi, like the title reads I'm trying to use an existing .vhd in my virtualbox.

I click New ->Next -> Choose a name and the target OS -> Next -> I choose a memory size -> ...

Here is where the troubles begin, creating a virtual harddrive. Accoarding to guides I've read I'm supposed to use an existing harddrive and then pick the vhd-file I want to use. Here is where I get an error message like "Failed to open harddrive C:\path\image.vhd. The medium C:\path\image.vhd can't be used as the requested device type"

What could I be doing wrong?

Re: Attach vhd copy to virtualbox

Posted: 10. Jan 2011, 00:21
by BillG
Wnere did this .vhd file come from? Are you sure that it is a bootable system image?

I have created lots of vms using an existing .vhd or .vdi file and have never seen that message.

Re: Attach vhd copy to virtualbox

Posted: 10. Jan 2011, 09:03
by PepperX
Hi, thanks for your reply.

I have started this image before on virtualbox, but I can't remember if I followed the exact same procedure. So yes, it's supposed to work.

Re: Attach vhd copy to virtualbox

Posted: 10. Jan 2011, 16:52
by PepperX
Ok, now the issue is "solved". I again copied the source image from another computer to my own. I managed to start that image, but recieved new errors as virtualbox unexpectedly stopped working each time I started an image. So I reinstalled virtualbox and again transfered the source image to my computer, and now it works again. One problem though: I cannot create snapshots, I only get new error messages. But that will have to be for a new thread if I can't solve it. Right now I can at least get back to work.

Re: Attach vhd copy to virtualbox

Posted: 31. Aug 2011, 21:49
by leecallen
I experienced this problem today, moving a .VHD file into VirtualBox. In my case the problem was ownership/permissions of the VHD file. Once I changed the ownership so that my regular user ID has access to it, VirtualBox accepted it.