How Do I Increase the Root Partition Size in Linux?
Contents Resizing a Root Partition Is Tricky. in Linux, There Isn’t a Way to Actually Resize an Existing Partition. One Should Delete the Partition and...
Contents
Resizing a root partition is tricky. In Linux, there isn’t a way to actually resize an existing partition. One should delete the partition and re-create a new partition again with the required size in the same position.
How do I add more space to my root partition in Linux?
2 Answers
- Open GParted.
- Right click on /dev/sda11 and select Swapoff.
- Right click on /dev/sda11 and select Delete.
- Click on Apply All Operations.
- Open a terminal.
- Extend the root partition: sudo resize2fs /dev/sda10.
- Go back to GParted.
- Open the GParted menu and click on Refresh Devices.
Must Read
How do I expand a partition in Linux?
Use the fdisk command to extend the partition.
- Run the fdisk -u command to open the partition table for the disk in sector mode. …
- Type p at the prompt to list the partitions on the disk. …
- Type d to delete this partition. …
- Type n to re-create the partition. …
- Type p to select the primary partition type.