Read-only, diskless boot

Jay L. T. Cornwall jay at
Sun Mar 9 20:15:47 UTC 2008


I am trying to install FreeBSD onto a CompactFlash card for an ALIX
system. This guide precisely documents my goals:

Unfortunately, it has not been updated for FreeBSD 7. Crucial files such
as /etc/rc.diskless2 have been replaced by a new mechanism in
/etc/rc.initdiskless. The little documentation I have scraped from the
web is too focused on PXE boots with NFS-mounted directories for me to
figure the new system out.

All I need is:
  * / partition to work in read-only mode.
  * Volatile directories such as /root, /var and /tmp to be populated
    into a memory filesystem on boot.

The /conf system seems to be related to this, however
/etc/rc.initdiskless specifically says that it is not the correct
mechanism to use for /var. (Quite what is, I've no idea.)

Can someone give me a leg up?

Jay L. T. Cornwall

More information about the freebsd-questions mailing list