Tag Archives: resize the Linux partition

How to Resize the Root Partition in Linux on Amazon EC2

Check the Root Partition size before resize:

df -h

1The current root partition size is ~8 GB.

After that, stop your instance:

sudo poweroff


Read more of this post


Increase the root filesystem in Linux inside VMWare Workstation/VSphere without LVM

In this tutorial, I’ll explain the step by step procedure to resize the Linux root partition without losing the date. This will be really handy if you are not using LVM and you came to know that your existing root partition is run out of space.

WARNING: It’s really dangerous, so backup your data before attempting this. Please don’t blame me, if you destroy your system. You are responsible for your own actions!

Prerequisites to Start this Tutorial:

You will need to download the GParted live CD ISO file for the later use in this tutorial, so you can get this here.

Let’s start the tutorial by verifying the current root filesystem size:

df -h

1Create any file, just for verification, that we didn’t lose the data during the root partition increase process.

Read more of this post

%d bloggers like this: