How to Partition a Hard Drive in Ubuntu
Partitioning a hard drive means splitting it up into separate storage areas, or partitions. This is almost like having several virtual hard drives. With multiple partitions, you can install more than one operating system on the same hard drive. Multiple partitions are also useful for separating sections of files, such as system files, programs, data and swap files.
Instructions
-
Preparing to Partition
-
1
Back up any valuable data on a separate storage medium, such a separate hard drive, CD or DVD. The partitioning process is irreversible, and may damage or delete the existing contents of your hard drive.
-
2
Run a defragmentation program such Microsoft's Disk Defragmenter, found under Programs>Accessories>System Tools if you plan to edit a Windows partition. This will group together data spread throughout your hard drive and help prevent data loss.
-
-
3
Boot the computer from the Ubuntu Linux Live CD.
-
4
Select whether you want to run Ubuntu from the CD or install Ubuntu. If you are partitioning by running Ubuntu from the Live CD, continue to the next step. If you are partitioning while installing Ubuntu computer, skip to the section titled, "Partitioning during the installation process."
Partition Using Partition Editor
-
5
Start Ubuntu Linux from the Live CD.
-
6
Click on "System" on the top deskbar, open the "Administration" sub-menu and start the Partition Editor application.
-
7
Select the hard drive you wish to partition in the pull-down menu on the top right corner of Partition Editor's main screen.
-
8
Observe the narrow, horizontal bar running across the program's main screen. This bar represents your drive's storage capacity, and the colored boxes represent separate partitions. More information is displayed textually in the box underneath.
-
9
Click "Resize/Move" to edit existing partitions and "Delete" to erase them.
-
10
Click the "New" button on the top-left corner to create a new partition. A new window will pop up, where you will be asked choose the partition's file system and size. A colorful box on the graphical display box represents your new partition. Establish the size of the partition either by typing in a number of megabytes or by dragging the display box.
-
11
When you are finished, save your changes with the "Apply" button.
Partitioning during the installation process
-
12
Select the "Manual" process to create and resize partitions by typing in the desired size of partitions in megabytes.
-
13
Select the "Guided" process to create and edit partitions by manipulating a rudimentary graphical representation of your hard drive.
-
14
Slide the graphical bar in the "Guided" process to choose the size of your partition.
-
1
Tips & Warnings
Under Ubuntu Linux's drive-naming scheme, the name of your main hard drive is /dev/sda. Secondary and external hard drives are named /dev/sdb, /deb/sdc, and so forth.
Ubuntu Linux allows you to partition your hard drive graphically or textually. The graphic process is simpler and easier to understand, but less sophisticated. The manual process is more complicated, but provides greater control of the type and size of your partitions.