Virtual machine : is it possible to run a 32 bits guest OS on a 64 bits host OS?

15,996

Solution 1

Short answer, yes. You can almost always run 32bit software on 64bit hardware, just not the other way around.

You can sometimes run 64bit software on a 32 bit host, as long as the hardware is 64bit, depending on the hypervisor.

I currently have a Server 2008 Hyper-V role machine running several different OSes. I have about 6 WinXP 32 bit machines running, as well as several Win7 64bit.

Solution 2

To run your 32 bit code you do not need a 32 bit VM. You can safely use a Windows 64 bit which is a multi-lib environment. This means that it has libraries (DLLs) for both 32 bit and 64 bit. See: http://support.microsoft.com/kb/282423

Solution 3

You certainly can, provided that your new hardware supports it. Without hardware details it is difficult to be certain, however, I have seen very few 64-bit systems that do not support virtualization.

That being said, you will need to decide on full- versus para-virtualization. Both are capable of functioning as you have described but there are differences between the two. It is also often possible to enable both and make the decision on a per (virtual) system basis.

You will also need to ensure that your kernel supports, and is built for, virtualization support. Some systems, such as Debian and Red Hat, offer pre-built kernels for this purpose as well as options to add on a hardware virtual machine, such as Xen, or a processor emulator, such as Qemu.

Solution 4

yes it is totally possible because its a wholly seperate environment and kernel.

its even possible to do this on OpenVZ based servers (where the kernel is actually shared)

to my knowledge however i am not sure you can run a 64bit guest on a 32bit host even in virtualbox

Solution 5

It will run fine. I'm running a number of VMs (in VMWare), both with 32 and 64 bits versions of Windows and Delphi 7 is running just fine.

Share:
15,996

Related videos on Youtube

Cédric Girard
Author by

Cédric Girard

I am a french developper, using a lot of differents tools. I use eXtreme Programming and agile good practises, and I love tools that help me to save time.

Updated on September 17, 2022

Comments

  • Cédric Girard
    Cédric Girard over 1 year

    I am a software developer, and I need to use old version of Borland/Embarcadero Delphi 7 for one software. The others ones are PHP software. I will have soon a 64 bits PC, running Linux, but I need a Windows 32 bits virtual machine for Delphi (because Delphi 7 is a bit old, and our clients still use Windows XP 32 bits systems). I already have a VM under virtualbox for my Delphi environment.

    Will it run fine, or will I have some problem?

    • DanBig
      DanBig about 13 years
      What virtualization software are you using?
    • Cédric Girard
      Cédric Girard about 13 years
      Virtualbox (Oracle / Sun)
  • anthonysomerset
    anthonysomerset about 13 years
    actually it is possible to use a vm solution like vmware/virtualbox to run a 64bit guest on a 32bit host as long as the CPU is capable, but thats not your question :)
  • Philip
    Philip about 13 years
    +1, Also, Emulators (like QEmu) are able to emulate processors (64-bit included) even when they are running on completely different platforms.
  • Hecter
    Hecter about 13 years
    Hardware support is not a hard and fast requirement for 32-bit guests. Some hypervisors (e.g. VMware) existed long before VT-x and perform very well using binary translation with no hardware support.
  • anthonysomerset
    anthonysomerset about 13 years
    the user is also specifically talking about virtualbox so most of this is slightly irrelavent to the question but still useful information
  • anthonysomerset
    anthonysomerset about 13 years
    the only issue is if the software wont actually run on the new operating system then the VM would be needed
  • Cédric Girard
    Cédric Girard about 13 years
    We develop Windows softwares, so we need to have an environment very similar to our clients one.
  • Jonesome Reinstate Monica
    Jonesome Reinstate Monica over 12 years
    Yes: If the hardware is up to it, on VMWare 5 and up you can run 64 bit guests on 32 bit hosts. We do all the time!