Before my question, a little background info, as I'm not sure whether it might be pertinent or not:
I am trying to set up full disk encryption using GELI, booting from an external thumb drive, on FreeBSD 10.1. I've done this several times over the years with earlier versions of FreeBSD, based on section 3.5 of the this paper.
It's pretty out of date by this point - written in 2005 based on FreeBSD 6.0 - but it's served me well over the years and I haven't yet been able to find anything more recent.
Anyway, I have wiped the hard drive, and done geli init, geli attach, bsdlabel, and newfs. Now I'm trying to install the system, as in the bottom part of section 3.5.4, which starts:
mount /dev/ad0.elia /fixed
When I try to do this, it tells me "No such file or directory" (referring to /fixed).
So, I try
mkdir /fixed. But it then tells me "
Read-only file system".
Then I did a
chmod +w /, which didn't complain to me, and tried the mkdir again, but it again told me that it was a read-only file system.
How can I do this? Thanks.
Edit: Poking around, I found that there's a preexisting
/mnt directory, and I can mount into that. I can't
mkdir /mnt/fixed, though, so I guess I can only mount one thing at a time. And there's no
/dist directory, I can't find anything like
/dist/10.1-RELEASE, and there seems to be no file anywhere called install.sh, so I can't do what I wanted to do by mounting anyway... but I guess that's a different question.