Moving to a bigger SD-card?

I just wanted to update with my experience because I found this thread when looking to migrate to a bigger card. Here are the steps I followed on version 2022.7.5:

  1. Shut down the Pi4 host
  2. Made a backup image of the 16GB card using Win32DiskImager
  3. Wrote that image to a 64GB card using BalenaEtcher
  4. Booted up the Pi with the 64GB card and waited about 5 minutes

I wasn’t sure it would work but the partition magically resized to take up the whole card. Now I have a bunch of free space showing in HA.

7 Likes

I can confirm the method of efeickert works!
I am on 2022.9.5, moved from 32gb to 265gb SD card without any problems or warnings.

This should be considered as an official method of replacing an SD card.

1 Like

Great thread here with good working approaches. I just wanted to add another potentially simpler (and faster) option for those who need to do this.

If you have BalenaEtcher and a pair of microSD card slots like I do, you can simply insert the old and new microSD cards into your computer (I’m on a Mac) and use BalenaEtcher’s “Clone Disk” function to copy from the old to the new. You get a nice progress output, and I’m impressed with the throughput I’m seeing. It’s looking like it’ll take ~30m to copy from a 64GB card to a new 128GB card.

While I was comfortable with the dd approach like was posted above, the throughput is better this way and I don’t have to temporarily hold a large image file on my computer’s disk.

2 Likes

Hi Guy´s, another success, had a PI3 with low memory, so low that i couldent even make a backup as the system said need for supervisor with no other reference
Took Balena Etcher and just copied the image from the 8GB SD to a 32 GB one and it worked like a charm

BR
Andy

1 Like

banana etcher did not work for me for some reason

For those on a Mac, Here is what I did to move from a 32GB sd card to a 256 GB Samsung SSD.

  1. Backup SD card using SD Clone ( 3rd party app I bought)
  2. expand the Zip to get the IMG file
  3. use SD clone to restore the IMG to the SSD.

Boot it up on RasPI with a USB to SATA adapter that has external power and the ASM235CM Chip.

HA booted up, and expanded the data drive to the full 256~ gb…

I just rebuild my HA using the HomeAssistant image in the RasPI Imager so i am running hassio.

Hope this helps someone else.

Thanks, this also worked for me. Before, I tried the win32diskimager, full image of 64GB sd card, restore with win32DI to 128GB card, HA boot OK but a lot of devices where double , very strange ! Ofcourse nothing worked.
Then with restore via BalenaEtcher to the 128GB sd card everything was OK.

Also can confirm this worked for me on a Pi4 with a 16GB SD card. I’m using Windows 11.

  1. Shutdown HA properly
  2. Remove SD card and plug into laptop with a USB adapter.
  3. Also add the new card to the laptop
  4. Use Balena Etcher’s clone function - for me it took about 15m to clone, 15m to verify
  5. Replace new card into Pi and celebrate!

I went into my terminal, and df -h showed the new free space automagically!

1 Like

Can confirm

  1. Shut down the Pi4 host
  2. Made a backup image of the 16GB card using Win32DiskImager
  3. Wrote that image to a 64GB card using BalenaEtcher
  4. Booted up the Pi with the 64GB card and waited about 5 minutes

as a way to go as well. Just moved from a 32gb card to 128gb from a system that didn’t even boot anymore due to lacking disk space. Thanks @efeickert !

Yes this is very simple and works fine.


On a linux machine you can use the gnome disc utility to get an *.img file compatible with win32diskimager.
You start from this :

and you get this after a reboot

1 Like

And as a ‘pile on’, using Linux, simply pop the “small memory card” into the reader of a desktop/laptop, create a disk image (easy with “disks” application), then resorte that image to a larger card! I literally just did if from a 16G to a 128G card… about 20 minutes for the copy work, adn took HA about 5-7 minutes to boot up while resizing in the background. All good.

Can also confirm this worked for me thank you @efeickert

Am on windows 11, win32diskimager did not start properly but it was due to Google drive.

Closed that down and all worked a charm (pi3 16gb ->32gb)

Thank you. Test install on Raspberry Pi 3B+ from 16GB SD to SanDisk Max Endurance 64GB Card.

7 Min for Win32DiskImager to read 16GB SD-HC Card.
Same for balenaEtcher to write to 64GB SD Card with another 7 Min to validate.
Windows recognized the SD as about 32GB

I have a small display on the HA test install and it started scrolling right away, but it took a few minutes for HA fully start.
HA reported 21.8% used - 42.9 free, which worked out of 54.9GB.

Updated to HA 2024.7.0 without issue in about 12 minutes.