如何在Qemu下启动FreeBSD映像 [英] How to boot FreeBSD image under Qemu

查看:199
本文介绍了如何在Qemu下启动FreeBSD映像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个FreeBSD映像,其中包含/boot/loader *和/boot/kernel等.它在EC2实例下可以正常启动,但我想用Qemu引导它.我尝试了各种方法,但没有奏效.见下文.

I have a FreeBSD image that contains /boot/loader* and /boot/kernel and more. It boots fine under an EC2 instance but I would like to boot it with Qemu. I have tried various methods, but they have not worked. See below.

qemu-system-x86_64 -kernel kernel -nographic -append 'console=ttyS0' disk.img
qemu-system-x86_64 -kernel loader -nographic -append disk.img

推荐答案

FreeBSD Wiki包含一些如何在Qemu中运行FreeBSD的秘诀

The FreeBSD wiki has some recipes how to run FreeBSD inside Qemu

https://wiki.freebsd.org/QemuRecipes

这篇关于如何在Qemu下启动FreeBSD映像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆