johang / sd-card-images

Scripts to build bootable SD card images with Debian for various single-board computers
https://sd-card-images.johang.se
GNU General Public License v3.0
143 stars 32 forks source link

Resize Partition #33

Closed Peskedor closed 1 year ago

Peskedor commented 1 year ago

Thanks for the images that you provide here - found it really useful!

I'm currently trying to enlarge the / partition, by default it's only ~1.8G for me while I'm using a 32 GB SD card in my banana pi. I tried multiple tutorials to enlarge the file system with fdisk - but it ends up always bricking the system, and it won't boot anymore. Example tutorial: https://erlerobotics.gitbooks.io/erle-robotics-erle-brain-a-linux-brain-for-drones/content/en/tutorials/expandingfilesystem.html

Also tried to install raspi-config which seems to do exactly what is written in the tutorial above, result is the same and the system won't boot anymore.

johang commented 1 year ago

This is mentioned on the tips and tricks page.