Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Read-only after upgrade [solved]

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    5 Posts 3 Posters 2.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      AndrewZ
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        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

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • A
          AndrewZ
          last edited by

          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!

          1 Reply Last reply Reply Quote 0
          • AhnHELA
            AhnHEL
            last edited by

            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 /

            AhnHEL (Angel)

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              Using /etc/rc.conf_mount_rw and ro is the right method.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.