Cannot add existing hard disk?

This is for discussing general topics about how to use VirtualBox.
Post Reply
saschaho

Cannot add existing hard disk?

Post by saschaho »

I use a Mac and need the Internet Explorer for Website Development/Testing. So I downloaded the VPC Images for IE6, 7 and 8 from http://www.microsoft.com/downloads/deta ... laylang=en. Extracted the files and added the first vhd Image to VirtualBox. I was really happy when I saw that everything seems to work fine, but when I tried to add the second image to VirtualBox I got the error seen on the image below. The same with the third image. What's wrong? Is there an easy way of converting the vhd images to vdi?

Thanks in advance!
Bild 1.png
Bild 1.png (107.95 KiB) Viewed 3151 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Cannot add existing hard disk?

Post by Perryg »

Here is a little reading for you Change the UUID You will need to do this on the other VM's
saschaho

Re: Cannot add existing hard disk?

Post by saschaho »

Thanks for your fast answer.

I executed the command and got the reply that the image uuid was renamed. but when adding the image in virtualbox, it shows up the error again with the old uuid, so maybe it does not work with vhd images?!

But I found the converthd command which is supposed to convert images between different formats. Also vhd and vdi,but i get the following error:

Code: Select all

Mac:HardDisks xxx$ VBoxManage internalcommands converthd -srcformat VHD -dstformat VDI XP_SP3_with_IE6.vhd XP_SP3_with_IE6.vdi
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

Converting image "XP_SP3_with_IE6.vhd" with size 17179869184 bytes (16384MB)...
Error while copying the image: VERR_INVALID_PARAMETER
Mac:HardDisks xxx$ 
Have I made a mistake?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Cannot add existing hard disk?

Post by Sasquatch »

Upgrade to 2.2.4, that has the sethduuid for VHD files fixed.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
saschaho

Re: Cannot add existing hard disk?

Post by saschaho »

Thank you very much for the information. "sethduuid" worked this time. GREAT!
Now my website are going to be IE friendly :mrgreen:
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Cannot add existing hard disk?

Post by Sasquatch »

saschaho wrote:Thank you very much for the information. "sethduuid" worked this time. GREAT!
Now my website are going to be IE friendly :mrgreen:
Ew, why make them work with that dirty browser? IE7 and especially IE8 can work with the standards just fine. IE6 is too old. But that's your choice :wink:.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
saschaho

Re: Cannot add existing hard disk?

Post by saschaho »

Yeah, I don't like the IE too. I am a satisfied mac user and use Safari. But that's beyond my power, which browser the visitor is using and my clients expect their websites to "work" :wink:
Post Reply