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

Clone the SD card?

Scheduled Pinned Locked Moved Unsolved Hardware
10 Posts 6 Posters 1.4k 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.
  • C Offline
    C-son Module Developer
    last edited by Dec 23, 2020, 7:31 PM

    Hi all!
    I just bought a new SD card, a 32GB instead of the current 16GB, thinking that I could clone the current content to the new one. Can I do that, and if so, how? What tools do I need?
    I’m working on a Windows machine usually, if that helps.

    MMM-MagicMover :: MMM-MagicSuperHero :: MMM-MagicHexClock

    S 1 Reply Last reply Dec 31, 2020, 7:20 PM Reply Quote 0
    • P Offline
      pakal41
      last edited by Dec 24, 2020, 5:46 AM

      hi
      yes you can with usb image
      link in french
      https://www.clubic.com/telecharger-fiche366602-imageusb.html

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by Dec 24, 2020, 10:48 AM

        hi, or use SD copy program in your rpi desktop

        1 Reply Last reply Reply Quote 0
        • D Offline
          drewski3420
          last edited by Dec 31, 2020, 7:12 PM

          If you can get on a linux machine, this is quick and easy with dd.

          First, plug in your current sdcard and find the path using

          sudo fdisk -l
          

          It’ll be a path starting with /dev/, usually /dev/sdX or /dev/mmcblk#. Get the whole drive, not the partition (for a device at /dev/sda, the partitions will be /dev/sda1, sda2, etc).

          Next, copy the current image to a file, using the path you just found:

          sudo dd=$YOUR_NEW_PATH of=$FileName.img bs=1M
          

          Once it’s finished (it’ll take a while), remove your card and insert the new one, and reverse the process. Find the path to the new card (it may have changed from the original) and use the image file you just created as the input:

          sudo dd if=$FileName.img of=$YOUR_PATH bs=1M
          

          And you’re done.

          S 1 Reply Last reply Dec 31, 2020, 7:21 PM Reply Quote 0
          • S Offline
            sdetweil @C-son
            last edited by Dec 31, 2020, 7:20 PM

            @C-son see https://raspberrypi.stackexchange.com/questions/4203/copy-current-sd-image-to-larger-sd-card

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @drewski3420
              last edited by Dec 31, 2020, 7:21 PM

              @drewski3420 but that leaves the new space unused

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              B 1 Reply Last reply Dec 31, 2020, 7:45 PM Reply Quote 0
              • B Offline
                blaukon @sdetweil
                last edited by Dec 31, 2020, 7:45 PM

                @sdetweil

                • sudo raspi-config
                • Advanced Options
                • Expand Filesystem
                • reboot
                  that might help :-)
                S 1 Reply Last reply Dec 31, 2020, 8:12 PM Reply Quote -1
                • S Offline
                  sdetweil @blaukon
                  last edited by Dec 31, 2020, 8:12 PM

                  @blaukon there is a command to do it too… sinced he is right there doing dd

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  D 1 Reply Last reply Jan 1, 2021, 9:36 PM Reply Quote 0
                  • D Offline
                    drewski3420 @sdetweil
                    last edited by Jan 1, 2021, 9:36 PM

                    @sdetweil Can you share the command?

                    S 1 Reply Last reply Jan 1, 2021, 9:40 PM Reply Quote 0
                    • S Offline
                      sdetweil @drewski3420
                      last edited by Jan 1, 2021, 9:40 PM

                      @drewski3420 read the content on the link above

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      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 Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy