The reasons that a read-only CF card is irrelevant for any reasonably modern CF card have been discussed to death on this list; save yourself the headache and just do a normal install.
On Sun, Jul 11, 2010 at 04:31:20PM -0700, Peter Bako wrote: > I'm setting up (well, trying to I guess :-) ) a read-only OpenBSD system to > run off a small CF card. Never having done this before, I found an > excellent article written by Daniele Mazzocchio > (http://www.kernel-panic.it/openbsd/embedded/) to use as my guide. I had a > few minor issues crop up, but have been able to work my way through them. > However I finally got to one that I am stumped with. > > Basically once I boot of my new image, I am able to log into it on the > serial console and things look ok. I can also ping the IP address of the > unit, but when I try to SSH into it I get the following message: > > "Server refused to allocate pty" > > I've checked over my setup and all seems fine as per the instructions. I > have all the pty* devices from /dev (which is RO) linked to /var/run/dev > (which is in memory), so the problem cannot be that these devices are not > writeable. (Actually /var is linked to /tmp/var, where the /tmp directory > is in memory and populated by the image from a directory called /template.) > > Unfortunately this goes a bit beyond my current skill set, so if anyone has > any suggestions I really would appreciate the help. > > BTW, in case it matters. I'm using OpenBSD 4.6 as both the host on which I > setup the image and OS on the CF card. The card in question is a 64M > SanDisk CF and is being plugged into a Soekris Net4801 box. None of these > should make a difference, but you never know... :-) > > Thanks, > Peter