• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 13.4k 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 @mumblebaj
    last edited by Apr 7, 2024, 9:30 AM

    @mumblebaj cool. Do you have any idea why the initial SD card would be failing to launch when the pi is turned on?
    as mentioned above it’s a good quality SD card so am I daft to consider (providing I can recover a copy of my old setup) copying it back onto to the original SD card, am I asking for trouble in the future?

    1 Reply Last reply Reply Quote 0
    • J Offline
      JMac @sdetweil
      last edited by Apr 7, 2024, 9:51 AM

      @sdetweil so I ran e2fsck -f -v /dev/mmcblk0p2

      got a warning about SEVERE filesystem damage.

      went yes and got ]e2fsck : permission denied while trying to open /dev/mmcblk0p2
      you must have r/w access to the filesystem or be root.

      How do I get around this?

      M 1 Reply Last reply Apr 7, 2024, 10:21 AM Reply Quote 0
      • M Offline
        mumblebaj Module Developer @JMac
        last edited by Apr 7, 2024, 10:21 AM

        @JMac I am sure Sam is probably still sleeping, but you can try sudo e2fsck -f -v /dev/mmcblk0p2. This should run as root user.

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

        J 1 Reply Last reply Apr 8, 2024, 5:10 PM Reply Quote 0
        • J Offline
          JMac @mumblebaj
          last edited by Apr 8, 2024, 5:10 PM

          @mumblebaj when I run that in terminal I get,
          e2fsck 1.46.2 (28-Feb-2021)
          /dev/mmcblk0p2 is mounted.
          e2fsck: cannot continue, aborting.

          Any thoughts, is that image/setup a goner?

          M S 2 Replies Last reply Apr 8, 2024, 5:22 PM Reply Quote 0
          • M Offline
            mumblebaj Module Developer @JMac
            last edited by Apr 8, 2024, 5:22 PM

            @JMac You could try systemctl stop udev and then try running it again. My knowledge of these linux things are not that great. Or service udev stop might work. I am leaning towards the card being a goner thought.

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

            J 1 Reply Last reply Apr 8, 2024, 5:25 PM Reply Quote 0
            • J Offline
              JMac @mumblebaj
              last edited by JMac Apr 8, 2024, 5:29 PM Apr 8, 2024, 5:25 PM

              @mumblebaj It would be way easier if I could recover the previous setup but I’m starting to feel like it might be worth starting the entire MM install again, but for me that’s the least interesting parts of Pi builds.

              The files are still available on the old SD card so the card itself isn’t completely kaput.

              edit to add I ran the systemctl stop udev command.
              put in the password of the MM to allow this.
              re ran sudo e2fsck -f -v /dev/mmcblk0p2
              and get the same e2fcsk: cannot continue, aborting error.

              M S 2 Replies Last reply Apr 8, 2024, 5:30 PM Reply Quote 0
              • M Offline
                mumblebaj Module Developer @JMac
                last edited by Apr 8, 2024, 5:30 PM

                @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

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @JMac
                  last edited by sdetweil Apr 13, 2024, 1:43 PM Apr 8, 2024, 5:55 PM

                  @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 Apr 18, 2024, 3:18 PM Reply Quote 0
                  • S Offline
                    sdetweil @JMac
                    last edited by Apr 8, 2024, 5:57 PM

                    @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 Apr 18, 2024, 3:35 PM Apr 18, 2024, 3:18 PM

                      @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 Apr 18, 2024, 4:46 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 2 / 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