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

    How to force read-only after an update from 2.2.5 to 2.2.6 on NanoBSD image?

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    6 Posts 3 Posters 1.7k 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.
    • V
      vizi0n
      last edited by

      Hi all,

      I have updated my Watchguard X750e from 2.2.5 to 2.2.6 today. It is running the NanoBSD version on a CompactFlash and now (since the update) the filesystem defaults to RW instead of RO. Where can I toggle it to be RO by default on boot? Changing it under Diagnostics / NanoBSD is only until the next reboot

      Thanks!

      Some info:

      Bootup slice is currently: ada0s2

      
      [2.2.6-RELEASE][admin@pfSense.localdomain]/root: cat /etc/fstab 
      /dev/ufs/pfsense1 / ufs ro,sync,noatime 1 1
      /dev/ufs/cf /cf ufs ro,sync,noatime 1 1
      
      
      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        You should uncheck "Keep media mounted read/write at all times".
        If that does not work after reboot, then there is some problem in the boot process - the file system should be switched to read only when the boot is finished doing its stuff.

        NanoBSD-RW.png
        NanoBSD-RW.png_thumb

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • V
          vizi0n
          last edited by

          @phil.davis:

          You should uncheck "Keep media mounted read/write at all times".
          If that does not work after reboot, then there is some problem in the boot process - the file system should be switched to read only when the boot is finished doing its stuff.

          The problem is that the checkbox isn't checked. I'll keep fiddling around, but tomorrow! :)

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

            The system must believe something is still attempting to write. You can try triggering the switch to RO multiple times until it switches back.

            On the screen that Phil posted, does your "reference count" show a value greater than 0?

            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
            • V
              vizi0n
              last edited by

              @jimp:

              The system must believe something is still attempting to write. You can try triggering the switch to RO multiple times until it switches back.

              On the screen that Phil posted, does your "reference count" show a value greater than 0?

              Hi jimp,

              There is no "reference count" on my router's page. If I click set to RO it does set it. Its just that after a reboot it is back to RW again.

              ![Screen Shot 2015-12-23 at 6.31.30 PM.png](/public/imported_attachments/1/Screen Shot 2015-12-23 at 6.31.30 PM.png)
              ![Screen Shot 2015-12-23 at 6.31.30 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2015-12-23 at 6.31.30 PM.png_thumb)

              1 Reply Last reply Reply Quote 0
              • V
                vizi0n
                last edited by

                Oh well… I did not find the root cause of it, but I backed up my settings, factory defaults, restore settings, and now its read-only after boot.

                Go figure...

                :o

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