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
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.
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.
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.
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.
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.
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.