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

Copy existing SD Card

Scheduled Pinned Locked Moved General Discussion
8 Posts 6 Posters 831 Views 6 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.
  • A Offline
    ankonaskiff17
    last edited by Jul 6, 2021, 1:22 AM

    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 B 2 Replies Last reply Jul 6, 2021, 1:32 AM Reply Quote 0
    • S Offline
      sdetweil @ankonaskiff17
      last edited by sdetweil Jul 6, 2021, 1:52 AM Jul 6, 2021, 1:32 AM

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

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

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      A 1 Reply Last reply Jul 6, 2021, 1:42 AM Reply Quote 0
      • A Offline
        ankonaskiff17 @sdetweil
        last edited by Jul 6, 2021, 1:42 AM

        @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 Jul 6, 2021, 1:49 AM Reply Quote 0
        • S Offline
          sdetweil @ankonaskiff17
          last edited by sdetweil Jul 6, 2021, 1:51 AM Jul 6, 2021, 1:49 AM

          @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

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • D Offline
            DJBOOB66
            last edited by Jul 6, 2021, 8:21 AM

            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
            • A Offline
              ankonaskiff17
              last edited by Jul 6, 2021, 11:53 AM

              @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 Jul 6, 2021, 5:28 PM Reply Quote 0
              • B Offline
                bugsounet Banned @ankonaskiff17
                last edited by Jul 6, 2021, 5:28 PM

                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 ! :beaming_face_with_smiling_eyes:

                1 Reply Last reply Reply Quote 0
                • B Offline
                  BKeyport Module Developer @ankonaskiff17
                  last edited by Jul 6, 2021, 6:13 PM

                  @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
                  1 / 1
                  • First post
                    1/8
                    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