lost and found ( for me ? )

install PC-BSD 9.1 32bit within Ubuntu 13.04 KVM

Here’s an explanation of how to build a PC-BSD VM within KVM.
I am newbie to FreeBSD / PC-BSD.

KVM info
# qemu-system-x86_64 –version
QEMU emulator version 1.4.0 (Debian 1.4.0+dfsg-1expubuntu4), Copyright (c) 2003-2008 Fabrice Bellard

# libvirtd --version
libvirtd (libvirt) 1.0.2

# tail -1 /etc/lsb-release
DISTRIB_DESCRIPTION="Ubuntu 13.04"

# uname -ri
3.8.0-23-generic x86_64

build a PC-BSD VM with PCBSD9.1-x86-DVD.iso.

start virt-manager to build the VM
I specified OS type : UNIX  , FreeBSD8.x , because there is no FreeBSD9.x in the VM list.

installing PC-BSD


after installing PC-BSD 9.1


enable sshd to allow SSH access from remote clients
on the BSD VM , start sshd
# /etc/rc.d/sshd start

stop PF
# pfctl –d
when enabling PF , issue “pfctl –e”

how to enable sshd and disable PF after rebooting the VM.
edit /etc/rc.conf as below and then reboot the VM.
# egrep sshd_enable /etc/rc.conf
sshd_enable="YES"
# egrep pf_enable /etc/rc.conf
pf_enable="NO"

# reboot

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.