Then came the hard part - how to make Fedora switch video drivers based on whther it boots in VirtualBox or not.

Table of contents

During my move from Greensboro, NC to Baltimore, MD, I accidentally threw away my home server (case of mistaken identity), so I needed to build a new one. This was more fortuitous than not, as it gave me the opportunity to build a system which I could use for another decade. I always insist on older hardware, with the most options for upgrade. So I bought a pretty sweet setup that I can upgrade a little at a time until socket LGA1155 goes out of style. As of now, that means a quad-core i7 will run on my machine - not too bad for the next decade! Here are the complete specs for my machine:

So my next task, once getting all the required parts and assembling them, was to create a dual-boot system with Fedora 16 and Windows 7. I wanted to use my new graphics goodness for CUDA application design and, of course, games. I installed Windows 7, then Fedora 16 for a normal dual-boot configuration. Then came the hard part: how to make Fedora switch video drivers based on whther it boots in VirtualBox or not.

# Update:

This article was never really finished. Basically, I used an init script to detect the presence of the virtualbox virtual instructionset, then loaded the nvidia driver when it wasn't present. In modern linux distros, like Fedora, there is no need for any of this. Just install the drivers, and the system will take care of the rest.