Home
About
Resume
Projects
Links
Blog
Back to Contents
# Expand the root partition in Linux #### Solution 1\. Install cloud-guest-utils (if not installed) ```bash apt install cloud-guest-utils ``` 2\. Grows the partition ```bash growpart /dev/sda 1 # the last number '1' is the partition number ``` 3\. Grows the filesystem ```bash resize2fs /dev/sda1 ``` #### Source https://askubuntu.com/questions/24027/how-can-i-resize-an-ext-root-partition-at-runtime https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html
Next Post:
File Open Flags
Loading