reynoldsbd / lunacam

Camera streaming system for Raspberry Pi
Apache License 2.0
13 stars 1 forks source link

Automatically resize root partition #2

Closed reynoldsbd closed 5 years ago

reynoldsbd commented 5 years ago

After booting for the first time, a LunaCam system should automatically resize its root partition to fill any remaining space on the SD card.

Actual resize operation is easily scripted using sfdisk and resize2fs. This script could be registered to run after first boot using systemd-run.

reynoldsbd commented 5 years ago

Added documentation to do this by hand if desired. Can't find a good way to automate.