Skip to content

Instantly share code, notes, and snippets.

@andrewnk
Created July 20, 2021 01:01
Show Gist options
  • Star 14 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
  • Save andrewnk/ecba8448b5009eaa3ae1433c549d881d to your computer and use it in GitHub Desktop.
Save andrewnk/ecba8448b5009eaa3ae1433c549d881d 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
# choose partition then "Resize" > "Write" (to finalize)
cfdisk
# replace * with partition you are resizing
resize2fs /dev/*
@StaticVoidMoon
Copy link

Hi.

Thank you for this. Such a short an easy way : ).

@vanvuongngo
Copy link

awesome and thanks

@sfc9982
Copy link

sfc9982 commented Sep 24, 2023

wish you happy everyday :)

@cyrilferte
Copy link

You are the best THANKS ❤️

@Astratta
Copy link

God bless you, dude

@arif-basri
Copy link

I love you man this save my time. I hope universe will return back the saved time/rewards to you!

@f1shy-dev
Copy link

very helpful 💖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment