.

Restore Old Windows XP/Vista/7 in New VirtualBox Install

English   English (change)
  • Digg
  • Twitter
  • Technorati
  • del.icio.us
  • Facebook
  • MySpace
  • Reddit
  • StumbleUpon
  • LinkedIn
  • email

Set Up Previous VirtualBox Machines in Minutes

reinstate virtualbox machines fast

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.

the_guv's sistasite: Setup The Ultimate VPS

"Blank box to top-notch web server"

  • plain English copy/paste tutorials with video
  • written for VPS beginners and Linux newbies
  • perfect for multiple sites, blogs & more
  • Fast. Secure. Future-proofed. Cheap-as-chips!
  • "Wow!!" "godsend!!" "GREAT!!!" "awesome"

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.

How to Reinstate VirtualBox Machines Easily in Ubuntu

If you already know your way around Linux, here's the truncated method:-

  • backup .VirtualBox directory from /home/USERNAME
  • install VirtualBox in new OS, don't run it yet
  • pull across backed up .VirtualBox folder to new /home/USERNAME directory
  • run VirtualBox and start up virtual OS'es in the regular way

Or if you're not sure about that, read on for the detail ..

Where Do VirtualBox Virtual Operating Systems Live?

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

Reinstalling 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.

Restoring Former Virtual Operating Systems in Ubuntu

Open up your /home/USERNAME directory and simply copy to it your old /home/USERNAME/.VirtualBox folder, in its entirety.

Running Old Virtual Operating Systems in Ubuntu

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:-



If you liked that ...
... maybe you'll like these?

.