Manual Disk Partitioning Guide for Ubuntu Server Edition

This guide will explain how to partitioning a harddrive manually in ubuntu server edition (ubuntu server 12.04/12.10/13.04). By default installation of Ubuntu Server edition the installer creates just two partitions; the first for (/ ) the root partition, and the second for Swap partition . If you want creating partitions for installing Ubuntu Server edition, I recommend to create the following four partitions on your ubuntu server hardrive.

  • root partition (/). The bulk of the programs used for running the system will be installed here.
  • boot partition (/boot). This is where programs critical for booting the system will reside.
  • home partition (/home)¬†the partition where your home directory will be located. In the course of using the system, files and folders you create will reside in various folders here
  • swap partition (swap):unformatted disk space for use as virtual memory.¬†swap partition¬†should be at least as big as your RAM size,

This is screenshot step by step manual disk partioning of ubuntu server edition with following partition table:

  • Hardisk : 32GB
  • RAM: 1GB
Type Size Location FileSystem Mount
Primary 20 GB Beginning ext4 /
Primary 200 MB Beginning ext4 /boot
Logical 10 GB End ext4 /home
Primary 2 GB Beginning swap swap

 

Step 1: Choose the manual partitioning method at the bottom.

1 Manual Partition Disk Ubuntu Server  Manual Disk Partitioning Guide for Ubuntu Server Edition

Step 2: Choose harddrive you are planning to install ubuntu server and hit enter

2 Manual Partition Disk Ubuntu Server 2 Manual Disk Partitioning Guide for Ubuntu Server Edition

Step 3: If you have selected an hardisk to be partitioned for Ubuntu server. Answer [Yes] to create new empty partition table to the hard disk.

Step 4: In this step we’ll create root partition (/),¬†Select a free space to create new partition.

Step 5: Create boot partition (/boot)

Step 6: Create home partition (/home)


Step 7: Create swap partition (swap)

Step 8: This is the final step for manual partitioning process , Answer [yes] to Write all changes to hardrive,]

Write the change to disk Manual Disk Partitioning Guide for Ubuntu Server Edition

So that’s it.¬†I hope you know what you are doing in the next step, thanks icon smile Manual Disk Partitioning Guide for Ubuntu Server Edition

Tags: #Partition #Ubuntu Server 12.04 #Ubuntu Server 12.10 #Ubuntu Server 13.04

How to Upgrade Ubuntu Server 12.04 to Ubuntu Server 14.04 LTS
How to Upgrade Ubuntu Server 12.04 to Ubuntu Server 14.04 LTS
This tutorial will describes how to upgrade
How to Setup OwnCloud Server 5 with SSL Connection
How to Setup OwnCloud Server 5 with SSL Connection
Today ownCloud is the best cloud storage
  • turbor

    Strange…

    For a server I would at least have expected that a separate /var would have been created. This is the default place where all your logs are going to be collected, and it is always nice that your / isn’t impacted if /var is filling up to the brim (due to heavy logging of certain services, or a long retention period of those logs).
    On the other hand, a real server has hardly any regular user accounts so a separate /home of 10G (especially in a virtual server with a 32GB HD) is a space waster.

  • http://twitter.com/M1Serverz M1-Serverz & Hosting

    why not, just do this with a guided partition?

    Which will use the LVM

    Doesn’t The LVM creates these auto, on a single disk?

  • Hokey

    I am with tubor. On all servers /var, /var/log, /tmp, /var/tmp, /home, /, and /boot always have their own partition (and occasionally /usr, /opt, and a few others as well). separation of partitions allows you to handle different data differently and helps prevent runaway processes from filling up your root partition

  • Nico

    Nice tutorial, quick and simple. Exactly what I needed.

Must read×

Top