-
Notifications
You must be signed in to change notification settings - Fork 642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to resize partition to a given size? #271
Comments
(This is jjfoerch2, just my other github account.) I was able to achieve a desired partition size by making the following change to pishrink. I just hard coded the size that I wanted for my project, but I would be interested in helping to develop this into a proper option.
There are a couple of points to work out, were this to be developed into an option:
Thank you developers for any feedback on this idea. |
raspi_config_expand was originally used because the expanding code broke once or twice. I'm not sure that its still that touchy and it could maybe be removed in favor of the "backup" option. This feels like a very niche use case, but I am open to the idea. |
Hello,
Would it be possible to add an option to PiShrink that would allow one to specify the size for resize2fs to resize the partition to on the first boot?
This would be helpful in the case of backup procedures for a couple of Pi systems that my work has - the projects only need a few GB of their SD card, but small SD cards are increasingly becoming more expensive and harder to find than larger ones. To keep the backup procedure quick and efficient, and not require such a large USB drive to backup to, I would like to limit the filesystem size at the point that resize2fs performs the resize.
Thank you for the great tool.
The text was updated successfully, but these errors were encountered: