ducarpit
Posts: 75
Joined: Mon Jan 09, 2017 8:32 am

Migrate 64GB card to 32GB!

Tue Jun 19, 2018 5:11 pm

Hi,
i have my raspberry with a 64GB SD Card.
Now i have to migrate this to a 32G Card.
If i make an image copy (for example with win32diskimage), it takes a 64GB image so i can't write it in a 32GB card.
How can i do this?
Is there a way to reduce the image or "delete" the unused space?
Thanks a lot

Christian

User avatar
B.Goode
Posts: 9339
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Migrate 64GB card to 32GB!

Tue Jun 19, 2018 5:28 pm

Since you are running Raspbian, recent versions come with an SD card Copier utility in the Desktop menu that might be what you need.

(Of course, you will need to have less than 32Gb of active content on the source card.)

Discussed in this blog post from the Raspberry Pi Foundation: https://www.raspberrypi.org/blog/anothe ... raspbian/

coopi
Posts: 24
Joined: Sun Apr 16, 2017 3:46 pm

Re: Migrate 64GB card to 32GB!

Fri Jun 22, 2018 2:28 pm

B.Goode wrote:
Tue Jun 19, 2018 5:28 pm
Since you are running Raspbian, recent versions come with an SD card Copier utility in the Desktop menu that might be what you need.

(Of course, you will need to have less than 32Gb of active content on the source card.)

Discussed in this blog post from the Raspberry Pi Foundation: https://www.raspberrypi.org/blog/anothe ... raspbian/
Awesome! Does the SD card Copier have a CLI version for headless Pi?

User avatar
B.Goode
Posts: 9339
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Migrate 64GB card to 32GB!

Fri Jun 22, 2018 3:05 pm

Does the SD card Copier have a CLI version for headless Pi?


See - viewtopic.php?f=91&t=180383



However, running your RPi physically headless does not prevent you using GUI applications. See, for example, the Raspberry Pi Foundation documentation for VNC - https://www.raspberrypi.org/documentati ... /README.md

nes_pi
Posts: 20
Joined: Mon Jun 25, 2018 1:35 am

Re: Migrate 64GB card to 32GB!

Tue Jun 26, 2018 7:59 am

Gparted to reduce the partition on the 64gb card, then boot back into it and make sure it works, then use clonezilla or dd. That is what i would do. But ive never heard of SD Card Copier and it might do what you need easier.

Return to “Raspbian”