How to make an MBR?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Nebulus
Posts: 2
Joined: 16. Jun 2011, 09:12
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Win7

How to make an MBR?

Post by Nebulus »

I have set up a dual-boot Win7/Ubuntu system where each OS is also available as a raw vm. It all works fine, but I would like to use the createrawvmdk -mbr option and cannot figure out how to create an MBR. The primary boot partition is the Win7 partition. It is encrypted with PointSec. After unlocking I get a menu to choose Win7 or Ubuntu. If I choose Win7, I go right into Win7. If I choose Ubuntu, I get the grub menu. The Ubuntu boot partition is not encrypted.

So far so good. If I log into Win7 and start the Ubuntu raw vm, I get the PointSec login again followed by the windows loader menu to chose Win7 or Ubuntu. Obviously I choose Ubuntu otherwise BAD THINGS WOULD HAPPEN. I then get the grub menu for Ubuntu. What I was is to avoid the PointSec and Windows loader and go right to the grub menu. I believe that I can some how use the -mbr parameter to do this, but I cannot figure out how to make an MBR to point me to the Ubuntu/grub boot. I have read a bit about MBRs but have read anything that really explains what to do here.

Any help greatly appreciated!

-- John

P.S. I also would like to do the right thing in the other direction: from the Ubuntu host, log into Win7 without getting the chance to choose Ubuntu since that would presumably be BAD.
Post Reply