My digital scrapbook

Using Same VirtualBox Machine on Dual Boot

on under Computer and TechBe the first to comment

My PC installed with Microsoft Windows 7 and Ubuntu 10.04 and recent days I work with both platform to create some web application. I am using SVN to centralize and easier versioning. My SVN server located on one of my VM which is running on Debian Server.

The situation is I want that virtual machine are available on both OS. I was looking everywhere from google for the solution and found a solution but I don’t want to reattach VDI file on new virtual machine because UUID will regenerate and also MAC Address.

The solution is really simple and I don’t even notice that virtual box GUI already has Add features. Luckily, VirtualBox 4.1.6 already integrate virtual harddisk (VDI) and it’s machine configuration (VBOX) under same directory.

Just make sure that your virtual machine under NTFS because Ubuntu will read it easily, most Linux based OS already have the function either.

I was doing these steps to accomplish my mission:

  1. Mount NTFS partition where the virtual machine located
  2. On VirtualBox choose this menu Machine -> Add, or simply press CTRL + A
  3. You may meet this error Configuration error: Failed to get the “Trunk” value
  4. Just reattach the VDI and it will run.

That’s it.  Now, I can use the machine for SVN either in Windows and Ubuntu 10.04.

update: You need to enter settings windows and press OK every time moving to each operating system in order to makes configuration adjusted.