• 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 10.8k 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 @sdetweil
    last edited by JMac Apr 1, 2024, 12:35 PM Apr 1, 2024, 12:19 PM

    @sdetweil managed to find an old SD card and put a fresh Pi OS on it.
    Mounted the old one in an adapter, when I run your sudo fdisk -1, I get
    fdisk:invalid option–‘1’
    Try ‘fdisk --help’ for more information.

    I guess I don’t try you recovery command until this one is happy?

    Edit to add, I do have - on the home screen - a boot file and a rootfs file from the old SD card.

    O 1 Reply Last reply Apr 1, 2024, 10:25 PM Reply Quote 0
    • O Offline
      OldSunGuy @JMac
      last edited by OldSunGuy Apr 1, 2024, 10:28 PM Apr 1, 2024, 10:25 PM

      @JMac that should be the letter (l) not a number (1) .

      sudo fdisk -l
      
      J 1 Reply Last reply Apr 7, 2024, 7:10 AM Reply Quote 1
      • J Offline
        JMac @OldSunGuy
        last edited by Apr 7, 2024, 7:10 AM

        @OldSunGuy well that was a great start :man_facepalming_light_skin_tone:

        if I can get the steps above to work, can I get the original SD card to work again? It’s a samsung evo micro sd and way better than the unbranded one I’ve found to try and recover the original setup.

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

          I get the same issue. Sudo fdisk -i returns
          fdisk: invalid option - - ‘i’
          try 'fdisk - - help fro more information

          any thoughts?

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

            @JMac That is not an i it is an l (small letter L)

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

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

              @mumblebaj that’s worked.
              I’m now presented with
              /dev/mmcblk0p1
              /dev/mmcblk0p2

              so follow @sdetweil step above and go with the second option?

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

                @JMac Yeah, would suggest you follow his recommendations.

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

                J 1 Reply Last reply Apr 7, 2024, 9:30 AM Reply Quote 0
                • 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
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 1 / 6
                      1 / 6
                      • First post
                        8/52
                        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