从32位Ubuntu运行64位Ubuntu发行版

与此问题相关如何在64位计算机上运行带有64位处理器的QEMU? 。 我正在尝试在core2duo(64位CPU)计算机上使用qemu在Ubuntu 11.04 32位下运行Ubuntu 11.10 64位,使用以下qemu参数但没有成功。

qemu下的错误:

这个内核需要一个x86-64 CPU,但只检测到一个i686 CPU。
无法启动 – 请使用适合您CPU的内核

是不是qemu应该效仿64位机器?

我想我错过了一些东西,但我无法理解。

qemu -cpu (kvm64|core2duo|qemu64) -boot d -cdrom ubuntu-11.10-desktop-amd64.iso qemu-system-x86_64 -boot d -cdrom ubuntu-11.10-desktop-amd64.iso 

uname -m返回

 i686 

/proc/cpuinfo返回

 processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz stepping : 6 cpu MHz : 800.000 cache size : 3072 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm dts tpr_shadow vnmi flexpriority bogomips : 4522.45 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: 

据我所知,VirtualBox可以做到这一点,但不是qemu 。 此外,您需要支持BIOS启用的此类虚拟机,并非所有系统都附带该选项。

用这个:

  • qemu-system-x86_64

代替:

  • qemu