Hi Chris,

If in case you wanted to merge the 3 snapshot into the hard disk VDI, I'm
afraid you cannot do that without losing your snapshots. As far as I know
you have to delete those 3 snapshots in order to merge those differencing
images.

If you want to just put all VDIs into HardDisks directory, you could try to
manipulate the .vbox XML file. But I never tried it myself, so backup it
first. :)

--
Okky Hendriansyah

On Sun, Oct 28, 2012 at 10:58 PM, Chris Green <[email protected]> wrote:

> On Sun, Oct 28, 2012 at 06:40:09AM +0700, Okky Hendriansyah wrote:
> >    On Sat, Oct 20, 2012 at 2:34 AM, Chris Green <[1][email protected]> wrote:
> >
> >      I have a Windows XP guest machine that comprises a .vdi file in
> >      ~/.VirtualBox/HardDisks and three .vdi files under the machine name
> in
> >      ~/.VirtualBox/Machines.
> >
> >      Is there any way I can save these all into a single (more compact)
> .vdi
> >      file? I don't use any of the snapshots, just the last/latest one.
> >
> >    Looking at the directory structures. it looks like you are using VDI
> >    images back from the old days of VirtualBox, please CMIIW. A VDI file
>
> Yes, you're right, these are images from a long time ago that have just
> kept working as my version of VirtualBox has moved on.
>
>
> >    could be a single disk image, or it could be a snapshot image. I
> think you
> >    cannot combine 4 disks into 1 disk if each of the VDI image is a disk
> >    image. But in case the 3 of the VDI files in ~/.VirtualBox/Machines
> >    directory are snapshot images, you can merge the snapshots to its disk
> >    parent in ~/.VirtualBox/HardDisks by deleting the Windows XP
> >    snapshots.Could you list all VDI filenames that you want to merge?
> >
> I have one file in ~/.VirtualBox/HardDisks:-
>     -rw-r--r-- 1 chris chris 3648078336 Nov 28  2008 XP MKIII.vdi
>
> ... and three snapshots in ~/.VirtualBox/Machines/XP MKIII/Snapshots:-
>     -rw------- 1 chris chris  4137763328 Nov 29  2008
> {0cdd5acb-ba1f-497a-bac8-8683ecd1ded8}.vdi
>     -rw------- 1 chris chris 19264520704 Oct 28 15:56
> {314baf06-63ab-459f-970a-614c0a16eb83}.vdi
>     -rw------- 1 chris chris 14111818240 Apr  4  2009
> {8ab31cc4-b492-4df0-8202-a27439263a08}.vdi
>
> So, I want to merge these three snapshots into the HardDisk .vdi.
>
>
> Thanks for your help so far.
>
>
> --
> Chris Green
>
>
> ------------------------------------------------------------------------------
> WINDOWS 8 is here.
> Millions of people.  Your app in 30 days.
> Visit The Windows 8 Center at Sourceforge for all your go to resources.
> http://windows8center.sourceforge.net/
> join-generation-app-and-make-money-coding-fast/
> _______________________________________________
> VBox-users-community mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/vbox-users-community
> _______________________________________________
> Unsubscribe:  mailto:[email protected]
> ?subject=unsubscribe
>
------------------------------------------------------------------------------
WINDOWS 8 is here. 
Millions of people.  Your app in 30 days.
Visit The Windows 8 Center at Sourceforge for all your go to resources.
http://windows8center.sourceforge.net/
join-generation-app-and-make-money-coding-fast/
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:  
mailto:[email protected]?subject=unsubscribe

Reply via email to