Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not initialize SDL #17

Open
czHappy opened this issue Apr 17, 2021 · 3 comments
Open

Could not initialize SDL #17

czHappy opened this issue Apr 17, 2021 · 3 comments

Comments

@czHappy
Copy link

czHappy commented Apr 17, 2021

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
请问这个如何解决?

@mengning
Copy link
Owner

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

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

@czHappy
Copy link
Author

czHappy commented Apr 19, 2021

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

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

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

@feilll
Copy link

feilll commented Nov 3, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants