Setup for a FreeBSD laptop
Purpose
Section titled “Purpose”This document describes the setup for a FreeBSD PC or Laptop for use within the A* project. In particular:
- How to install it?
- Why even use FreeBSD.
- Current status
Current Status
Section titled “Current Status”Phil is using it as for his laptop which is the current development platform for most work. The systems benefits include:
- It uses ZFS as its default file system which has benefits including:
- It can do data de duplication, i.e. if you have repetitive data it only keeps one version. This is cool since Phil as a tendency to keep backup disks and deduplicating in the file system is great.
- Various reliability features.
- Snapshots, …
- Its different from the
a-star-microgrid.comand the green sentinel which run on OpenBSD at least for now. 3.The ports collection is an interesting comparision with OpenBSD since its much larger.
Disadvantages include:
- It takes a while to configure all devices.
- Web browser implementations seem problematic.
- X11 and sound requires more work.
What about SBOM, conformance, etc.
Section titled “What about SBOM, conformance, etc.”See the <freebsd.org> but there are projects doing this and of course A* does it all internally. See https://a-star-microgrid.com/a-team/COMPONENTS/platform-security-overview for details.
Why even use FreeBSD
Section titled “Why even use FreeBSD”See the platform-comparision-security for details but in general FreeBSD is:
- Diversity is our strength from OpenBSD which provides a requirement for a complete system attack to break both systems.
- Provides a good platform for testing unix popularity.
- Ubuntu has significant issues with snaps which has taken that out of the mix noting that was Phils previous OS.
- Backup the machine, all the data is in the gun safe in Darwin on two disks in a black Pelic Case. There are two USB thumb drives with FreeBSD and OpenBSD on them or download them,
- Boot into the BIOS usin F2.
- Disable BIOS boot security.
- Turn off hyperthreading, etc in BIOS
- Set boot order so the USB boots.
- Do the usual BSD install process but add 2GiB of swap space in case you build from ports.
- Includes the ports collection.
Then you need to setup X etc.
TODO: once Phils laptop is tested setup will be copied into this component.