MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Everything was going so well

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    52 Posts 4 Posters 18.1k Views 3 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.
    • mumblebajM Offline
      mumblebaj Module Developer @JMac
      last edited by

      @JMac You can use the scripts from Sam to install MM. You can find them here. Always do a backup of your install with one of Sam’s script as this would save tears in the end. I have been there before and the backup and restore process saved me a few times.

      Scripts can be located here:
      https://github.com/sdetweil/MagicMirror_scripts

      Check out my modules at: https://github.com/mumblebaj?tab=repositories
      Check my blog-post: https://mumblebaj.xyz/

      1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @JMac
        last edited by sdetweil

        @JMac you cant whack on a file system if its mounted for access,do

        df -k

        will show u the devices and where they are mounted then sudo umount /dev/… what you were using

        df -k should show it gone
        then the fsck… commands should work w sudo

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @JMac
          last edited by

          @JMac if u can get the config, custom
          css and and listing of the modules ( ls command) we can build the backup/restore files

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • J Offline
            JMac @sdetweil
            last edited by JMac

            @sdetweil sorry to be dense how do I know what I’m unmounting?
            am I unmounting /dev/mmcblk0p1?? it says thats mounted on /boot.

            edit to add,
            after re running sudo fdisk -l it would appear the old memory card (with my previous MM setup on) is on Disk /dev/sda

            thats classed as Disk Model: storage device (as it’s mounted in the usb drive atm) does this seem correct? is this the one which needs unmounting?

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @JMac
              last edited by sdetweil

              @JMac well mounted means accessible by the filesystem

              so it’s /dev/sda
              the usb installed sd card

              so

              sudo unmount /dev/sda
              and then run fsck on that

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • J Offline
                JMac
                last edited by

                so I run the command sudo umount /dev/sda
                and get
                umount: /dev/sda: not mounted.

                so should now go,
                e2fsck -f -v /dev/sda
                not the original
                e2fsck -f -v mmcblk0p2

                ?

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @JMac
                  last edited by

                  @JMac correct… you had to find the disk name

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    JMac @sdetweil
                    last edited by

                    @sdetweil when i run e2fsck…
                    I get
                    e2fsck: permission denied while trying to open /dev/sda
                    you must have r/w access to the filesystem or be root.

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @JMac
                      last edited by sdetweil

                      @JMac yes, you must use sudo on both commands unmount and fsck

                      sorry I was unclear

                      normal users should not be able to mess with hardware, so one must act as root

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        JMac @sdetweil
                        last edited by

                        @sdetweil I run sudo umount…
                        and get
                        umount:… not mounted,

                        then run
                        sudo e2fsck -f -v /dev/sda
                        and get
                        e2fsck 1.46.2 (28-feb-2021)
                        /dev/sda is in use
                        efsck: connot continue, aborting.

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 4 / 6
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy