• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 Aug 25, 2011, 2:53 PM Aug 24, 2011, 10:53 AM

    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
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Aug 24, 2011, 8:47 PM

      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 Aug 25, 2011, 8:19 AM

        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
        • A
          AhnHEL
          last edited by Aug 25, 2011, 8:59 AM

          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
          • J
            jimp Rebel Alliance Developer Netgate
            last edited by Aug 25, 2011, 11:35 AM

            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
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received