Table of Contents

VirtualBox

Using same installation for DualBoot and VirtualBoot

How to boot Windows from its partition with VirtualBox.

Summary

Install Windows

We will assume it is installed on partition 1.

Create disk

Create machine

Fix Windows

When you will boot your new virtual machine, it will fail.

Bootrec.exe /FixMbr

Sources - Story

First I tried the following tutorial:

http://geekfault.org/2011/10/14/lancer-votre-dual-booting-windows-dans-une-virtualbox/

But I had a problem for booting, and the installation dvd could not repair the install, so I tried this tutorial:

https://forums.virtualbox.org/viewtopic.php?f=28&t=33356

But I still had the same problem, a BSOD with error STOP OxOOOOOO7b.

Then I found on this thread some people having the same problem:

http://forum.ubuntu-fr.org/viewtopic.php?pid=4062086

Apparently one solved the problem by using an IDE disk instead of SATA in VirtualBox, but it didn't change anything for me. But another user said he followed:

http://support.microsoft.com/?kbid=314082

I did not find the .cab file to extract, but the .sys drivers were already at the right place, so I just merged the .reg file after rebooting to the native Win7, and then it worked also in VirtualBox, even with SATA !

Several years after I ran into more problems and found this complete tutorial:

https://forums.virtualbox.org/viewtopic.php?t=33356