Installing Qemu on FreeBSD 8.1


To install Kqemu-kmod use the following command.

 # pkg_add -r kqemu-kmod 

To Install Qemu use the following command.

 # pkg_add -r qemu 

Now load the kernel modules using the following commands.

# kldload kqemu
# kldload aio

Testing the installation

Create a virtual HDD file.

 # qemu-img create -f qcow2 image.img 1G 

Download ISO file of a current version of linux distribution say Damn small linux.

# wget

Run the following command.

# qemu -cdrom dsl-4.4.10.iso -hda image.img -m 75 -boot d -nographic -vnc :0

Now connect it using a VNC client using the VNC server address as <ipaddress>: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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s