Setup 64 Bit Guest VirtualBox
In this article
To set up a 64-bit guest in VirtualBox, you need a 64-bit host CPU with virtualization enabled (VT-x/AMD-V) and a 64-bit guest ISO; then create a new VM, choose the 64-bit version of the OS, and enable hardware virtualization in the VM's settings. This guide walks through the prerequisites, step-by-step creation, common pitfalls like missing 64-bit options, and performance tweaks.
Prerequisites for 64-Bit Guests
VirtualBox can only run 64-bit guests if your host system meets three conditions:
- A 64-bit processor (Intel or AMD) that supports hardware virtualization (Intel VT-x or AMD-V).
- Virtualization enabled in the host's BIOS/UEFI (often labeled "Intel Virtualization Technology" or "SVM Mode").
- A 64-bit guest operating system ISO file (e.g., Windows 11 x64, Ubuntu 22.04 LTS 64-bit).
If your host is a 32-bit OS, VirtualBox cannot run 64-bit guests even if the CPU supports it. Also, some older CPUs lack VT-x/AMD-V; check with the manufacturer's specs or use a tool like CPU-Z (Windows) or lscpu (Linux) to verify.
Enabling Virtualization in BIOS/UEFI
Most modern systems have virtualization disabled by default. To enable it:
- Restart your computer and press the key to enter BIOS/UEFI (often Del, F2, F10, or Esc).
- Find the virtualization setting. It may be under "Advanced," "CPU Configuration," or "Security." Look for "Intel Virtualization Technology," "VT-x," "AMD-V," or "SVM Mode."
- Set it to Enabled.
- Save and exit (usually F10).
After booting back into your OS, verify with Task Manager (Windows) or grep -E "vmx|svm" /proc/cpuinfo (Linux). If the flag is present, you're ready.
Creating a 64-Bit VM Step by Step
Here's how to create a 64-bit guest in VirtualBox (version 7.x):
- Open VirtualBox and click "New."
- Enter a name for the VM, and choose the type and version. If your ISO is 64-bit, the version dropdown will show entries like "Ubuntu (64-bit)" or "Windows 10 (64-bit)." If you only see 32-bit options, virtualization is likely off.
- Set the memory size. For 64-bit guests, allocate at least 2 GB (2048 MB) for lightweight Linux, 4 GB for Windows, and more if you have RAM to spare.
- Create a virtual hard disk. Choose VDI (VirtualBox Disk Image) and either fixed or dynamically allocated. 25-50 GB is a good starting size.
- After creation, select the VM and click "Settings." Go to "System" → "Processor" and enable "Enable PAE/NX" if you need it (most 64-bit guests work without it, but it's safe to enable).
- Under "System" → "Acceleration," ensure "Enable VT-x/AMD-V" and "Enable Nested Paging" are checked.
- Go to "Storage," click the empty optical drive, and choose your 64-bit ISO.
- Click OK, then Start.
If you already have a 32-bit VM and want to convert it to 64-bit, you must reinstall the OS—you cannot just change the type.
Why 64-Bit Option Is Missing or Grayed Out
The most common problem is that the 64-bit guest option doesn't appear in the version dropdown. This is almost always because virtualization is disabled in BIOS/UEFI or the host OS is 32-bit. Other causes include:
- Hyper-V or other hypervisors are running on Windows, which conflicts with VirtualBox. Disable Hyper-V and Windows Hypervisor Platform in "Turn Windows features on or off."
- VirtualBox itself is outdated; update to the latest version.
- Your CPU is genuinely too old (pre-2006 Intel or pre-2007 AMD).
If you've enabled virtualization and the option still doesn't show, try rebooting after the BIOS change. Some systems require a full power-off.
Performance and Memory Allocation
64-bit guests can address more than 4 GB of RAM, so you can give them more memory. However, don't allocate more than half of your host's RAM to the VM to avoid host slowdown. Also, enable 3D acceleration in the VM settings if you need graphics performance (install Guest Additions for better display and mouse integration).
For CPU, assign at least 2 cores for a responsive system. VirtualBox supports up to 32 vCPUs, but more cores don't always help; match the guest's workload.
Installing 64-Bit Guest Additions
Guest Additions are drivers and utilities that improve performance and usability. To install them:
- With the VM running, go to the "Devices" menu and select "Insert Guest Additions CD image."
- Inside the VM, run the installer (Windows: VBoxWindowsAdditions.exe; Linux: run VBoxLinuxAdditions.run as root).
- Reboot the VM.
Guest Additions enable shared folders, seamless mode, better video resolution, and clipboard sharing.
Common 64-Bit Guest Problems and Fixes
Here are frequent issues and solutions:
- "VT-x is not available" error: Re-enable virtualization in BIOS, or disable Hyper-V on Windows.
- Guest crashes during install: Try disabling "Nested Paging" or reducing CPU cores to 1.
- Black screen after boot: Increase video memory to 128 MB and enable 3D acceleration.
- Slow performance: Allocate more RAM (if host allows), use a fixed-size disk, and install Guest Additions.
- Cannot boot from ISO: In Storage settings, ensure the optical drive is first in boot order, or press F12 during boot to select a boot device.
Frequently Asked Questions
Can I run a 64-bit guest on a 32-bit host?
No. VirtualBox requires a 64-bit host OS to run 64-bit guests, because the guest uses host kernel features that are only present in 64-bit operating systems.
How do I check if my CPU supports virtualization?
On Windows, open Task Manager → Performance → CPU and look for "Virtualization: Enabled." On Linux, run grep -E "vmx|svm" /proc/cpuinfo; if you see vmx (Intel) or svm (AMD), your CPU supports it.
Why does VirtualBox only show 32-bit options?
This means virtualization is disabled in BIOS/UEFI or your host OS is 32-bit. Enable VT-x/AMD-V in BIOS, and ensure you're running a 64-bit host OS.
How much RAM should I give a 64-bit guest?
At least 2 GB for Linux, 4 GB for Windows 10/11. If you have 8 GB or more on the host, you can allocate 4-6 GB for a smoother experience.
Can I convert an existing 32-bit VM to 64-bit?
No, you must reinstall the guest OS. The architecture is fixed at install time.
Is it safe to enable nested paging?
Yes, it's a performance feature that uses hardware to speed up memory management. It's enabled by default and is safe for most workloads.