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

    [solved] Possible disk corruption, trying to boot to single user mode hangs

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    4 Posts 2 Posters 7.1k 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.
    • S
      sforsythe
      last edited by

      What is the proper way to get to single user mode with pfsense?

      I hit "2" at the boot logo, but then get to
      "Trying to mount root from ufs…." , and just hangs.  (never get prompt asking for shell, etc)

      If I reboot to default, will boot fine.

      The reason I am checking for disk corruption is after a power cycle, I lost all of my fw rules and had message
      "Warning: /: mount pending error: blocks 16 files 0"

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

        Sounds like you're looking at the secondary console not the primary. For example, if the box has serial and video consoles and is set to prefer serial, it will get the single user mode prompt and not video.

        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
        • S
          sforsythe
          last edited by

          Yes that was the issue, support was able to point that out to me.  Apparently multi-user mode will do either-or/both , but single mode defaults to first only.
          For anyone else stuck trying to get to single user mode, change the line in /boot/loader.conf

          -console="comconsole,vidconsole"
          +console="vidconsole,comconsole"

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

            You can also do that on-the-fly from a loader prompt without editing:

            https://doc.pfsense.org/index.php/Boot_Troubleshooting#Booting_with_an_alternate_console

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.