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

    file consistency check - resulting errors

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    netgate-sg-1100file system che
    16 Posts 4 Posters 2.6k Views 4 Watching
    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.
    • A Offline
      alfaro
      last edited by

      Thank you for the reply. I have a question about single user mode. I used an ssh terminal to access the device, is there a way to get to single user mode via ssh or will I have to resort to using the serial cable?

      Thanks

      1 Reply Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator
        last edited by

        You can only access it at the console. Most of the usual services, like SSH, are not running in single user mode.

        Steve

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          alfaro @stephenw10
          last edited by

          @stephenw10 Thank you again.

          I used the serial cable to access the console but it does not say 'loader'. It says instead: Marvell>>

          When I see: Marvell>> I type: boot -s
          but all I get back is: Marvell>> boot -s
          boot - boot default, i.e., run 'bootcmd'

          Usage:
          boot
          Marvell>>

          ====
          This where I am unable to get to the single user mode.

          Hoepfully someone will know what might be wrong here

          1 Reply Last reply Reply Quote 0
          • A Offline
            alfaro @stephenw10
            last edited by

            @stephenw10 @stephenw10 Thank you again.

            I used the serial cable to access the console but it does not say 'loader'. It says instead: Marvell>>

            When I see: Marvell>> I type: boot -s
            but all I get back is: Marvell>> boot -s
            boot - boot default, i.e., run 'bootcmd'

            Usage:
            boot
            Marvell>>

            ====
            This where I am unable to get to the single user mode.

            Hopefully someone will know what might be wrong here!Screenshot from 2020-03-31 15-34-04.png

            1 Reply Last reply Reply Quote 0
            • C Offline
              Cornel
              last edited by Cornel

              type boot and then you should get:
              loader>

              there you type boot -s like:
              loader> boot -s

              or something. I did it this afternoon but failed to remember what I did exactly. Had the same Marvell prompt. And the above I what I believe I did. I stumbled upon this, and that is what got me through: https://forum.netgate.com/topic/125712/netgate-sg-3100-boot-loop-ufs_dirbad/4

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                alfaro @Cornel
                last edited by

                @Cornel
                Thanks for the reply. If what you did comes back to you please let me know.

                I tried in a few different ways bit seems like there is no documentation on this prompt which is slightly different.

                Thanks again.

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  Cornel @alfaro
                  last edited by

                  @alfaro try bootd at the Marvell prompt. Does that get you to the loader prompt?

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    alfaro @Cornel
                    last edited by

                    @Cornel I am away from it now but will try soon. Thanks

                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      Cornel @alfaro
                      last edited by

                      @alfaro good luck, It took me a few reboots as well this afternoon and somehow managed to get in to single user mode. You will succeed!

                      A 1 Reply Last reply Reply Quote 0
                      • A Offline
                        alfaro @Cornel
                        last edited by

                        @Cornel Hello, same thing. Did a quick loop and asked to press any key to stop boot and I was unable to get to single user mode.

                        C 1 Reply Last reply Reply Quote 0
                        • C Offline
                          Cornel @alfaro
                          last edited by

                          @alfaro it might be that you press a key to early. You should wait for “ Hit [Enter] to boot immediately, or any other key for command prompt” this comes after: “ Hit any key to stop autoboot”.

                          Also press space, not enter.

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S Offline
                            stephenw10 Netgate Administrator
                            last edited by

                            If you reach the Marvell>> prompt, which is u-boot, you intereupted it too soon.

                            Look at my console output above. Hit space, or anything but enter, when you see:
                            Hit [Enter] to boot immediately, or any other key for command prompt.

                            Then you will be at the bootloader prompt where you can boot into single user mode.

                            Steve

                            A 1 Reply Last reply Reply Quote 1
                            • A Offline
                              alfaro @stephenw10
                              last edited by

                              @stephenw10 Wow, thanks stephenw10. I just pulling the trigger too son. Thanks, it worked and now I have a clean file system and I can upgrade to the new version.

                              Thanks a million to the community and everyone who responded and helped.

                              1 Reply Last reply Reply Quote 1
                              • S Offline
                                scott38654 @stephenw10
                                last edited by

                                @stephenw10 thanks

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