流浪错误:缺少VT-x/AMD-V硬件加速

sto*_*ofl 3 vagrant

我想"起来"一个流浪汉的盒子.但是我收到以下错误:

VT-x/AMD-V hardware acceleration is not available on your system. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.
Run Code Online (Sandbox Code Playgroud)

我的处理器:

# lshw -class processor
  *-cpu                   
       description: CPU
       product: Intel(R) Pentium(R) 4 CPU 3.20GHz
       vendor: Intel Corp.
       physical id: 4
       bus info: cpu@0
       version: Intel(R) Pentium(R) 4 CPU
       slot: U23
       size: 3200MHz
       capacity: 3200MHz
       width: 64 bits
       capabilities: fpu fpu_exception wp 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 pbe syscall nx x86-64 constant_tsc pebs bts nopl pni dtes64 monitor ds_cpl cid cx16 xtpr lahf_lm
Run Code Online (Sandbox Code Playgroud)

我也尝试了Debian squeeze 32来自http://vagrantbox.es的Box ,并显示相同的错误消息.

我可以尝试使用流浪汉?

小智 7

如果您的CPU不支持VT-x,则无法运行guest虚拟机64位操作系统.如果32位客户操作系统仍然无法启动,则应在Vagrantfile中指定以下内容,以便为您的虚拟机关闭硬件虚拟化:

config.vm.provider :virtualbox do |vb| 
  vb.customize ["modifyvm", :id, "--hwvirtex", "off"]
end
Run Code Online (Sandbox Code Playgroud)