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

    Problems on boot - WARNING : / was non properly dismounted - /lib/libedit.so.7: invalid file format

    Scheduled Pinned Locked Moved Hardware
    15 Posts 6 Posters 5.8k 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.
    • T
      Tommaso Forrest
      last edited by

      i tried to follow this steps :

      Connect to the console

      *Choose the menu option to reboot from the console menu (5)

      Enter F (uppercase “f”) to force a filesystem check during the boot sequence even if the drive is considered clean

      That option is not present on all firewalls as it is not compatible with certain BIOS implementations. If that option is not present:

      Reboot the firewall into single user mode by choosing option 2 from the boot menu

      Press Enter when prompted for a shell

      Enter fsck -y /

      Repeat the command at least 3 times, or until no errors are found, even if the filesystem is reported clean


      i didn't find menu option 5 and i don't know other way to interrupt the boot.

      Than i used "option 2" ( single user mode )

      If i use this option i get the same problem : i can't access to shell

      PsSense_20190924.png

      Tanks

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

        @kiokoman said in Problems on boot - WARNING : / was non properly didmonted - /lib/libedit.so.t: invalid file format:

        do it at least 5 / 6 times even if it tell you that the file system is clean

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        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 0
        • T
          Tommaso Forrest
          last edited by

          i'm using PfSense in a vitual machine ( Virtualization Station on QNAP NAS )

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

            the procedure is the same even if it were installed in a microwave :)

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            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
            • T
              Tommaso Forrest
              last edited by

              Anyway, i tried but alway i can't access to file system by shell : there is a way to force file sytem check by set command as boot option ?

              viktor_gV 1 Reply Last reply Reply Quote 0
              • viktor_gV
                viktor_g Netgate @Tommaso Forrest
                last edited by

                @Tommaso-Forrest If you have fresh backup, simply reinstall it and upload backup configuration
                If you have enough RAM for pfSense VM, it more better to use ZFS

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

                  when it boot you can select to run it as single user mode
                  when you see
                  Enter full pathname of shell or RETURN for /bin/sh:
                  you press return
                  then you can launch
                  fsck -y /

                  i think it's faster if you reinstall as suggested by viktor_g anyway

                  ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                  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 0
                  • GertjanG
                    Gertjan
                    last edited by

                    Right after the startup of your VM you see this :

                    5db8bbfd-68ac-4ce6-b6d1-ba0957481a14-image.png

                    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 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      Honestly if it's failing that early, running fsck may not be enough. It might need reinstalled. Also a slight chance it's not actually a filesystem problem but a failing disk.

                      Normally with a filesystem issue it would fail on files or directories that are regularly read/written, not system libraries. That isn't always the case, just more likely.

                      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
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        If pressing return at that prompt does not allow you to reach the shell there is probably nothing you can do from there.

                        You might be able to boot from an ISO and then escape to a shell and fsck the disk from there.

                        If you have a config backup just reinstall. It's a VM, do you have any snapshots?

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tommaso Forrest
                          last edited by

                          Tanks ... i try to boot from CD and escape to a shell

                          Tanks

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