3

I will be getting a Windows 7 machine at work soon. I want some of the software that Windows offers (i.e. Office, iTunes), but I develop software in Linux. Should I install Linux on a virtual machine with Windows 7 as the host (either via Windows own software or VirtualBox), or should I install a Linux partition and run Windows 7 in a virtual machine, with Linux as the host (assuming I have the Windows 7 disk)? Is the latter even possible?

On the Linux side I'll be running OpenSuSE 11.2 and above, and the software I'm developing uses OpenGL and the Qt SDK.

As mentioned earlier, on the Windows side I'll be running Office and iTunes primarily.

I can do web-browsing on either.

1
  • To save people time, I am looking at answers specifically addressed toward virtualization. I don't want answers addressing suitable alternatives in Linux for Office, iTunes, etc...
    – Chance
    Commented Apr 18, 2012 at 22:47

3 Answers 3

2

Your best bet is to run Windows in the VM - Office is not resource consuming, and iTunes if you are only using it for music (not videos!) runs perfectly fine in the VM.

On the other hand, your development needs means you need straight on access to the OpenGL layer without going through another VM layer, and compiling will definitely be faster if it's done on the host layer.

So, based on your needs, it's definitely a Windows VM on a Linux host.

5
  • I think you are right. Unfortunately, but not surprisingly, I found out we aren't getting actual media for the Windows OS.
    – Chance
    Commented Apr 20, 2012 at 16:09
  • 1
    @Chance Partition your HDD, boot into Linux, and virtualize Winodws straight off the disk. qemu and most other virtualizers can do this.
    – new123456
    Commented Apr 20, 2012 at 22:30
  • 1
    You can download a copy of Windows 7 from mydigitallife.info/…
    – caliban
    Commented Apr 21, 2012 at 8:41
  • Downloading the Windows 7 iso and installing that in Virtualbox works great. Thanks!
    – Chance
    Commented Jun 12, 2012 at 14:56
  • @Caliban, "compiling will definitely be faster if it's done on the host layer", I've seen the opposite. My Ubuntu VMWare VM on Windows 7 rebuilt a Qt project consistently in ~102 seconds as opposed to ~134 seconds on the host; yes, the Linux VM was much faster. Commented Jun 20, 2016 at 17:26
1

The host OS has:

  • access to add-in (PCI) cards; the guest does not
  • better/easier access to plug-in (USB) devices than the guest
  • well-defined screen edges and corners, which might matter for certain desktop interactions, like in the upcoming Windows 8

One OS might have better overall performance due to drivers; that would be a better choice for the host, as the guest would benefit indirectly.

Using Windows as the guest is certainly doable, but there might be a hiccup reactivating it on virtualized hardware. You might have to call in and plead your case.

1
  • 1
    Activation isn't really an issue. The worst case is you have to call an 800 number and get a key from the automated system.
    – JOTN
    Commented Apr 18, 2012 at 23:09
1

The answer is "it depends". What you lose is the drivers of the VM having direct access to the hardware which usually creates the most problems in graphics. If you're doing low performance graphics stuff, I find it doesn't really matter.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .