I recently had to re-install my Ubuntu desktop due to issues with pulling back from using Gnome 3. I was getting dependencies errors was when I tried to run “apt-get” from the Terminal. I tried fixing it for half an hour, but I decided to go for a clean install instead to avoid wasting anymore time. Anyways, I have 5 virtual machines that I wanted to save and re-install on a new clean install of Ubuntu. Here are the steps that I took to backup and re-install Virtualbox VMs on a new clean machine.
- Back up the “Virtualbox VMs” folder to a USB drive.
- Re-install Ubuntu on the same machine or on another.
- After the clean install, copy back “Virtualbox VMs” folder to user home.
- Then, install Virtualbox.
- Start Virtualbox.
- Add VMs by invoking Machine > Add.
- Point it to corresponding .vdi file.
- Repeat until all VMs are re-installed.
- Run the VM to validate if successful.