Having problems and there may be a better way to get to my desired solution.
Essentially, I have been working in Virtual PC, with a base image and a couple of differential drives. Problem, is that I ran out of space with my so called dynamic base. There isn't a way to resize the drive without imaging software, so I thought I would check out VirtualBox.
So far, VirtualBox seems much more advanced, feature wise and would like to move forward with a transition but I am hesitant to lose my base images. While, VirtualBox will load VHD, I don't think this removes my problem with the original size of the VHD. So, I thought I could use the clonehd function to create VDI files from my VHD files. Every time I have tried this it has worked flawlessly... except that VirtualBox wont add them. I get the error, "Could not get the storage format of the hard disk". I have tried basically every variation of the command. I also have tried to make the original VHD file a fixed length disk instead of a dynamic disk. This also didn't solve my problem.
Does anyone have a solution or a better way to move forward. At this point, it is time consuming enough that I suppose that I should just rebuild my base images, but that is very time consuming as well.
VHD to VDI
-
glennwelker
- Posts: 5
- Joined: 18. Sep 2009, 13:59
- Primary OS: MS Windows XP
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: winxp
-
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: VHD to VDI
The problems you're facing with VPC about hard drives won't be solved with VB or switching to the VDI file format. You will get the same limitations.
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.
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.
-
glennwelker
- Posts: 5
- Joined: 18. Sep 2009, 13:59
- Primary OS: MS Windows XP
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: winxp
Re: VHD to VDI
So, is there an easy way to essentially image one drive to another with the built in tools?
-
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: VHD to VDI
Not really. You can try to clone the VHD to VDI, but if I remember correctly, that feature is not working properly. The only thing left is to create a VDI, mount that with the VHD in one VM and use CloneZilla or similar to clone the contents of the VHD to the VDI.
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.
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.
-
Entegy
- Posts: 160
- Joined: 6. Sep 2008, 23:59
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 10.04 x64, XP SP3, Server 2008 R2, Fedora 13 x86/x64
- Location: Montreal, Quebec, Canada
Re: VHD to VDI
If I'm understanding correctly, you just want to increase the size of your virtual hard drive?
Here's what I do for that:
1)Make a new VHD or VDI (I prefer VHD thanks to the VHD mounting feature in Windows 7) with new desired size
2)Connect the old drive and the new one to a virtual machine.
3)Use a Gparted LiveCD or a Clonezilla LiveCD to copy the contents of the old one to the new one.
4)Use Gparted to resize filesystems as needed.
You might also need to run a startup repair on the guest, but this is the easiest method for me.
Here's what I do for that:
1)Make a new VHD or VDI (I prefer VHD thanks to the VHD mounting feature in Windows 7) with new desired size
2)Connect the old drive and the new one to a virtual machine.
3)Use a Gparted LiveCD or a Clonezilla LiveCD to copy the contents of the old one to the new one.
4)Use Gparted to resize filesystems as needed.
You might also need to run a startup repair on the guest, but this is the easiest method for me.