Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Factory reset from Shell (Single User Mode)

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    5 Posts 3 Posters 2.2k Views 3 Watching
    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.
    • C
      chrisarm
      last edited by

      I have an old SG-4860 that stopped working after a reboot and console shows a bunch of errors before it gets to the login prompt.

      It's running 2.4.4. Is it possible to do a factory reset from single user mode? I can't get the factory reset button to work.

      1 Reply Last reply
      Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8
        last edited by

        check if you can launch /etc/rc.initial.defaults after remounting rw the filesystem

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        1 Reply Last reply
        Reply Quote 1
        • dragoangelD
          dragoangel
          last edited by dragoangel

          Maybe better install OS from scratch in your case?)
          It more solid and quicker resolution

          Latest stable pfSense on 2x XG-7100 and 1x Intel Xeon Server, running mutiWAN, he.net IPv6, pfBlockerNG-devel, HAProxy-devel, Syslog-ng, Zabbix-agent, OpenVPN, IPsec site-to-site, DNS-over-TLS...
          Unifi AP-AC-LR with EAP RADIUS, US-24

          1 Reply Last reply
          Reply Quote 1
          • C
            chrisarm
            last edited by

            Ended up doing the install OS / reimage route since time was pressing. Worked out since I had a backup config from just before the reboot. Always backup the config.

            Cheers,
            Chris

            1 Reply Last reply
            Reply Quote 0
            • dragoangelD
              dragoangel
              last edited by

              On install of OS you have options to recover config.xml from previous install before format drive.
              FYI: now you can auto backup config for free out of box to netgate servers in encrypted way. Or if you have paranoid you can use curl script to download backups on another unix-based machine internally.

              Latest stable pfSense on 2x XG-7100 and 1x Intel Xeon Server, running mutiWAN, he.net IPv6, pfBlockerNG-devel, HAProxy-devel, Syslog-ng, Zabbix-agent, OpenVPN, IPsec site-to-site, DNS-over-TLS...
              Unifi AP-AC-LR with EAP RADIUS, US-24

              1 Reply Last reply
              Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
              Privacy Policy · Cookie Policy