8

Is it possible to run Windows 7 64 bit from a 32bit ubuntu OS?

I can reinstall Ubuntu as a 64bit OS, but would prefer not to if it is not necessary.

Jorge Castro
  • 71,754
johnc
  • 421

4 Answers4

6

For Virtual Box, here's the Virtual Box FAQ:

Note that VirtualBox also supports 64-bit guest operating systems, under the following conditions:

  • You need a 64-bit processor with hardware virtualization support (VT-x or AMD-V)
  • Since version 2.1.0, you can run 64 bit Guests while running a 32 bit Host.
  • You must enable hardware virtualization through your BIOS

So it depends on your CPU. Just having a 64-bit processor isn't sufficient, the CPU also needs hardware virtualization support.

As an example, the Intel i3 540 is listed as having "Intel® Virtualization Technology (VT-x): yes", so it should work there.

j-g-faustus
  • 5,538
  • Nice, thank you, I do acknowledge that this was answerer before my selected answer, whom I chose as it was a bit more comprehensive. Yours, though, is a very salient point, and one that I am investigating now. – johnc Jan 17 '11 at 03:54
  • I have a laptop with Intel Core i5 M 450 @ 2.40GHz which apparently has VT-x but not VT-d. Can I run Virtual Box 64bit on it? How do I know if the BIOS has this activated without having to reboot? – 719016 Jun 20 '12 at 09:35
6

From VB help:

VirtualBox supports 64-bit guest operating systems, even on 32-bit host operating systems, provided that the following conditions are met:

1.-You need a 64-bit processor with hardware virtualization support (see Section 10.3, “Hardware vs. software virtualization”).

2.-You must enable hardware virtualization for the particular VM for which you want 64-bit support; software virtualization is not supported for 64-bit VMs.

3.-If you want to use 64-bit guest support on a 32-bit host operating system, you must also select a 64-bit operating system for the particular VM. Since supporting 64 bits on 32-bit hosts incurs additional overhead, VirtualBox only enables this support upon explicit request.

On 64-bit hosts (which typically come with hardware virtualization support), 64-bit guest operating systems are always supported regardless of settings, so you can simply install a 64-bit operating system in the guest.

luri
  • 4,112
4

If your BIOS and processor support it, then yes. I'd suggest using hardinfo to check your processor's features. However you are better off using the 64bit OS as host anyway.

Even if you processor supports VTx your BIOS may not (many HP laptops for example do not allow you to turn this on), so you have to know if your BIOS also supports it.

RolandiXor
  • 51,541
0

I found that on my Ubuntu Lucid (32bit install) machine that it will complain that hardware virtualization is not turned on when it really is. The reason it does this is because the kvm module is loaded. I blacklisted kvm and kvm_amd and now Virtualbox loads up 64 bit guests on a 32bit host just fine.