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.
    • 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 Offline
        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 Offline
            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
              • S Offline
                sdetweil @JMac
                last edited by

                @JMac hm… wonder what is using it?

                can you open the disks app on the pi from the dedktop menu

                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 on the home screen I have 2 drive icons under the wastebasket.
                  one is boot
                  the other is rootfs

                  i then have the option to eject these in the file manager

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

                    @JMac there should be that drive on /dev/sda too

                    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’m a little confused (I’d imagine thats pretty clear at this point).

                      i run sudo fdisk -1
                      and get
                      Disk /dev/ram0 through to Disk /dev/ram15
                      the list then has
                      Disk/dev/mmcblk0: 7.4GiB (my thinking is this is the current/new sd card)

                      Device
                      /dev/mmcblk0p1
                      /dev/mmcblk0p2

                      Disk /dev/sda:59.69 GiB (I again assume this is the old SD with my original MM setup)

                      Device
                      /dev/sda1
                      /dev/sda/2

                      end of the list.

                      does any of that make sense/ is any of it what I’m looking for? I’ve obviously taken out several lines under each of those headers just for space and time typing.

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

                        @JMac yes sda has two partitions boot and rootfs

                        but you need to run e2fsck on /dev/sda2
                        e2fsck mean extended version 2, file system check

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 3 / 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