Run 64bit OS in Virtual Box from 32bit Ubuntu

7,265

Solution 1

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.

Solution 2

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.

Solution 3

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.

Share:
7,265

Related videos on Youtube

johnc
Author by

johnc

Updated on September 17, 2022

Comments

  • johnc
    johnc over 1 year

    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.

  • johnc
    johnc over 13 years
    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.
  • 719016
    719016 almost 12 years
    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?