I was finally able to get FreeBSD installed on LXD:
rob@bsd:~ $ uname -a
FreeBSD bsd 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
After all of the Ubuntu upgrades, I found that I had done some strange configuration on my LXD system. It’s been a bit since I looked at it and instead of trying to fix it, I just uninstalled (sudo snap remove --purge lxd
) and reinstalled.
After LXD was installed and configured, I downloaded the FreeBSD 14.1 release DVD and created a VM on LXD with the following:
lxc init bsd --empty --vm
lxc config set bsd security.secureboot=false
lxc config device add bsd custom-device-name disk source=/home/rob/FreeBSD-14.1-RELEASE-amd64-dvd1.iso
lxc start bsd
lxc console bsd
That took me to the installation screen for FreeBSD. It was pretty easy to get through. I picked defaults most of the way through and it took just a few minutes to get up and running. I logged back in using lxc console bsd
and the OS is running. (Pro tip: use Ctrl-a q to exit the console)
I wasn’t able to get a IPV4 address assigned. That’ll be my first troubleshooting case on FreeBSD.