Software & AppsOperating SystemLinux

How To Create Partitions in Ubuntu During Installation

Ubuntu 18

Creating partitions during the installation of Ubuntu can be a vital step for managing your system’s storage effectively. This guide will walk you through the process of creating partitions in Ubuntu during the installation.

Quick Answer

During the installation of Ubuntu, you can create partitions by choosing the "Something else" option. Delete existing partitions, create new ones with specific sizes and file system types, and assign mount points accordingly. This allows for better management of your system’s storage and separation of OS-specific files from user files.

Prerequisites

Before we begin, ensure that you have the following:

  1. A bootable USB or DVD of Ubuntu.
  2. A system on which you want to install Ubuntu.
  3. Basic knowledge of disk partitioning.

Understanding Disk Partitioning

Disk partitioning is the act of dividing a hard disk drive into multiple logical storage units referred to as partitions. Each partition appears to the operating system as a separate disk that uses part of the actual disk. Partitioning is beneficial for system administration, as it allows you to separate OS-specific files from user files.

Ubuntu Installation Process

Start the Ubuntu installation process by booting from the bootable USB or DVD. When you reach the partitioning step, you will have several options. To manually create partitions, choose the “Something else” option.

Deleting Existing Partitions

You will see a list of existing partitions on your hard disk. To create new partitions, you need to delete the existing ones. Select each partition one by one and click the “Delete” button. Be cautious, as this will erase all data on the existing partitions.

Creating a New Partition

After deleting all the partitions, you will have unallocated space on your hard disk. Click on the “New” button to create a new partition.

Root Partition

In the “Size” field, enter 50000 (for 50GB). This size is generally sufficient for the root partition. Select the file system type as “ext4”, which is a journaling file system that provides data integrity. Choose the mount point as “/” which represents the root partition for Ubuntu.

Home Partition

Repeat the previous steps to create the second 50GB partition with the mount point as “/home”. This partition will be used for storing your personal files and data. Having a separate “/home” partition allows for easier system upgrades and reinstallation without losing your personal data.

Data Storage Partition

Finally, create the third partition with the remaining unallocated space. Set the size to the remaining amount and choose the file system type as “ext4”. You can leave the mount point empty as this partition will be used for general data storage.

Finalizing the Installation

Once all the partitions are created, select the partition where you want to install Ubuntu (the 50GB root partition) and click on the “Install Now” button to proceed with the installation.

Conclusion

Creating partitions during the Ubuntu installation process can seem daunting, but it’s a crucial step for effective system management. By following this guide, you should be able to create partitions in Ubuntu during installation successfully. Remember, always back up your data before making any changes to your hard disk.

Can I create partitions in Ubuntu without deleting existing data?

No, creating partitions in Ubuntu during installation requires deleting existing partitions, which will erase all data on them. It’s essential to back up your data before proceeding with partitioning.

How much space should I allocate for the root partition?

Allocating around 50GB for the root partition is generally sufficient for Ubuntu installation. However, you can adjust the size according to your needs and available disk space.

What is the purpose of the “/home” partition?

The "/home" partition is used for storing personal files and data. It allows for easier system upgrades and reinstallation without losing your personal data.

Can I create more than three partitions?

Yes, you can create more than three partitions if needed. However, it’s generally recommended to have separate root, home, and data storage partitions for better system management.

Can I change the file system type for the partitions?

Yes, you can choose a different file system type for the partitions if desired. However, "ext4" is the recommended file system for Ubuntu installations, as it provides data integrity and compatibility.

Can I resize partitions after the installation?

Yes, you can resize partitions after the installation using tools like GParted. However, it’s essential to be cautious and backup your data before making any changes to avoid data loss.

Can I create partitions during a dual-boot installation?

Yes, you can create partitions during a dual-boot installation. However, it’s crucial to follow specific guidelines and ensure compatibility between the operating systems to avoid any issues.

Can I create partitions on an external hard drive?

Yes, you can create partitions on an external hard drive during the Ubuntu installation process. Simply connect the external hard drive and choose it as the installation destination during the partitioning step.

Leave a Comment

Your email address will not be published. Required fields are marked *