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

    Can I change the NanoBSD options from command line without affecting GUI?

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    5 Posts 3 Posters 1.2k 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.
    • Z
      zenny
      last edited by

      Just wondering whether it breaks the GUI if I make the changes manually from commandline like:

      boot0cfg -v -s 1 da0s2
      
      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        No that should be OK, the current boot slice and such is read dynamically.

        Why do you need to set that by hand though?

        There is /etc/rc.nanobsd_switch_boot_slice to do that for you at the CLI.

        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
        • Z
          zenny
          last edited by

          @jimp:

          No that should be OK, the current boot slice and such is read dynamically.

          Why do you need to set that by hand though?

          1. Because of an accident happened to me once while upgrading. I accidently switched off power strip almost at the end of an upgrade needing me to switch the boot slice.

          2. I am more comfortable with command line. ;-)

          There is /etc/rc.nanobsd_switch_boot_slice to do that for you at the CLI.

          Thanks for the pointer, jimp.

          BTW what is the command line script to change to rw mode?

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            http://doc.pfsense.org/index.php/Remount_embedded_filesystem_as_read-write  :)

            Steve

            1 Reply Last reply Reply Quote 0
            • Z
              zenny
              last edited by

              @stephenw10:

              http://doc.pfsense.org/index.php/Remount_embedded_filesystem_as_read-write  :)

              Steve

              /etc/rc.conf_mount_rw and /etc/rc.conf_mount_ro makes me feel easy. :-)

              Thanks, Steve! :-)

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