How to Move VirtualBox’s Guest Hard Drives to Another (Physical) Location

If you ever wanted to move your (very large) file that contains a Virtualbox’s guest hard drive (file extension is .vdi) to another location and did so just like that Virtualbox wouldn’t find it the next time you wanted to boot into your guest system. The only thing Virtualbox needs to be pointed to is the new location of that file.

The standart location of VDI files is (for Linux) ~/.VirtualBox/VDI/ (see global settings, where you could also change this if that’s all you want). Remember the old file name and close Virtualbox, just in case it would overwrite settings when closed after the following changes. Now let’s move one file to, say, /media/USBDrive/virtualbox/. Now do:

  1. Use your favorite editor to open ~/.VirtualBox/Virtualbox.xml
  2. Find the line that says something like:
    <VirtualDiskImage filePath="VDI/old file name.vdi"/>
  3. Change it to point to your new location. So it should read something like:
    <VirtualDiskImage filePath="/media/USBDrive/new file name.vdi"/>
  4. Done.


  1. Baxter said,

    Wednesday, 18th Jul 2012 at 07:36

    How about remote location? How to point VirtualBox’s Guest Hard Drive on remote location, say NAS server – private pule – I’m intresting in Debian 6 or Ubuntu 10 to 12.

  2. click said,

    Friday, 25th May 2012 at 17:57

    The design for the website is a bit off in Epiphany. Even So I like your website. I may need to use a normal browser just to enjoy it.

  3. Adelaide SEO said,

    Saturday, 5th Nov 2011 at 12:47

    thanks handy comment. Anyone know what the best format for that USB drive is because some have file limitations and others cant share with all operating systems? thanks Steve

  4. Saturday, 18th Jun 2011 at 13:21

    Thanks for this article. I will also like to mention that it can become hard if you are in school and simply starting out to create a long credit standing. There are many college students who are simply just trying to survive and have an extended or beneficial credit history can occasionally be a difficult element to have.

Leave a Reply to Baxter Cancel reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: