tomuta / debian-mini-odroid-c1

Script to build a minimal Debian sd card image.
75 stars 39 forks source link

How to resize/expand filesystem? #33

Open OdroidC1 opened 8 years ago

OdroidC1 commented 8 years ago

so i followed the steps and got a running debian jessie.

df -h however gives:

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       926M  788M  114M  88% /
devtmpfs        407M     0  407M   0% /dev
tmpfs           411M     0  411M   0% /dev/shm
tmpfs           411M   12M  399M   3% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           411M     0  411M   0% /sys/fs/cgroup
tmpfs           411M     0  411M   0% /tmp
/dev/mmcblk0p1   38M   24M   15M  63% /boot

seems like not all 32 gb of the sd card are used. how can i expand the fs?

OdroidC1 commented 8 years ago

See: https://github.com/TheSin-/debian-mini-odroid-c1/commit/94d2a31dfefd1e8218a589f385d72d4d927c33f9 and https://github.com/TheSin-/debian-mini-odroid-c1/commit/8fdeb5ae4573a7c8bdd693946574a2f607896ae6