Removing VMs, but keeping VDIs
Posted: 20. Nov 2011, 04:17
I have several VMs (different OSs) running on a Linux host. After migrating the host to a 64bit system, I found that I had to create new VMs, but was able to reuse the old VDI files. So far, everything works fine, and I'd like to delete the old (32bit) VM entries now. When I select "Remove" from the manager GUI, I am asked if I only want to remove the entries, or if I want to "delete the files containing the virtual machine" as well. Does this include the VDIs? Even if they are still used by other VMs?
What I would like to do is remove the old VMs as completely as possible, including their configuration and any snapshots, but keep the virtual disks. Is it safe to choose "Delete all files" at the Remove dialog, or should I choose "Remove only" and clean up the snapshots and other cruft manually? In the latter case, which files can I delete? The contents of my ~/.VirtualBox are:
Current version is "Oracle VM VirtualBox Manager 4.0.10_Ubuntu" running on Ubuntu Natty.
Thanks in advance.
What I would like to do is remove the old VMs as completely as possible, including their configuration and any snapshots, but keep the virtual disks. Is it safe to choose "Delete all files" at the Remove dialog, or should I choose "Remove only" and clean up the snapshots and other cruft manually? In the latter case, which files can I delete? The contents of my ~/.VirtualBox are:
. |-- Machines | |-- Crypto1_old | ..... | `-- Testerling_old |-- VDI -> /home/virtual/VDI (stored outside my $HOME to simplify backups) |-- sharedfolder |-- sharedfolder_mnt |-- VBoxSVC.log |-- VirtualBox-1.6-linux.xml |-- VirtualBox.xml |-- VirtualBox.xml-prev |-- VirtualBox.xml.1.3-linux.bak |-- compreg.dat `-- xpti.datThe subdirectories of the Machines folder all correspond to my old VMs; I guess newer versions of VirtualBox store this information somewhere else. It looks like Machines can be completely removed, as well as VirtualBox-1.6-linux.xml, VirtualBox.xml.1.3-linux.bak, and maybe VBoxSVC.log (which hasn't been touched since 2007).
Current version is "Oracle VM VirtualBox Manager 4.0.10_Ubuntu" running on Ubuntu Natty.
Thanks in advance.