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

Factory reset from Shell (Single User Mode)

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
5 Posts 3 Posters 1.5k 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.
  • C
    chrisarm
    last edited by Sep 14, 2019, 8:34 PM

    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
    • K
      kiokoman LAYER 8
      last edited by Sep 14, 2019, 10:29 PM

      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
      • D
        dragoangel
        last edited by dragoangel Sep 15, 2019, 1:19 AM Sep 15, 2019, 1:18 AM

        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 Sep 15, 2019, 1:26 AM

          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
          • D
            dragoangel
            last edited by Sep 15, 2019, 1:29 AM

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