Forked from andrewnk/gist:ecba8448b5009eaa3ae1433c549d881d
Created
September 9, 2024 14:31
-
-
Save issl1/27dba222e609a7298f87503a6131173a to your computer and use it in GitHub Desktop.
Resize partition in alpine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # after the virtual disk has already been expanded (e.g. in proxmox) | |
| apk add --no-cache cfdisk e2fsprogs-extra | |
| # choose partition then "Resize" > "Write" (to finalize) | |
| cfdisk | |
| # replace * with partition you are resizing | |
| resize2fs /dev/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment