Adding a new bhyve guest to FreeBSD 11.1

Installing a guest on FreeBSD’s bhyve, assuming bhyve has previously been installed and is hosting at least one vm.

The guest’s hostname will be mailpile, its shall have 100GiB of storage and 2048 MiB of RAM.

# Obtain a list of iso's known to bhyve.
vm iso

# Create debian Linux guest. It shall have the hostname mailpile and have access to 100GiB of storage space.
vm create -t debian -s 100G mailpile

# Autostart the guest when the system comes up.
add mailpile to vm_list in /etc/rc.conf

# Configure the guest (add more RAM to it, I used 2048M).
vm configure mailpile

# Install debian to the guest. Spell out an iso file from "vm iso".
vm install mailpile debian-...myversion.iso

# Connect to the guest.
vm console mailpile

You should now be in the Debian installer.

Leave a Reply