Skip to content

Shrinks (certain) SD card images to minimum size + a free-space allowance.

License

Notifications You must be signed in to change notification settings

ctyler/rootfs-shrink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

rootfs-shrink

Chris Tyler, Seneca College

Script to take an SD card image (such as for a Raspberry Pi) with a dos disklabel and two partitions (boot vfat and rootfs extX), and shrink it so that the rootfs (2nd partition) is as short as possible plus a small free space allowance.

See comments at the top of the script for further details.

This script is licensed under the GPL v2, or at the user's discretion, any later version.

The web page and git repository for this code is accessible at the Github Repo

About

Shrinks (certain) SD card images to minimum size + a free-space allowance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages