Read-only after upgrade [solved]
-
I've upgraded to a latest version after my vacations and noticed that I cannot copy my script anymore as I did it before:
[2.0-RC3][root@gw.lan]/root(4): cp /cf/conf/reset_state.sh /usr/local/etc/rc.d/ cp: /usr/local/etc/rc.d/reset_state.sh: Read-only file system [2.0-RC3][root@gw.lan]/root(5):
Something changed?
Thanks! -
Are you on NanoBSD? If so, it's supposed to be read only at all times, but some bugs were keeping it from getting there.
http://redmine.pfsense.org/issues/1279
-
Yes, I'm on NanoBSD. So, it was a bug before but not anymore, right?
Is the following sequence ok?
[2.0-RC3][root@gw.lan]/root(2): /etc/rc.conf_mount_rw [2.0-RC3][root@gw.lan]/root(3): cp /cf/conf/reset_state.sh /usr/local/etc/rc.d/ [2.0-RC3][root@gw.lan]/root(4): /etc/rc.conf_mount_ro [2.0-RC3][root@gw.lan]/root(5):
Thanks!
-
In the Web GUI, go to Diagnostics/Command and enter the following command:
mount -uw /
Make your changes and go back to Command and make it read only again.
mount -ur /
-
Using /etc/rc.conf_mount_rw and ro is the right method.