安装运行虚拟机的时候报 :VT-x/AMD-V 硬件加速器已被启动,但当前处于无效状态

本文介绍了解决在VirtualBox或VMware中安装64位系统时遇到的VT-x/AMD-V支持未启用的问题。通过确保ISO文件正确、CPU支持64位并启用BIOS中的虚拟化选项,可以成功安装64位操作系统。


virtualboxvbox虚拟机安装64位系统时出错(请确认在您电脑的BIOS中已启用VT-x/AMD-V支持)  


今天在VMware中安装64位centos时出现以下错误:

VT-x/AMD-V硬件加速器已被启动,但当前处于无效状态。您虚拟电脑内的操作系统将无法检测到64位的CPU,因此也将无法启动。

请确认在您电脑的BIOS中已启用VT-x/AMD-V支持。

自己的当时没截图,为了看的更清晰这里随便截了一张图,但错误提示是一样的!

问题分析:

1、请确认你的iso文件或dvd为64位的OS文件。

2、请确认你的cup为64位的CPU。

3、请确认BIOS的Virtualization是否为Enabled

我这里就是第三种情况,也就是bios中是否支持虚拟设备的设置被关了,所以要开启,具体如下:

进入BIOS---->AdvancedBIOSFeatures----->Virtualization---->Disabled(预设值)修改为Enabled,储存(save),重启。


提示: 各种机子的bios中不一定相同



make[3]: Entering directory '/home/book/openwrt/lede/tools/m4' (cd /home/book/openwrt/lede/build_dir/host/m4-1.4.19/; if [ -x configure ]; then cp -fpR /home/book/openwrt/lede/scripts/config.{guess,sub} /home/book/openwrt/lede/build_dir/host/m4-1.4.19// && CC="/home/book/openwrt/lede/staging_dir/host/bin/gcc" CFLAGS="-O2 -I/home/book/openwrt/lede/staging_dir/host/include -std=gnu17" CXX="/home/book/openwrt/lede/staging_dir/host/bin/g++" CPPFLAGS="-I/home/book/openwrt/lede/staging_dir/host/include " CXXFLAGS="-O2 -I/home/book/openwrt/lede/staging_dir/host/include " LDFLAGS="-L/home/book/openwrt/lede/staging_dir/host/lib " CONFIG_SHELL="/usr/bin/env bash" gl_cv_func_strstr_linear=no bash ./configure --target=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/home/book/openwrt/lede/staging_dir/host --exec-prefix=/home/book/openwrt/lede/staging_dir/host --sysconfdir=/home/book/openwrt/lede/staging_dir/host/etc --localstatedir=/home/book/openwrt/lede/staging_dir/host/var --sbindir=/home/book/openwrt/lede/staging_dir/host/bin ; fi ) checking for a BSD-compatible install... /home/book/openwrt/lede/staging_dir/host/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for x86_64-pc-linux-gnu-gcc... /home/book/openwrt/lede/staging_dir/host/bin/gcc checking whether the C compiler works... no configure: error: in `/home/book/openwrt/lede/build_dir/host/m4-1.4.19': configure: error: C compiler cannot create executables See `config.log' for more details Makefile:28: recipe for target '/home/book/openwrt/lede/build_dir/host/m4-1.4.19/.configured' failed make[3]: *** [/home/book/openwrt/lede/build_dir/host/m4-1.4.19/.configured] Error 77 make[3]: Leaving directory '/home/book/openwrt/lede/tools/m4' time: tools/m4/compile#0.13#0.03#0.21 ERROR: tools/m4 failed to build. tools/Makefile:233: recipe for target 'tools/m4/compile' failed make[2]: *** [tools/m4/compile] Error 1 make[2]: Leaving directory '/home/book/openwrt/lede' tools/Makefile:231: recipe for target '/home/book/openwrt/lede/staging_dir/host/stamp/.tools_compile_nyyynyynnnyyynynyyyyyyyynyyynynyynnynnyyyyyynyyyyyyyyyyynynnyyyyynyyy' failed make[1]: *** [/home/book/openwrt/lede/staging_dir/host/stamp/.tools_compile_nyyynyynnnyyynynyyyyyyyynyyynynyynnynnyyyyyynyyyyyyyyyyynynnyyyyynyyy] Error 2 make[1]: Leaving directory '/home/book/openwrt/lede' /home/book/openwrt/lede/include/toplevel.mk:229: recipe for target 'world' failed 这个报错分析一下
最新发布
11-13
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值