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

    SG-5100 won't boot after update 21.02.1 > 21.02.2

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    21.02.2sg-5100wont boot
    6 Posts 3 Posters 1.4k 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.
    • K
      KrunoB
      last edited by KrunoB

      I have SG-5100 and after I updated it from 21.02.1 to 21.02.2 I had a short power outage. After that, the SG-5100 does not boot. In the console I can see that booting process stuck on:

      Trying to mount root from ufs:/dev/ufsid/60429683c2d3f3dd [rw,noatime]...
      WARNING: / was not properly dismounted
      WARNING: /: mount pending error: blocks 34568 files 301
      Dual Console: Serial Primary, Video Secondary
      2021-04-22T16:02:38.529817+02:00 init 34 - - login_getclass: unknown class 'daemon'
      2021-04-22T16:02:38.535456+02:00 init 34 - - login_getclass: no default/fallback class 'default'
      ld-elf.so.1: Shared object "libedit.so.7" not found, required by "sh"
      Enter full pathname of shell or RETURN for /bin/sh: uhub0: 8 ports with 8 removable, self powered

      I tried to boot the old kernel, but it didn't help. Is there anything else I could try?

      1 Reply Last reply Reply Quote 1
      • bmeeksB
        bmeeks
        last edited by bmeeks

        The SG-5100 is more like a desktop PC than a typical home router/firewall. Any pfSense installation absolutely hates a power disruption that results in an unplanned shutdown. That usually leaves the disk system corrupted. It's the same as just forcibly powering down your desktop PC, for example. Sometimes it comes back up, but sometimes it does not.

        You need to run fsck several times to repair the file system. Here are some details from the official docs: https://docs.netgate.com/pfsense/en/latest/troubleshooting/filesystem-check.html.

        And after you get the file system cleaned up and restored, you should immediatley order a UPS (Uninterruptible Power Supply) for your firewall and connect it up. Use the apcupsd or nut package to allow pfSense to monitor the UPS state and shut itself down gracefully if the UPS switches to battery and the battery is nearing exhaustion.

        K 1 Reply Last reply Reply Quote 2
        • K
          KrunoB @bmeeks
          last edited by

          @bmeeks

          Thank you for responding to my post. I tried your recommendation from the link, but unfortunately it didn't help.

          In the console menu, I selected option 3 (Escape to loader prompt) and after the system wrote this:

          Type '?' for a list of commands, 'help' for more detailed help.
          OK

          i wrote boot -s

          The system started booting and stopped with:

          Trying to mount root from ufs: / dev / ufsid / 60429683c2d3f3dd [rw, noatime] ...
          WARNING: / was not properly dismounted
          WARNING: /: mount pending error: blocks 34568 files 301
          Dual Console: Serial Primary, Video Secondary
          Enter full pathname of shell or RETURN for / bin / sh: uhub0: 8 ports with 8 removable, self powered

          then i entered fsck -fy /

          and got the answer:
          Enter full pathname of shell or RETURN for / bin / sh: fsck -fy /
          2021-04-23T15: 13: 34.179025 + 02: 00 init 38 - - can't exec fsck -fy / for single user: No such file or directory
          ld-elf.so.1: Shared object "libedit.so.7" not found, required by "sh"
          2021-04-23T15: 13: 34.195622 + 02: 00 init 39 - - login_getclass: unknown class 'daemon'
          2021-04-23T15: 13: 34.195918 + 02: 00 init 39 - - login_getclass: no default / fallback class 'default'
          ld-elf.so.1: Shared object "libedit.so.7" not found, required by "sh"
          Enter full pathname of shell or RETURN for / bin / sh:

          Did I do something wrong? Is there anything else I could try or do I need to reinstall pfSense?

          Thank you again for helping me.

          GertjanG 1 Reply Last reply Reply Quote 0
          • bmeeksB
            bmeeks
            last edited by bmeeks

            Well, that result (being unable to even see the directory) is not promising. If you have the install image, I would try reinstalling and importing your config. Here is a link to all the online documentation for your appliance: https://docs.netgate.com/pfsense/en/latest/solutions/sg-5100/index.html. There is a section in the docs about reloading pfSense.

            If you need a current image, you can get one for no charge from Netgate by opening ticket here: https://go.netgate.com/. Just register with your email, provide the serial number of your SG-5100, and ask for a current install image.

            1 Reply Last reply Reply Quote 1
            • GertjanG
              Gertjan @KrunoB
              last edited by

              @krunob

              This :

              @krunob said in SG-5100 won't boot after update 21.02.1 > 21.02.2:

              / was not properly dismounted

              has its own official video : youtube netgate fsck

              If that video doesn't help, contact support, get a copy of the 'firmware' pfSense "21.02.2 " and go for the re install.

              Btw : Ok not to use an UPS, but guarantee (yourself) that their will be no power outages any more. If you can't guarantee, take an UPS - you can share with your NAS and PC if you want. Or keep a USB drive with the latest firmware ready at hand (as soon as you have it, you'll know that you never gona need it).

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 1
              • K
                KrunoB
                last edited by

                I contacted Netgate support and got the install image, reinstalled the firmware and for now everything looks fine.

                Thank you very much for your help and advice on using the program and equipment.

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