Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to install a 64-bit VM on a 64-bit host Ubuntu 11.04 server. I am using the 64-bit iso (ubuntu-11.10-desktop-amd64.iso) and I set the architecture to x86_64 but when I install the VM it installs the 32 bit kernel. The CPU in the VM reports supporting 64-bit but the kernel but uname -m reports i686.

share|improve this question
1  
This doesn't add up, you're either using the wrong iso and don't know it or there's a misconfiguration in the VM and it really is 32 bits. To verify the KVM side of things start it using the CLI where you can clearly see and specify the aerguments, then specify the iso image as the cdrom. –  ppetraki Jan 27 '12 at 2:59

1 Answer 1

Okay, My answer consist of two sections:

1. Short Answer : You can't run a 64bit VM on a 32-bit processor. However, you can run a 64bit VM if you have a 64bit processor but have installed a 32bit host OS and your processor supports the right extensions.

2. Long Answer :

Make sure your processor supports virtualization extensions. Both AMD and Intel have processors that support this technology. You can check it from the /proc/cpuinfo file. Look at the flags section for one of two values, vmx or svm.

vmx - (Intel)

svm - (AMD)

Issue this command, egrep '(vmx|svm)' /proc/cpuinfo. If your system supports VT, then you will see vmx or svm in the list of flags. An example output would be,

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm

NOTE : These flags say that your processor supports VT technology. However, VT technology can still be disabled in your computer’s BIOS. So make sure it has enabled from BIOS.

Optionally, you can use one of these tools, Processor Check for 64-Bit Compatibility from VMWare or Intel® Processor Identification Utility

According to this document from VMWare,

64-bit guest operating system support: 64-bit guest operating systems will run on 64-bit hardware independent of the type of host operating system. 64-bit guest operating systems offer direct access to more memory than 32-bit systems ...

Therefore, if your processor supports 64bit architecture and has VT extensions, you can run 64bit VMs.

Assume this info will help you :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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