.

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.

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 ...
  • Add Windows & Other Systems with VirtualBox

    Here is how to use VirtualBox to install & emulate virtual operating systems to run in Linux. Launch Windows, for example, rather like any other application, with no reboot requirement. Hey, Windows even loads [...]
  • Adding Old /home Docs to a New System

    This is pretty obvious for many, but just to be clear for noobs, or those migrating from a previous Ubuntu system to a new one for the first time. If you're migrating from a previous Ubuntu OS such as Jaunty [...]
  • Dividing the Hard Drive: Food for Thought

    Pre-OS-install, mapping out data/system demands for optimal disk segmentation saves headaches down the road. Here's a heads-up to help. You don't have to, but it is a mighty good idea to put pen to paper, [...]
  • Restart Previous Apps on Reboot

    Often we need to reboot but find it annoying to have to reopen our work. Here's how to make your Ubuntu PC recall running programmes and load them when you restart the machine into another session. (This is also [...]
  • INTRODUCTION: The 25-Part Ubuntu KARMIC KOALA BIBLE

    Detailing every aspect over 25 parts, this reference helps you to set up, enhance and use the ultimate installation of Ubuntu's superb new operating system. Stepped out in easy-read copy/paste detail, these how-to [...]
  • Maintain Unmanaged VPS - Part 10: Copy Site Files between Linux/Linux Computers with the CLI

    This tutorial shows how to copy files between Linux computers using Secure Copy & a command line interface. Fast, easy & safe, better than FTP or SFTP. If you're using Windows locally, skip to VPS Admin Part [...]
... maybe you'll like these?

.