How Do I Change the Partition Layout of My Server?
How do I change the partition layout of my server?
The methods for changing the partition layout of your server are different for Windows servers and Linux servers. Below are instructions on how to do this for both Windows and Linux servers.
How do I change the partition layout of my Linux server?
- First, boot the rescue system for your server. You can find a guide on how to do this here.
- Connect to the server using VNC.
- Log in to the server as the "root" user.
- To easily make changes to the partition, we recommend using gparted. To start the GUI, type "startxfce4" in your VNC console and wait a few seconds until the graphical interface appears.
- On the upper left side you will see “Applications”, open it.
- Select “Run Program”.
- Now type “gparted” into the application finder and the application should start immediately.
- You should see a list of all the partitions on your hard drive. If there is no free space, you will need to shrink an existing partition before you can create a new one. To do this right click on the partition and select “Resize/Move”, the partition can be either shrunk or extended.
- Right-click on the unallocated space and select “new” to create a new partition.
- To write the changes to the disk, click the green check mark.
- After clicking the checkmark, a warning will appear that you may lose all your data - make sure you have a backup before proceeding.
- The application should start performing several tasks, just wait for it to finish.
How do I change the partition layout of my Windows server?
- Connect to your server via RDP.
- Open the “Disk Management” by right-clicking on the Windows icon in the lower left corner.
- Once the Windows "Disk Management" utility has been started, you will see an overview of all installed hard drives. On a VPS/VDS you will usually have one drive, on a dedicated server you will probably have more than one sparse drive. Find the disk you want to repartition and right click on the partition you want to resize.
- Click either "Extend Volume" or "Shrink Volume" depending on the change you want to make to your server's partition layout.
- After a while you will see a popup, just fill in the field with the amount of space you want to free up/fill up.
- Click the Shrink/Extend button.
Things to note about changing the partition layout of your server:
Be sure to back up your server before making this change to avoid data loss.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article