Last update : 08/01/2006
How to resize partition,
step by step
The livecd-howto
|
GPARTED GENERAL
DOCUMENTATION Please, first have a look at the General introduction !
|
|
| -1- Getting and installing the
software
GParted cannot be used for logical volume type of disk organizations (yet). When your system was installed using Logical volumes as the file system management, use the LVM software and it's built-in facilities. -a- Easier way Creating and managing partitions is
not something that is typically done every day. Therefore, a good
idea is to read this guide once, to get comfortable with the concepts
and some of the panels that will appear. While reading this guide,
you can initiate the download of the software. It is possible that
the gparted program is already installed on your system, in which
case, a download is not necessary. # yum install gparted If after executing the yum or apt command you receive the message "nothing to do" or something similar, it is likely that the location that you chose from which to get the software does not have it. In this case, if you have a Fedora or Red Hat distro, which is based on the rpm program, use the following command to download and install a copy : #rpm -Uvh gparted.xxx.rpm (where xxx is one's hardware architecture, typically "I386", but in two years from now, more likely to be "x64")
-b- For the experienced If you prefer to get the very latest (cutting-edge) gparted version, download the tar.bz2 file, and compile the contents. Few dependencies are needed ; all dependencies will be added when installing parted-devel and gtkmm24 (co-requisites). But then, you need to enable the development baseurl in /etc/yum.repos.d/source.list, or /etc/apt/apt.d/sources.list : # yum install gtkmm24 parted-devel or # apt-get install gtkmm24 parted-devel Download the file into the directory of choice. In this example we choose the /tmp directory. Then follow the instructions : cd /tmp Following the build, change into the directory and run gparted from a terminal : cd /tmp/gparted-x.y/src
|
|
|
-2- General information
|
|
|
When GPARTED runs , this window is opened, and drives are scanned |
|
|
|
|
|
If you click the Gparted
menu keyword (at the top left), a pop down |
|
|
|
|
|
It opens a new window from which you can
see the supported file types |
|
|
|
|
|
The Edit
menu is second from the left. It shows two greyed out functions |
|
|
|
|
|
The View menu allows you to access/view other areas : |
|
|
|
|
|
Harddisk Information : On the far left, the hardisk information panel displays details about the hard disk, such as Model, Size etc. This panel is most useful in a multi harddisk system, where the information is used to confirm that the hard disk being examined is the one that is wanted. |
|
|
|
|
|
...And Operations : At the footing window is a list of pending operations. The information is useful as it provides a indication of the number of pending operations. |
|
|
|
|
|
Device
allows you to Set a Disk label... |
|
|
|
|
|
|
|
|
The Partition menu is of upmost importantce. It allows you to do many operations, some of which are dangerous. Delete is selected if you want to delete a partition. To perform the delete, you must first select the partition. Resize/Move is a useful function ; just have a look there... |
|
|
|
|
|
You may also format any partition to a file system which is supported in the menu. (as shown in fig. 3 above) |
|
|
|
|
|
The last choice gives informations about the selected partition. |
|
|
|
|
|
And if you clic on Help....
you will not find anything there as it is not yet implemented :) |
|
|
|
|
|
|
|
|
-2- Few operations...
|
|
|
- Creating a new partition |
|
|
|
|
|
A new window appears and lets you chose the size you want ... |
|
|
|
|
|
... as a Primary, extended or logical partition ... |
|
|
|
|
|
... and the file system. |
|
|
|
|
| -Deleting a partition The second icon is for deleting the selected partition . Give it a try ;)... |
|
|
|
|
|
... but don't forget click the "undo" icon, otherwise you will destroy all the data on the partition you have selected ! If you really want to delete it, just click "apply". |
|
|
|
|
|
-Resizing a partition |
|
|
|
|
|
-Copying a partition |
|
|
|
|
|
Right-click on the partition selected and click Unmount. |
|
|
|
|
|
After you have copy the partition, you must choose an unallocated area to activate Paste button. |
|
|
|
|
|
You may wish to resize the partition you want to past : same size or bigger ? (A smaller partition is impossible !) |
|
|
|
|
|
After you have pasted, you can click "undo" ... |
|
|
|
|
|
... or click "apply". Then you are asked for the last time... |
|
|
|
|
|
... pending operations may be seen by clicking on the arrows on blue circle. |
|
|
|
|
|
Of course you may cancel, but BE VERY CAREFUL
: |
|
|
|
|
|
-4- Other tips ...
|
|
|
|
|
|
...you will see the number of drives (if more than one hard disk) on the system, and select the one you want to use ... |
|
|
|
|
|
If you want to work on a mounted partition, you must first unmount it ! If a partition is mounted a brown lock is placed next to the partition. |
|
|
|
|
|
Other operations will now available. |
|
|
|
|
|
Deactivate the swap file is not necessary to enable the pending operations. But to modify the swap file, you must desactivate it by clicking on "desactivate". |
|
|
|
|
|
To close GParted, just close the window at the top right. |
|
|
|
|
|
That all folks :-p |
|
| -5- HOW-TO RESIZE ( step by step) |