Upgrade the microSD capacity on RPi Servers
Recently, i had to upgrade my SD capacity of 8GB to 32GB without any data lost.
Here are the steps, i have followed to extend the SD card
Use of Win32Diskimager to create an Image of the full 8G SD card.
- Insert the SD card
- Open Win32 Disk Imager (can be downloaded here)
Click on Read, to save the image file.
Restore Image on another SD
Click on Write, to restore the image on a newer SD card.
RePlug SD on your Raspberry Pi and update the file system
Check on the Fdisk – shows the maximum capacity of the disk (32GB)
Now, time to delete the partition and recreate it
Recreate the Partition with maximum size.