Windows VirtualBox in physical partition

Installed VirtualBox with this post, but used latest version Ubuntu deb package

Warning When launching a Virtual OS, don't ever boot into the current or host OS or corruption will occur.

Followed this link and it works
Initially mouse and keyboard were not capturing, click the do not show again checkbox on the popup message and it fixes the capture problem.

Create a new hardware profile for windows so VirtualBox dosn't alter the base profile
Be sure to set profile selection to manual or preferred, set the new profile ahead of the base profile so don't accidentally boot into the base from virtual boot

* Click Start : Control Panel : System
* On the hardware tab, select Hardware Profiles
* Click Copy, and name the new hardware profile Virtual
* Set the selection to manual
* Move the Virtual profile to the top

Add yourself to the disk group so when you run VirtualBox, it has permission to write to the disk
sudo usermod -G disk,vboxusers -a `whoami`

Create a new VirtualBox directory under home folder
mkdir ~/.VirtualBox
Create a fake mbr for windows partition
install-mbr ~/.VirtualBox/WindowsXP.mbr --force
Create virtual management files pointing to fake mbr and giving access only to windows partition
VBoxManage internalcommands createrawvmdk -filename ~/.VirtualBox/WindowsXP.vmdk -rawdisk /dev/sda -partitions 1 -mbr ~/.VirtualBox/WindowsXP.mbr -relative -register

This link describes how to run on physical partition

This link describes how to get USB support

Install Guest Additions allows auto mouse capture-uncapture ...

Comments

Popular posts from this blog

Sites, Newsletters, and Blogs

Oracle JDBC ReadTimeout QueryTimeout