This question already has an answer here:
- Reverse the expand root FS 1 answer
I am currently using a 32GB micro SD card for testing. Now I want to save the image however, there is a lot of unused space. I was hoping how can I reformat the image to fit nicely into a single partition with only ~<8GB of data so I can flash it to a 8GB SD in the future.
The way I have it setup at the moment is I have flashed a backup of the SD card but is using a 32GB file system. I want to in the future use smaller sized cards.
Was hoping if someone could help me with the setup.
I am currently using OSX as my main computer. Checking out the Disk Util (GUI) it didn't seem I could do that.
I am using
dd to flash my images on OSX.