Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save csrutil/e0f7ab1313b88b6cdf086f9d722706d9 to your computer and use it in GitHub Desktop.
Save csrutil/e0f7ab1313b88b6cdf086f9d722706d9 to your computer and use it in GitHub Desktop.
Resize partition in alpine
# after the virtual disk has already been expanded (e.g. in proxmox)
apk add --no-cache cfdisk e2fsprogs-extra openssh-client
# 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