Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Change to another SD with bigger size

    Troubleshooting
    3
    9
    1220
    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
      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
      • Sean
        Sean Module Developer 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
          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.

          Sean S 2 Replies Last reply Reply Quote 0
          • Sean
            Sean Module Developer @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
              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)

              1 Reply Last reply Reply Quote 0
              • S
                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…

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

                  This post is deleted!
                  H 1 Reply Last reply Reply Quote 0
                  • H
                    Hakupapa @Sean 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
                      Hakupapa @Hakupapa last edited by Hakupapa

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy