Virtual Box OS 卡在空白屏幕

Virtual Box OS 卡在空白屏幕

我想在我的 Windows 机器上运行 Linux 操作系统作为客户操作系统。为了运行它,我安装了 Oracle Virtual Box 和 Ubuntu ISO 文件。我已将其配置如下:

Ubuntu版本:ubuntu-18.04.2
Virtual Box版本:VirtualBox-6.0.10

分配的 RAM :4GB/8GB
分配的 HDD :10GB

设置:
Hyper-V:已禁用
3D 加速:未选中

问题:
当我启动客户操作系统时,它会显示如下屏幕并且什么也没有发生,它会卡住直到你强行杀死它!

在此处输入图片描述

我检查了日志,结果如下,

00:00:09.445290 AIOMgr: Async flushes not supported
00:00:09.445380 PcBios: SATA LUN#0 LCHS=1024/255/63
00:00:09.445416 APIC: fPostedIntrsEnabled=false fVirtApicRegsEnabled=false fSupportsTscDeadline=false
00:00:09.445429 TMR3UtcNow: nsNow=1 563 564 355 785 531 700 nsPrev=0 -> cNsDelta=1 563 564 355 785 531 700 (offLag=0 offVirtualSync=0 offVirtualSyncGivenUp=0, NowAgain=1 563 564 355 785 531 700)
00:00:09.445452 VMEmt: Halt method global1 (5)
00:00:09.445475 VMEmt: HaltedGlobal1 config: cNsSpinBlockThresholdCfg=50000
00:00:09.445483 Changing the VM state from 'CREATING' to 'CREATED'
00:00:09.447677 Changing the VM state from 'CREATED' to 'POWERING_ON'
00:00:09.447745 AIOMgr: Endpoints without assigned bandwidth groups:
00:00:09.447757 AIOMgr:     E:\Divyang\ubuntuVM\ubuntu\ubuntu.vdi
00:00:09.447967 Changing the VM state from 'POWERING_ON' to 'RUNNING'
00:00:09.447998 Console: Machine state changed to 'Running'
00:00:09.457150 VMMDev: Guest Log: BIOS: VirtualBox 6.0.10
00:00:09.457529 PCI: Setting up resources and interrupts
00:00:09.477694 PIT: mode=2 count=0x10000 (65536) - 18.20 Hz (ch=0)
00:00:09.527703 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=0000000000000000 w=720 h=400 bpp=0 cbLine=0x0 flags=0x0 origin=0,0
00:00:09.545641 VMMDev: Guest Log: CPUID EDX: 0x178bfbff
00:00:09.546833 PIIX3 ATA: Ctl#1: RESET, DevSel=0 AIOIf=0 CmdIf0=0x00 (-1 usec ago) CmdIf1=0x00 (-1 usec ago)
00:00:09.546961 PIIX3 ATA: Ctl#1: finished processing RESET
00:00:09.608509 AHCI#0: Reset the HBA
00:00:09.608539 VD#0: Cancelling all active requests
00:00:09.609682 AHCI#0: Port 0 reset
00:00:09.609821 VD#0: Cancelling all active requests
00:00:09.615063 VMMDev: Guest Log: BIOS: AHCI 0-P#0: PCHS=16383/16/63 LCHS=1024/255/63 0x0000000001400000 sectors
00:00:09.633141 PIT: mode=2 count=0x48d3 (18643) - 64.00 Hz (ch=0)
00:00:09.635158 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=000000000e610000 w=640 h=480 bpp=32 cbLine=0xA00 flags=0x0 origin=0,0
00:00:09.949270 GUI: UIMachineViewNormal::resendSizeHint: Restoring guest size-hint for screen 0 to 800x600
00:00:09.949321 VMMDev: SetVideoModeHint: Got a video mode hint (800x600x32)@(0x0),(1;0) at 0
00:00:09.959741 GUI: 2D video acceleration is disabled
00:00:09.959765 GUI: HID LEDs sync is enabled
00:00:10.001578 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=0, Machine-state=5
00:00:12.105706 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=000000000e610000 w=640 h=480 bpp=0 cbLine=0x280 flags=0x0 origin=0,0
00:00:12.127552 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=0000000000000000 w=720 h=400 bpp=0 cbLine=0x0 flags=0x0 origin=0,0
00:00:12.179199 PIT: mode=2 count=0x10000 (65536) - 18.20 Hz (ch=0)
00:00:12.181798 VMMDev: Guest Log: BIOS: Boot : bseqnr=1, bootseq=0231
00:00:12.183508 VMMDev: Guest Log: BIOS: Boot from Floppy 0 failed
00:00:12.185912 VMMDev: Guest Log: BIOS: Boot : bseqnr=2, bootseq=0023
00:00:12.189866 VMMDev: Guest Log: BIOS: Booting from CD-ROM...
00:00:12.439376 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=000000000e610000 w=640 h=480 bpp=16 cbLine=0x500 flags=0x0 origin=0,0
00:07:32.244300 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={a7c88b82-2330-44e3-b247-1421a018f9c1} aComponent={KeyboardWrap} aText={Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS)}, preserve=false aResultDetail=-2807
00:07:32.368976 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={a7c88b82-2330-44e3-b247-1421a018f9c1} aComponent={KeyboardWrap} aText={Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS)}, preserve=false aResultDetail=-2807
00:07:32.488736 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={a7c88b82-2330-44e3-b247-1421a018f9c1} aComponent={KeyboardWrap} aText={Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS)}, preserve=false aResultDetail=-2807
00:07:32.594988 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={a7c88b82-2330-44e3-b247-1421a018f9c1} aComponent={KeyboardWrap} aText={Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS)}, preserve=false aResultDetail=-2807
00:07:32.682085 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={a7c88b82-2330-44e3-b247-1421a018f9c1} aComponent={KeyboardWrap} aText={Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS)}, preserve=false aResultDetail=-2807
00:07:32.742048 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={a7c88b82-2330-44e3-b247-1421a018f9c1} aComponent={KeyboardWrap} aText={Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS)}, preserve=false aResultDetail=-2807
00:07:32.834937 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={a7c88b82-2330-44e3-b247-1421a018f9c1} aComponent={KeyboardWrap} aText={Could not send all scan codes to the virtual keyboard (VERR_PDM_NO_QUEUE_ITEMS)}, preserve=false aResultDetail=-2807 

不确定是否缺少某些配置或机器没有足够的资源来加载这个外部操作系统。

系统配置:

操作系统:Win10 pro。
处理器:[电子邮件保护]
内存:8GB

答案1

  • 按 Win + R
  • 类型 OptionalFeatures
  • 按 Enter 键
  • 确保 Hyper-V 已关闭。如果刚刚关闭,则需要重新启动。

答案2

许多事情都可能导致此问题,采取这些措施可能会解决问题

  1. 在 BIOS 上启用 VT-x
  2. 禁用 Hyper-VDisable Hyper-V
  3. 为您的虚拟机提供足够的 RAM 和 CPU 核心(2GB RAM 和 2 个 CPU 核心)
  4. 使用 ubuntu 的下载哈希检查你的下载哈希

相关内容