CloneVDI tool - Discussion & Support

Discussions related to using VirtualBox on Windows hosts.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: CloneVDI tool - Discussion & Support

Post by mpack »

Yes, I think a separate discussion about activation issues would be a good idea. I'll certainly participate. Perhaps it may even turn into another sticky.
SergioTorresC
Posts: 15
Joined: 19. Sep 2009, 02:35
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, Server 2003 and 7
Contact:

Re: CloneVDI tool - Discussion & Support

Post by SergioTorresC »

Don,

Sorry, I got the same error message.

Please see attached images showing my VHD file properties (It is not a split disk) and CloneDVI error message when I try to read it.

Yesterday I tried to use Virtual PC ("Convert to a fixed-size virtual hard disk" option) to create a smaller VHD file. After 3 or 4 hours it got stucked showing an advance of about 50%, so I canceled it.

I opened the VM inside Virtual PC 2007 and ran a File System check and repair. Then I deleted non needed files, ran disk defragmenter and sdelete -c (to zero empty space).

I tried again both procedures (create a new fixed-size disk and clonedvi), to no avail.

I tried clonedvi and modifyhd with my VHD file registered and not registered with Virtual Box.

I registered the file with Virtual Box and created a new VM. It seemed to work (I began receiving all those messages about activation and new hardware found, so I just turned it off).

My host OS is Vista Ultimate 64 bits. If you need any other info about my host or setup,just let me know.
Attachments
clonedvi error message
clonedvi error message
CloneDVI-1.2.1-Message.jpg (52.64 KiB) Viewed 48684 times
VHD properties
VHD properties
VHD Properties.jpg (32.13 KiB) Viewed 48680 times
Teofast
Posts: 1
Joined: 21. Sep 2009, 20:44
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: Windows

Re: CloneVDI tool - Discussion & Support

Post by Teofast »

I've spent a whole day cloning a lot of VDI and in the evening have found your tool :D . It's great and much faster (more then twice) for my 2.5 Gb images then native clonehd. Thanks a lot for this grate tool.

I think it on the top of mind of everyone and even in you RN, that it would be nice to have ability of cloning the whole machine at least to avoid "first boot alert". Is it something you might implement if feature?

Nice utility, thanks.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: CloneVDI tool - Discussion & Support

Post by mpack »

SergioTorresC wrote:Sorry, I got the same error message.
Ok, I got the idea to use VBoxManage to clone my biggest VDI (17GB) to a VHD, giving me a big VHD I can use for testing. That seemed to take forever! However, it was worth it because I can confirm that I do get the same message as you. I also confirmed that VirtualBox loads the VHD ok, which means there's nothing wrong with it. Bug confirmed, watch this space!
SergioTorresC
Posts: 15
Joined: 19. Sep 2009, 02:35
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, Server 2003 and 7
Contact:

Re: CloneVDI tool - Discussion & Support

Post by SergioTorresC »

Thank you Don,

Just a thought: Since vboxmanage clonehd does not work either in my PC, could it be something to do with the 64 bits OS? I tried running clonehd from a console opened as administrator, so it is not a permission thing.

Sergio
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: CloneVDI tool - Discussion & Support

Post by mpack »

Teofast wrote:it would be nice to have ability of cloning the whole machine at least to avoid "first boot alert". Is it something you might implement if feature?
Sorry, I don't think I would want to implement that feature: I don't think my software should be messing with VirtualBox's private settings files. Any changes Sun makes to the layout would either break my tool, or I might break VirtualBox.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: CloneVDI tool - Discussion & Support

Post by mpack »

SergioTorresC wrote:Just a thought: Since vboxmanage clonehd does not work either in my PC, could it be something to do with the 64 bits OS?
I have to admit that VBoxManage has always worked for me, though I've never tried to compact a VHD as you did originally. VBoxManage is slow, and it doesn't do a lot of things I might want, but for me it does work.

It can't be a 64bits thing since my host, and the guest I cloned, are both 32bit.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: CloneVDI tool - Discussion & Support

Post by mpack »

Ok Sergio: I think I found the bug, and I have just successfully converted a 17GB VHD file to a VDI file, and the resulting VDI works fine in VirtualBox.

CloneVDI v1.22 is now available in the root message. Would you like to try again (third time lucky? :-))
SergioTorresC
Posts: 15
Joined: 19. Sep 2009, 02:35
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, Server 2003 and 7
Contact:

Re: CloneVDI tool - Discussion & Support

Post by SergioTorresC »

Don,

The trial was a success:
Your program converted my vhd into a vdi.
Compacted it from 52.2 GB to 14.0 GB.
Took 33 minutes to do it.

I am having to tune up some things (like NIC configuration), but it is not your program fault. I guess the problem is that I did not uninstall the Guest Additions before cloning the file.

Great job! Thank you!

I'll let you know if any problem arises.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: CloneVDI tool - Discussion & Support

Post by mpack »

SergioTorresC wrote:The trial was a success
Excellent, thanks for letting me know.
wmeyer
Posts: 66
Joined: 14. May 2009, 18:42
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows 7

Re: CloneVDI tool - Discussion & Support

Post by wmeyer »

Now that you have added VHD read support, I will give it a try here. I have a 60GB VHD file I'd like to convert, and subsequently compact. Should be interesting, though I may have to do it in my home environment, where I have more drive space. I'll get back to you with the results.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: CloneVDI tool - Discussion & Support

Post by mpack »

wmeyer wrote:Now that you have added VHD read support, I will give it a try here. I have a 60GB VHD file I'd like to convert, and subsequently compact.
There's no need to do the convert and compact as separate steps; doing it in one step will be faster and use less disk space. It also doesn't entail extra risk since you will always have the original VHD to go back to (at least until some way down the road when you decide to delete it).
wmeyer
Posts: 66
Joined: 14. May 2009, 18:42
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows 7

Re: CloneVDI tool - Discussion & Support

Post by wmeyer »

There's no need to do the convert and compact as separate steps; doing it in one step will be faster and use less disk space. It also doesn't entail extra risk since you will always have the original VHD to go back to (at least until some way down the road when you decide to delete it).
Excellent! Thanks for pointing that out.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: CloneVDI tool - Discussion & Support

Post by mpack »

Do remember to provide some feedback, let us know how you got on. Did it work? Did the tool work at an acceptable speed? Was the compaction effective? Answers to those questions will give confidence to other users.
nardrish
Posts: 7
Joined: 16. Sep 2009, 10:54
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: XP Pro

Re: CloneVDI tool - Discussion & Support

Post by nardrish »

I have been using VirtualBox for sometime now (upgraded to 3.0.6 PEUL). But the part I dislike most is when I need to increase disk space. I would formerly ghost the partition, delete the .vdi, create a new vdi with a bigger partition and then restore the ghost image. A pretty time consuming task. I had to do it again and I refused this time, sat down and started surfing Google and WHOA! I came across this tool (CloneVDI) and tried it out and man I can say, this is a real time saver and FAST!! I was working on some project and needed to try out in a test environment and was working on Windows 2003 Standard Server (downloaded the 180days free trial s/w from Microsoft's website along with SQL). This tool is GREAT stuff!!

What I'd like to see if VirtualBox can take it to the next few levels up to just increase the disk space without having to clone to get the increase, like in VMWare Server free edition where we can just increase the disk space. I'm ok with using GParted Live CD to expand partition after the increase in the disk space. Beats having to go through all the manual trouble with ghost.

Thanks MPack! I love the speed! :D

Ezra...
Post Reply