CrazyHowTo: How To Do a Hard Drive Partition in Ubuntu

Partitioning a hard drive in Ubuntu Linux is not as difficult as it might seem. Earlier versions of Linux require a series of text-based programs to partition and format a hard disk. The Ubuntu software repository includes a program called GParted to make disk management much easier. GParted allows you to create, delete, format and resize partitions on a hard disk. Includes support for common Linux formats like ext2 to 4, JFS and ReiserFS; And is also compatible with Windows FAT16 / 32 and NTFS file systems.

How to Partition a Hard Drive in Ubuntu

Partitioning a Hard Drive in Ubuntu
Step 1

Click the Applications menu in the upper left corner of the screen, go to the Accessories option and click Terminal to open a terminal window. Type sudo apt-get install gparted and press Enter. Enter your user password to continue. Note: The process to open the terminal may vary depending on the version of Ubuntu.

Step 2

Wait for apt-get to finish installing and configuring GParted from Ubuntu software repositories. Click the System menu at the top of the screen, go to the Administration option and click GParted Partition Editor. Enter your user password to continue.

Step 3

Click the button in the upper right corner to select the hard drive you want to work on. The disks are labeled as / dev / sdX, where X is a letter that identifies the drive. For example, the first drive in the system is / dev / sda, the second is / dev / sdb, and so on.

Step 4

Click an unallocated (unallocated) block of space in the diagram at the top of the window. Click the New button in the upper left corner of the screen to create a new partition. Enter a size in the New size field.

Step 5

Click the Create as field to select a primary or extended partition. Each hard disk can have three primary partitions and one extended partition. The extended partition in turn has a number of logical partitions. If it is a new disk, select Primary Partition.

Step 6

Click the Filesystem menu and select the file system you want to use. The most compatible option for Linux is the ext3 or ext4 system. If you are creating the partition for sharing data with Windows, you must format the drive with FAT32 or NTFS. Click Add when you have finished selecting the options.


GParted can resize a partition if you need to free up disk space. Click the partition you want to change in the diagram at the top of the screen, then click the Unmount option on the partition menu. Click the Resize / Move option to open a new window that allows you to resize the partition.

Loading Facebook Comments ...

Leave a Reply

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