Setting up FreeBSD as Virtual Machine in VMware

Updated . Posted . Visible to the public.

Install FreeBSD

Install VMware Tools

Choose Virtual Machine > Install VMware Tools from the VMware menu, then as root:

^
# install required packages
pkg_add -v -r perl compat6x-amd64

# mount the CD
mount /cdrom

# copy and extract the VMWare tools
cd /tmp
tar zxpf /cdrom/vmware-freebsd-tools.tar.gz
umount /cdrom

# run installation script,
# just confirm the default answers when asked
cd vmware-tools-distrib/
./vmware-install.pl

Set screen resolution

If /usr/src/ is empty, install the sources: Run sysinstall as root, choose Configure, then Distributions, then src, and finally All. Choose CD/DVD as source and have the .iso file you used for installation connected to your Virtual Machine. Then create a symlink to /usr/src/sys:
^
ln -s /usr/src/sys/ /sys/

Now follow this guide Show archive.org snapshot .

Dominik Schöler
Last edit
License
Source code in this card is licensed under the MIT License.
Posted by Dominik Schöler to makandra dev (2011-05-25 09:28)