View Single Post
  #5   (View Single Post)  
Old 13th July 2010
sharris sharris is offline
Package Pilot
 
Join Date: Jun 2010
Posts: 146
Default

A silent Thank you phoenix ... I can't believe my ears. I guest I'm half way there. More than I ever seen.. Now I'll see about KVM if this is not all of it. When I install and FreeBSD is HOST and it can make Windows XP as guest, I'll be more than happy.

http://www.linux-kvm.org/page/BSD

Code:
kqemu on BSD 
FreeBSD 

Updating Base System 
$ freebsd-update fetch install

Updating Ports System 
$ portsnap fetch extract

Installing kqemu-kmod 
$ pkg_add -r kqemu-kmod

Intalling qemu 
$ pkg_add -r qemu

Loading kernel modules 
$ kldload kqemu
$ kldload aio

Creating the image file 
$ qemu-img create -f qcow2 kwinxp.img 5G

Starting the vm 
$ qemu -cdrom /dev/acd0 -hda kwinxp.img -m 512 -boot d -kernel-kqemu -localtime

Troubleshooting 

If you run into problems installing W2K or XP Os, run qemu without acpi and kqemu. 
$ qemu -cdrom /dev/acd0 -hda kwinxp.img -m 512 -boot d -no-kqemu -no-acpi -localtime

If you are running a server without X, access your VM through VNC 
$ qemu -cdrom /dev/acd0 -hda kwinxp.img -m 512 -boot d -kernel-kqemu -vnc :0 -localtime

Last edited by sharris; 13th July 2010 at 05:53 AM.
Reply With Quote