读取日志文件

读取日志文件

我已经ova通过将文件导入 VirtualBox File -> Import Appliance,但我只得到了屏幕

在此处输入图片描述

然后屏幕

在此处输入图片描述

第二个屏幕中的栏运行两次直到结束,然后出现第一个屏幕,整个加载过程重新开始。在另一台机器上,使用ova效果很好。为什么这里不行?

读取日志文件

我关闭了虚拟机,将文件夹重命名LogsLogs_old,创建了一个新文件夹Logs,打开了虚拟机,然后grep输入了“错误”,输出如下

00:00:00.537534 TM: GIP - CPU: iCpuSet=0x0 idCpu=0x0 idApic=0x0 iGipCpu=0x2 i64TSCDelta=0 enmState=3 u64CpuHz=2594107132(*) cErrors=0
00:00:00.537561 TM: GIP - CPU: iCpuSet=0x1 idCpu=0x1 idApic=0x1 iGipCpu=0x3 i64TSCDelta=0 enmState=3 u64CpuHz=2594106745(*) cErrors=0
00:00:00.537584 TM: GIP - CPU: iCpuSet=0x2 idCpu=0x2 idApic=0x2 iGipCpu=0x0 i64TSCDelta=0 enmState=3 u64CpuHz=2594106965(*) cErrors=0
00:00:00.537608 TM: GIP - CPU: iCpuSet=0x3 idCpu=0x3 idApic=0x3 iGipCpu=0x1 i64TSCDelta=0 enmState=3 u64CpuHz=2594102101(*) cErrors=0
00:00:13.878652 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={7303a66d-433b-25a4-f9a8-fcadf87e0c2a} aComponent={DisplayWrap} aText={Could not take a screenshot (VERR_NOT_SUPPORTED)}, preserve=false aResultDetail=0
00:00:31.818238 /SELM/LoadHidSel/GstReadErrors          0 times

和“失败”,输出结果为

00:00:00.620956 AIOMgr: Flush failed with VERR_INVALID_PARAMETER, disabling async flushes
00:00:03.230756 VMMDev: Guest Log: BIOS: Boot from Floppy 0 failed
00:00:03.232068 VMMDev: Guest Log: BIOS: CDROM boot failure code : 0003
00:00:03.232172 VMMDev: Guest Log: BIOS: Boot from CD-ROM failed
00:00:16.213370 VMMDev: Guest Log: BIOS: Boot from Floppy 0 failed
00:00:16.214449 VMMDev: Guest Log: BIOS: CDROM boot failure code : 0003
00:00:16.214544 VMMDev: Guest Log: BIOS: Boot from CD-ROM failed
00:00:29.126271 VMMDev: Guest Log: BIOS: Boot from Floppy 0 failed
00:00:29.127556 VMMDev: Guest Log: BIOS: CDROM boot failure code : 0003
00:00:29.127672 VMMDev: Guest Log: BIOS: Boot from CD-ROM failed
00:00:31.813714 /PDM/Queue/AHCI-Xmit/AllocFailures        0 times
00:00:31.813962 /PDM/Queue/DevHlp/AllocFailures         0 times
00:00:31.814256 /PDM/Queue/E1000-Rcv/AllocFailures        0 times
00:00:31.814600 /PDM/Queue/E1000-Xmit/AllocFailures        0 times
00:00:31.814785 /PDM/Queue/Keyboard/AllocFailures        0 times
00:00:31.814957 /PDM/Queue/Mouse/AllocFailures          0 times
00:00:31.815130 /PDM/Queue/Mouse_1/AllocFailures        0 times

我不知道该怎么办。

答案1

经过故障排除后,似乎 VT-X 未启用(OP 无法更改 VM 的 CPU 数量,并且在重新导入 ova 并尝试启动 VM 后,他收到了错误消息“BIOS 中所有 CPU 模式的 VT-x 均被禁用(VERR_VMX_MSR_A​​LL_VMX_DISABLED)”。

在 BIOS 中启用虚拟化

在此处输入图片描述

并再次重新导入 VM 即可解决问题。

有关详细信息,请参阅https://en.wikipedia.org/wiki/X86_virtualization#Intel_virtualization_.28VT-x.29

如何为联想启用虚拟化http://amiduos.com/support/knowledge-base/article/enabling-virtualization-in-lenovo-systems

相关内容