Create a FreeBSD machine
FreeBSD 15.1 runs without a guest agent, so you reach it with ssh and its window.
Create the machine
- Choose File > New Machine.
- Select FreeBSD 15.1, then click Continue.
- Enter a name. Your public keys from
~/.sshare already selected under Public Keys. - Click Create, then start the machine.
To create and start it in Terminal:
osmates vm create bsd --image freebsd-15.1 --ssh-key ~/.ssh/id_ed25519.pub
osmates vm start bsd
The first machine downloads the 595 MB image and checks FreeBSD's signed checksums. The first start upgrades FreeBSD's base packages when it's online, and restarts once if any changed.
Sign in
The machine has an account with your Mac's user name and your SSH keys, and no password. Add --user at creation for another name.
-
Find the address on the
bound toline of the console log:osmates vm logs bsd | grep 'bound to' -
Run
sshwith your account and that address.
ssh doesn't accept root. Your account is in the wheel group, so su makes you root without a password. At the console in the machine's window, root signs in without a password, as in FreeBSD's image.
Grow the disk
FreeBSD doesn't grow its file system when the disk grows. After the machine starts with its bigger disk, run this as root:
service growfs onestart
Limits
FreeBSD runs on the OSMates engine. Sound, snapshots, suspend, and clones work as on other machines. Without a guest agent, these don't:
osmates vm exec,osmates vm copy, and the clipboardosmates ssh- Shared folders and port forwards
- Language, region, and keyboard settings. The machine uses the US layout and UTC.
A clone keeps its source's host name and SSH host keys. After a resume or a revert to a snapshot with memory, the clock shows the saved time. To set it, run service ntpdate onestart as root.