Just one question for you if you are following this thread - if I install getvirtualbox on the PC that is already running VB from the repos, you say it will over-write all of the current VB install except the two specified files. Will it also remove my current VM? I don't want to lose that!
No, Tex has assured us your VMs are safe. Let's assume, though, that you need backup copies of your VMs. Where are they? When you first run VirtualBox, it creates the directory
~/.VirtualBox.
~ is the symbol for your home directory, and the folder VirtualBox is hidden because of the dot before the name. Look in that folder and you'll find 2 more folders, HardDisks and Machines. The HardDisks folder contains all the .vdi hard disk files you will create. The Machines folder stores descriptions and state information for each different virtual machine. For example, you may have a machine in the saved state, or you may have created VirtualBox backups of a previous machine state. All that type of information is stored in the Machines folder. The files you see listed in the main ~/.VirtualBox directory are main configuration files and are not to be tampered with. In order to backup all your machines, you simply copy the hidden VirtualBox directory in your home directory to another location. By all means, rename the copied folder or remove the leading dot so the folder is normally visible.
I don't like losing some of mine, either. If I've done a new, clean install of the operating system, I first install VB from Synaptic. By the way, getvirtualbox
is officially supported. If you find it in one of the PCLinuxOS repositories, it is supported. Anyway, after adding VirtualBox to a fresh install, I simply copy the backup to my home directory, then rename the folder to .VirtualBox. When I start the actual program, all my machines are there, like ducks in a row.
Yes, I "watch" the threads I have posted to. After I've logged in to the forum, I generally click the
Show new replies to your posts link. Sometimes I can't remember where I've been, so I need a road map.