MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.25.0 is available! For more information about this release, check out this topic.

    Copy existing SD Card

    General Discussion
    6
    8
    317
    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.
    • ankonaskiff17
      ankonaskiff17 last edited by

      Can I copy the whole SD card of an existing MM + Raspian OS on to a second SD card. I have a spare Pi and a donor monitor but not so proficient in Linux based commands and my copying experience more at the file/folder level.

      S BKeyport 2 Replies Last reply Reply Quote 0
      • S
        sdetweil @ankonaskiff17 last edited by sdetweil

        @ankonaskiff17 you really have to clone the card… look at the dd command

        https://www.raspberrypi.org/documentation/linux/filesystem/backup.md

        Sam

        Create a working config
        How to add modules

        ankonaskiff17 1 Reply Last reply Reply Quote 0
        • ankonaskiff17
          ankonaskiff17 @sdetweil last edited by

          @sdetweil Thanks. Seems easy enough. There seem to be more than one way to skin that cat. Which is preferred?

          S 1 Reply Last reply Reply Quote 0
          • S
            sdetweil @ankonaskiff17 last edited by sdetweil

            @ankonaskiff17 the first one only copies the /home/pi folder
            the second copies the sd card, my mistake (the preferred)

            The copy, depending on the size of the SD card, can take ten or fifteen minutes, and when complete you should have a clone of your current installation on the new SD card. You can test it by putting the newly-copied card into the Pi’s SD card slot and booting it; it should boot and look exactly the same as your original installation, with all your data and applications intact.
            

            the sd copier copies the card to an img file so you can put it on another card any time

            SD card image
            It may be sensible for you to keep a copy of the entire SD card image, so you can restore the card if you lose it or it becomes corrupt
            

            Sam

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • D
              DJBOOB66 last edited by

              Raspian OS has an SD Card Copier app just use that it in the Accessories section I use a SSD and copy to a backup SSD all the time.

              1 Reply Last reply Reply Quote 0
              • ankonaskiff17
                ankonaskiff17 last edited by

                @djboob66 I have a portable Toshiba drive plugged in to the very Pi I want to make the copy of. Originally bought to upload camera images from my camera’s SD card. Plugged in a few months ago to see how the Pi would respond.

                B 1 Reply Last reply Reply Quote 0
                • B
                  bugsounet @ankonaskiff17 last edited by

                  Really, lost time…

                  just do a copy of your config.js file, any token or credentials (if needed)

                  -> MagicMirror have an update every 6 month
                  -> any maintened module every month (and dependencies too !)
                  -> OS of the pi every month or week

                  So for me not really needed, a clean install is better, all modules are in github so clone it and install (you have the list on your config.js file!)
                  After if you enjoy to do backup of your pi … (it’s a micro-computer) … don’t forget to do again a backup of your personal computer ! 😁

                  I am not a magician

                  MMM-GoogleAssistant and associated plugin creator
                  wiki.bugsounet.fr

                  1 Reply Last reply Reply Quote 0
                  • BKeyport
                    BKeyport Module Developer @ankonaskiff17 last edited by

                    @ankonaskiff17

                    Yes, but I wouldn’t recommend it.

                    I wouldn’t even copy the config.txt file from one to another. Just burn a new card, and install programs fresh, copying over data and modifying config as needed.

                    The "E" in "Javascript" stands for "Easy"

                    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