• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 May 18, 2016, 6:58 PM May 16, 2016, 10:42 PM

    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
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by May 18, 2016, 2:47 PM

      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 May 18, 2016, 6:57 PM

        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
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by May 18, 2016, 7:03 PM

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