BSD · FreeBSD · FreeBSD 10.0 · QEMU · Virtualization

Installing Qemu on FreeBSD 10


QEMU is a hypervisor, that can emulate many number of architectures.Some of the architectures include:

  • i386
  • x86_64
  • Alpha
  • Arm
  • MIPS
  • MIPS64
  • PPC
  • PPC64
  • Sparc
  • Sparc64

In this article lets look at, how to install QEMU on FreeBSD 10. By default, QEMU on FreeBSD supports the following architectures.


  • i386
  • x86_64

Install Qemu using the following command.

pkg install qemu

Testing the installation

Create a virtual HDD file.

qemu-img create -f qcow2 image.img 10G

Download ISO file of a current version of linux distribution say Debian


Start off the installation of Debian from the ISO we just downloaded.

qemu -m 1024 -cdrom debian-8.3.0-amd64-netinst.iso -hda image.img -boot d  -net nic -net user -nographic -vnc :0

Connect to the Virtual machine we ran just now using the following entry on any VNC client.


Once the Operating system is installed in the Virtual Machine, boot it using the following command.

qemu -m 1024 -cdrom debian-8.3.0-amd64-netinst.iso -hda image.img -boot c  -net nic -net user -nographic -vnc :0

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s