4

I have installed the Virtual Box, and I would like to make a Debian virtual machine but I can't do this because my Virtual Box don't allow me to choose Debian x64. My computer and the .iso file are x64 too, that's why I don't understand why I can't choose it. How can I solve this problem?

  • Are you on a 64-bit system? – fpmurphy Oct 10 '14 at 12:51
  • The VirtualBox executable comes in two different flavors, i386 and AMD64. Can you verify that you installed the AMD64 version? – Mark Plotnick Oct 10 '14 at 13:28
  • It has tried with both of them. – blackcornail Oct 10 '14 at 13:45
4

You need to create a 64bit virtual machine. The bitness of the host OS is irrelevant, it's the VM that needs to be 64bit. From the VBox website (emphasis mine):

64-bit guests

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 the section called “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.

Warning

On any host, you should enable the I/O APIC for virtual machines that you intend to use in 64-bit mode. This is especially true for 64-bit Windows VMs. See the section called “"Advanced" tab”. In addition, for 64-bit Windows guests, you should make sure that the VM uses the Intel networking device, since there is no 64-bit driver support for the AMD PCNet card; see the section called “Virtual networking hardware”.

If you use the "Create VM" wizard of the VirtualBox graphical user interface (see the section called “Creating your first virtual machine”), VirtualBox will automatically use the correct settings for each selected 64-bit operating system type.

So, just try creating a new Virtual Machine and make sure it's 64bit.

  • "The architecture of the host is irrelevant" ... "You need a 64-bit processor". Those 2 sentences contradict each other. – Patrick Oct 10 '14 at 12:58
  • @Patrick the "You need a 64-bit processor" from the VM docs presumably refers to the VM's processor since the sentence just above it states "VirtualBox supports 64-bit guest operating systems, even on 32-bit host [...]". As far as I can tell the architecture of the host is irrelevant. – terdon Oct 10 '14 at 13:06
  • 1
    Afaik the 32 bit host must be on 64 bit hardware to host a 64 bit guest. So the architecture does matter (must be 64 bit) but the bitness of the host OS does not matter. – casey Oct 10 '14 at 13:32
  • @casey ah, that may well be the case, I don't know. Thanks to both you and Patrick. I'll edit and clarify that it's the host OS that is irrelevant. – terdon Oct 10 '14 at 13:34
  • "You must enable hardware virtualization for the particular VM" - but where? – blackcornail Oct 10 '14 at 14:04
1

The only reason I know of is if you don't have a 64-bit CPU. The host OS doesn't matter, and if hardware virtualisation is not enabled (vtx in BIOS settings) you can still create the VM but it will tell you what's wrong when you try to start it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.