MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

Change to another SD with bigger size



  • 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.


  • Module Developer

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



  • 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.


  • Module Developer



  • @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)



  • @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…



  • This post is deleted!


  • @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.



  • This post is deleted!

Log in to reply