Skip to content

Instantly share code, notes, and snippets.

@febriy
Last active April 18, 2020 05:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save febriy/d175f370d228235bbc319b3273eea74a to your computer and use it in GitHub Desktop.
Save febriy/d175f370d228235bbc319b3273eea74a to your computer and use it in GitHub Desktop.

Modify root partition size on Fedora

Boot up with Fedora Live USB stick.

  1. Run vgs to check your VG name and if there's any space:
$ sudo vgs
  VG       #PV #LV #SN Attr   VSize    VFree   
  fedora30   1   4   0 wz--n- <472.63g <100.63g

Your VG name could be fedora, fedora30, you set it up when first installing Fedora.

  1. Run these commands :
lvresize -L +5G --resizefs /dev/mapper/fedora30-root

Check where your fedora root and home partition by running fdisk -l If you have not enough space, you can reduce the size of other partitions first.

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