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.

    Change to another SD with bigger size

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    9 Posts 3 Posters 2.5k 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.
    • H Offline
      Hakupapa
      last edited by

      Hey there,

      I have a MM working since ca. 1,5 years with the standard modules and I am very happy about it. Now me wife would like to have family photos on the MM. I found some good modules like MMM-ImagesPhotos and in one hour I had some Photos on the mirror. So far so good.
      Then the problems started when I found out, that there isn´t enoug space for more then 10 Fotos. So I bought a bigger card and played the image to this new card. Unfortunately the partition size do not changes automaticly. I´ve tried differend ways to change the partition table but nothing worked (fdisk, gparted, acronis backup).
      So I read a lot and found out that the problem is noobs and there is no solution.

      The Idea now is to create a new partition with fat32 and create a folder in this new Partition. Then I would like to link from the modul (MMM-ImagesPhotos) to this new folder.

      There is a link in the MMM-ImagesPhotos.js

       getPhotos: function() {
                  var urlApHelper = "/Modules/MMM-ImagesPhotos/Photos";
                  var self = this;
                  var retry = true;
      

      I´ve changed to this

      getPhotos: function() {
      var urlApHelper = “/media/pi/B82B-6FB6/fotos”;
      var self = this;
      var retry = true;

      but it doesn´t work.

      Now the questions:

      1. Does here anybody knows a way to move to a bigger sd card without new installing everything?

      2. Does anybody knows how to say in MMM-ImagesPhotos.js that the photos are in another directory (on another partition)?

      I would be very happe for every idea.

      S 1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by

        This might be a stupid answer, but have you tried Expand filesystem in raspi-config ?

        1 Reply Last reply Reply Quote 0
        • H Offline
          Hakupapa
          last edited by

          Hello sean,
          the question is not stupid. I tried but there is no choice in raspi config, because I use noobs. That is also the reason why does fdisk cant write new partitionetable after reboot.

          ? S 2 Replies Last reply Reply Quote 0
          • ? Offline
            A Former User @Hakupapa
            last edited by

            @hakupapa
            https://dracoy.com/2016/06/26/expanding-partition-on-sd-card-for-raspberry-pi-with-noobs-pre-installed/
            Maybe this could be help, I wish.

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

              @hakupapa do you have another machine in the house where u can put your pictures, and then have the image modules show from there? I do this

              install the samba client, mount the remote volume and then use a symbolic link to it.

              I so liked how this worked out, I built a photo frame with MM, MMM-ImagePhotos (or ImageSlideShow with multiple linked folders), a 32 in tv and a pi…

              added my MMM-SleepWake (to use my webcam as the motion detector)

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @hakupapa said in Change to another SD with bigger size:

                I´ve changed to this
                getPhotos: function() {
                var urlApHelper = “/media/pi/B82B-6FB6/fotos”;
                var self = this;
                var retry = true;

                right… the design of both modules depends on the data being IN the modules folder tree

                so, as u have it linked already… just (from the MM folder)

                mkdir modules/MMM-ImagesPhotos/my_fotos
                ln -s modules/MMM-ImagesPhotos/my_fotos  /media/pi/B82B-6FB6/fotos
                

                then the path modules/MMM-ImagesPhotos/my_fotos can show your photos…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • H Offline
                  Hakupapa
                  last edited by

                  This post is deleted!
                  H 1 Reply Last reply Reply Quote 0
                  • H Offline
                    Hakupapa @Guest
                    last edited by

                    @sean
                    thx for the link. I tried something like this. But this is much harder and there were a lot of possible mistakes I could make. I think it is easyer to reinstall a new raspian an the magicmirror. I had never thougt, that there is no easy way to move to a bigger sd card, but it seems to be this way.

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      Hakupapa @Hakupapa
                      last edited by Hakupapa

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      • 1 / 1
                      • 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