I'm building nanoBSD using FreeBSD 9.0. After a long struggle, I'm successfully building the image and creating a CF card that boots on my Soekris net4501.
The next hurdle is that I can't seem to write to the /cfg slice to store changes in the configuration. I believe the problem is with the way that slice is being created in the nanobsd script, but I haven't been able to isolate the problem.
I can mount the slice, either on the Soekris or on the host system (by mounting /dev/da0s3) without any errors. However, the mount point shows up with no write permissions ("dr-xr-xr-x"). Trying "chmod u+w" returns an "Operation not permitted" message, as does attempting to write to the filesystem (obviously).
This behaviour occurs on both the host system and on the Soekris, so I assume there is something in the way the filesystem is being created by nanobsd.sh that is causing the problem. Any suggestions on what might be causing this?
(Interestingly, if I mount the system slice on the CF card (/dev/da0s1a), I can write to it without any issues -- the problem appears confined to the 3rd /cfg slice.
Thanks for any pointers.
John
The next hurdle is that I can't seem to write to the /cfg slice to store changes in the configuration. I believe the problem is with the way that slice is being created in the nanobsd script, but I haven't been able to isolate the problem.
I can mount the slice, either on the Soekris or on the host system (by mounting /dev/da0s3) without any errors. However, the mount point shows up with no write permissions ("dr-xr-xr-x"). Trying "chmod u+w" returns an "Operation not permitted" message, as does attempting to write to the filesystem (obviously).
This behaviour occurs on both the host system and on the Soekris, so I assume there is something in the way the filesystem is being created by nanobsd.sh that is causing the problem. Any suggestions on what might be causing this?
(Interestingly, if I mount the system slice on the CF card (/dev/da0s1a), I can write to it without any issues -- the problem appears confined to the 3rd /cfg slice.
Thanks for any pointers.
John