English (change)

Problem: After a fresh install of VirtualBox, perhaps in a new Linux installation, how can you seamlessly restore previous virtual operating systems, working as before? Here is how ..
This works for VirtualBox installed in Linux (Debian such as Ubuntu) and should work equally well for other systems such as Windows because the principle is the same. I have only tried for Ubuntu so, if you use VirtualBox as a programme on another operating system, you will have to reapply the logic.
Ubuntu & Debian, Nginx (beats Apache), MySQL, PHP-FPM, Xcache, WordPress, WP MU, Drupal etccccc
For Ubuntu Linux at least, say if you are upgrading from Jaunty 9.04 to Karmic 9.10, and want to re-implement your old VirtualBox virtual operating systems, this process is wonderfully simple, resulting in you having your old VirtualBox systems, identical to before.
If you already know your way around Linux, here's the truncated method:-
Or if you're not sure about that, read on for the detail ..
You can't restore a previous virtual system state if you haven't backed it up, right?, so the first thing to do is to save it.
You can find it (or them), on Debian Linux at least, in:-
/home/USERNAME/.VirtualBox/Machines
NB: the dot before VirtualBox denotes that this is a hidden file. If you can't see the folder, you'll have to enable viewing hidden files. To do that in Ubuntu's Nautilus:-
CTRL-H
Rather than restoring just the emulated operating systems, let's restore our VirtualBox settings as well, so just copy the entire .VirtualBox directory, which includes the Machines folder. So backup:-
/home/USERNAME/.VirtualBox
In your shiny new operating system, install VirtualBox in the normal way. Here's my guide with a few cute tips:-
Emulate Virtual OSes with VirtualBox
But don't start the program just yet.
Open up your /home/USERNAME directory and simply copy to it your old /home/USERNAME/.VirtualBox folder, in its entirety.
Now start VirtualBox and access your saved virtual systems in the usual way.
How simple is that?! Way easier than reinstalling those virtual systems, complete with service packs and software, from scratch, huh?!
For more great guides into getting the most of Linux Ubuntu, why not check out this lot:-
Set up Koala .. tweak it to perfection .. & maximize productivity .. for work & play.
That's what the Karmic Koala Bible does, stepped out in easy copy/paste guides.
From Linux initiates to intermediates, here's what you need.
tomas November 27th, 2009 at 7:35 am
wow olly... you're really THE guvnr... great work... great advice... this is THE site to get it!
the_guv November 27th, 2009 at 7:57 am
@tomas .. I say, what a perceptible kind of a chap you are
Thank you, Sir.