Skip to content

Could not initialize SDL #17

Open
Open

Description

@czHappy

qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]
Could not initialize SDL(No available video device) - exiting

虚拟机环境: virtualbox+Ubuntu18.04
请问这个如何解决?

Activity

  1. mengning commented on Apr 18, 2021

    @mengning
    Owner

    应该是当前环境没有图形界面吧?

    加-nographic -append "console=ttyS0"参数启动不会弹出QEMU虚拟机窗口,可以在纯命令行下启动虚拟机,此时可以通过“killall qemu-system-x86_64”命令强行关闭虚拟机。

  2. czHappy commented on Apr 19, 2021

    @czHappy
    Author

    应该是当前环境没有图形界面吧?

    加-nographic -append "console=ttyS0"参数启动不会弹出QEMU虚拟机窗口,可以在纯命令行下启动虚拟机,此时可以通过“killall qemu-system-x86_64”命令强行关闭虚拟机。

    已解决,感谢帮助!
    启动命令: qemu-system-x86_64 -kernel arch/x86/boot/bzImage -nographic -append "console=ttyS0"

  3. feilll commented on Nov 3, 2021

    @feilll

    您好,我一样也是这个问题,加了-nographic -append "console=ttyS0"参数后,只显示了按 ENTER 键进入安装,我按键后就进入了全黑的界面,什么反应都没有,请问有遇到过这种情况嘛?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions