Page 1 of 1
.vdi I don't want anymore
Posted: 5. Apr 2009, 17:06
by causeitsme
I installed virtualbox and made a new virtual machine as XP and it's size as 5.19 gigs virtual and 4.12 actual (XP.vdi). I then installed XP there and all was well until I tried to install anti-virus and I got a error disk full message. I fiddled around and don't know what I did exactly as this was several months ago. But, the result was I wound up with another .vdi that's 14 gigs virtual size and 4.17 actual size (NewHardDisk1.vdi). This is the one that xp is on.
I would like to get rid of the XP.vdi one so I can recover the 4.12 gigs.
I have tried to delete the smaller .vdi (XP.vdi) but then xp won't boot up and I get an error that the NewHardDisk1.vdi needs XP.vdi.
Here are some screenshots:
How can I do this?
Re: .vdi I don't want anymore
Posted: 5. Apr 2009, 17:16
by causeitsme
Sorry I left this screenshot out, couldn't find an edit button for original post.
Screenshot showing second .vdi details

Re: .vdi I don't want anymore
Posted: 5. Apr 2009, 17:51
by vbox4me2
Re: .vdi I don't want anymore
Posted: 5. Apr 2009, 21:59
by causeitsme
Yeah, I had read through most of what was in those links and through the manual, still, I don't get it.
My Snapshots:
+snapshot1 ##resides at /home/username/.VirtualBox/HardDisks/XP.vdi (##
+snapshot2 ##resides at /home/username/.VirtuaBox/HardDisks/NewHardDisk1.vdi
Current State
I can discard snapshot2 but I still have a XP.vdi and NewHardDisk1.vdi
When I try to discard snapshot1 I get a box like the following
Code: Select all
VIrtualBox - Error
Failed to discard the snapshot Snapshot 1 of the virtual machine XP.
Hard disk '/home/kimberly/.VirtualBox/HardDisks/XP.vdi' has more than one child hard disk (3).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
HardDisk2
Interface:
IHardDisk2 {ed6e2525-c2fd-42a4-917a-7a9045ac9e15}
Somehow those two files, XP.vdi and HardDisks1.vdi are tied together. So even if I use clone to clone either of those then the other is still there. I guess I need them merged, and I don't see anyway to do that.
Re: .vdi I don't want anymore
Posted: 5. Apr 2009, 22:20
by vbox4me2
Keep it simple, clone your VM in to 1 single VDI, create a new VM and attach the clone, once that works simple delete the whole old stuff.
Re: .vdi I don't want anymore
Posted: 5. Apr 2009, 22:25
by Sasquatch
Since you have snapshots, the easiest clone method would be to use CloneZilla and clone it to a new VDI, so you can remove both xp.vdi and newdisk.vdi.