2008-04-22 14:57:03 +00:00
|
|
|
GPARTED
|
2010-12-12 18:17:35 +00:00
|
|
|
=======
|
2014-04-04 18:27:48 +00:00
|
|
|
Gparted is the GNOME Partition Editor for creating, reorganizing, and
|
2008-04-25 15:51:08 +00:00
|
|
|
deleting disk partitions.
|
2008-04-22 14:57:03 +00:00
|
|
|
|
2008-04-25 15:51:08 +00:00
|
|
|
A hard disk is usually subdivided into one or more partitions. These
|
|
|
|
partitions are normally not re-sizable (making one smaller and the
|
|
|
|
adjacent one larger.) Gparted makes it possible for you to take a
|
|
|
|
hard disk and change the partition organization, while preserving the
|
|
|
|
partition contents.
|
2004-09-19 20:24:53 +00:00
|
|
|
|
2008-04-25 15:51:08 +00:00
|
|
|
More specifically, Gparted enables you to create, destroy, resize,
|
|
|
|
move, check, label, and copy partitions, and the file systems
|
|
|
|
contained within. This is useful for creating space for new operating
|
|
|
|
systems, reorganizing disk usage, and mirroring one partition with
|
|
|
|
another (disk imaging).
|
2004-09-19 20:24:53 +00:00
|
|
|
|
2008-04-25 15:51:08 +00:00
|
|
|
Gparted can also be used with storage devices other than hard disks,
|
|
|
|
such as USB flash drives, and memory cards.
|
2008-04-22 14:57:03 +00:00
|
|
|
|
2010-12-12 18:17:35 +00:00
|
|
|
Visit http://gparted.org for more information.
|
2008-04-22 14:57:03 +00:00
|
|
|
|
|
|
|
|
2013-05-24 19:27:25 +00:00
|
|
|
LICENSING
|
|
|
|
---------
|
|
|
|
GParted is released under the General Public License version 2, or (at
|
|
|
|
your option) any later version. (GPLv2+). All files are released under
|
|
|
|
the GPLv2+ unless explicitly licensed otherwise.
|
|
|
|
|
|
|
|
The GParted Manual is released under the GNU Free Documentation License
|
|
|
|
version 1.2 or any later version. (GFDLv1.2+).
|
|
|
|
|
|
|
|
See these files for more details:
|
|
|
|
COPYING - GNU General Public License version 2
|
|
|
|
COPYING-DOCS - GNU Free Documentation License version 1.2
|
|
|
|
|
|
|
|
|
2008-04-25 15:51:08 +00:00
|
|
|
NEWS
|
|
|
|
----
|
|
|
|
Information about changes to this release, and past releases can be
|
|
|
|
found in the file:
|
|
|
|
NEWS
|
2008-04-22 14:57:03 +00:00
|
|
|
|
|
|
|
|
2008-04-25 15:51:08 +00:00
|
|
|
INSTALL
|
|
|
|
-------
|
2008-04-26 20:20:54 +00:00
|
|
|
a. Pre-built Binary
|
|
|
|
|
|
|
|
Many GNU/Linux distributions already provide a pre-built binary
|
|
|
|
package for GParted. Instructions on how to install GParted on
|
|
|
|
some distributions is given below:
|
|
|
|
|
2013-10-01 19:06:28 +00:00
|
|
|
Debian or Ubuntu
|
|
|
|
----------------
|
2008-04-26 20:20:54 +00:00
|
|
|
sudo apt-get install gparted
|
|
|
|
|
2013-10-01 19:06:28 +00:00
|
|
|
Fedora or CentOS/RHEL
|
|
|
|
---------------------
|
2008-04-26 20:20:54 +00:00
|
|
|
su -
|
|
|
|
yum install gparted
|
|
|
|
|
2013-02-24 18:47:14 +00:00
|
|
|
OpenSUSE
|
|
|
|
--------
|
|
|
|
sudo zypper install gparted
|
|
|
|
|
2008-04-26 20:20:54 +00:00
|
|
|
b. Building from Source
|
|
|
|
|
2014-09-13 10:43:56 +00:00
|
|
|
Briefly, build and install GParted into the default location of
|
|
|
|
/usr/local using:
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
sudo make install
|
|
|
|
This assumes all the dependencies are already installed and builds
|
|
|
|
the default configuration.
|
|
|
|
|
|
|
|
The following dependencies are required to build GParted from source:
|
2008-04-26 20:20:54 +00:00
|
|
|
g++
|
|
|
|
e2fsprogs
|
|
|
|
parted
|
2014-09-13 10:43:56 +00:00
|
|
|
gnome-common
|
2008-04-26 20:20:54 +00:00
|
|
|
gtkmm24
|
|
|
|
gettext
|
2008-09-15 17:23:11 +00:00
|
|
|
gnome-doc-utils - required if help documentation is to be built
|
2008-04-26 20:20:54 +00:00
|
|
|
|
2013-10-01 19:06:28 +00:00
|
|
|
On Debian or Ubuntu, these dependencies may be obtained by running
|
|
|
|
one of the following commands:
|
|
|
|
Either;
|
|
|
|
sudo apt-get build-dep gparted
|
|
|
|
Or;
|
2008-04-26 20:20:54 +00:00
|
|
|
sudo apt-get install build-essential e2fsprogs uuid uuid-dev \
|
2008-10-08 21:18:21 +00:00
|
|
|
gnome-common libparted-dev libgtkmm-2.4-dev \
|
2013-02-24 18:47:14 +00:00
|
|
|
libdevmapper-dev gnome-doc-utils docbook-xml
|
2008-04-26 20:20:54 +00:00
|
|
|
|
|
|
|
On Fedora, you will need to run (as root);
|
|
|
|
yum install gtkmm24-devel parted-devel e2fsprogs-devel gettext \
|
2011-11-13 00:03:23 +00:00
|
|
|
'perl(XML::Parser)' desktop-file-utils libuuid-devel \
|
2013-10-01 19:06:28 +00:00
|
|
|
gnome-doc-utils docbook-dtds rarian-compat intltool \
|
2014-02-06 18:19:03 +00:00
|
|
|
gnome-common gcc-c++
|
2011-11-13 00:03:23 +00:00
|
|
|
yum groupinstall 'Development Tools'
|
2008-04-26 20:20:54 +00:00
|
|
|
|
2011-02-26 17:18:09 +00:00
|
|
|
On openSUSE, these dependencies may be obtained by running the
|
2013-02-24 18:47:14 +00:00
|
|
|
following commands;
|
|
|
|
sudo zypper install automake autoconf make gnome-common \
|
2011-02-26 17:18:09 +00:00
|
|
|
libuuid-devel parted-devel gtkmm2-devel \
|
2013-02-24 18:47:14 +00:00
|
|
|
gnome-doc-utils-devel docbook-xsl-stylesheets
|
|
|
|
sudo zypper install -t pattern devel_c_c++
|
2011-02-26 17:18:09 +00:00
|
|
|
|
2014-09-13 10:43:56 +00:00
|
|
|
Again, build GParted with the default configuration and install into
|
|
|
|
the default location of /usr/local using:
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
sudo make install
|
2011-02-22 20:22:49 +00:00
|
|
|
|
|
|
|
If you wish to build this package without the help documentation use
|
|
|
|
the --disable-doc flag:
|
2009-02-09 17:46:09 +00:00
|
|
|
E.g., ./configure --disable-doc
|
2011-02-22 20:22:49 +00:00
|
|
|
|
2011-11-13 00:03:23 +00:00
|
|
|
If you wish to build this package for use on a desktop that does not
|
|
|
|
support scrollkeeper use the --disable-scrollkeeper flag:
|
|
|
|
E.g., ./configure --disable-scrollkeeper
|
|
|
|
|
2011-02-22 20:22:49 +00:00
|
|
|
If you wish to build this package to use native libparted /dev/mapper
|
|
|
|
dmraid support use the --enable-libparted-dmraid flag:
|
|
|
|
E.g., ./configure --enable-libparted-dmraid
|
|
|
|
|
2013-11-15 16:27:12 +00:00
|
|
|
If you wish to build this package with online resize support then
|
|
|
|
the following is required:
|
2014-08-10 21:35:27 +00:00
|
|
|
a) Linux kernel version 3.6 or higher.
|
|
|
|
b) Libparted with online resize support. Either:
|
|
|
|
i) Libparted version 3.2 or later which includes online
|
|
|
|
resize support as standard. In this case GParted is
|
|
|
|
automatically built with online resize support.
|
|
|
|
ii) Online resize support back ported into an earlier version
|
|
|
|
of libparted. This is only known to be included in Debian
|
|
|
|
and derived distributions with parted version 2.3-14 and
|
|
|
|
higher. In this case online resize support must be
|
|
|
|
specifically enabled with the --enable-online-resize flag:
|
|
|
|
E.g., ./configure --enable-online-resize
|
2013-11-15 16:27:12 +00:00
|
|
|
|
|
|
|
Please note that more than one configure flag can be used:
|
2011-02-22 20:22:49 +00:00
|
|
|
E.g., ./configure --disable-doc --enable-libparted-dmraid
|
|
|
|
|
2008-04-26 20:20:54 +00:00
|
|
|
The INSTALL file contains further GNU installation instructions.
|
2008-04-22 14:57:03 +00:00
|
|
|
|
2014-09-14 17:44:48 +00:00
|
|
|
c. Building using a Specific (lib)parted Version
|
|
|
|
|
|
|
|
1) Download the parted version you wish to use (e.g., 3.2) from:
|
|
|
|
|
|
|
|
http://ftp.gnu.org/gnu/parted/
|
|
|
|
|
|
|
|
2) Build and install parted.
|
|
|
|
|
|
|
|
Extract parted tarball, configure, make, and sudo make install.
|
|
|
|
Note that by default this will install into /usr/local.
|
|
|
|
|
2014-09-20 10:31:12 +00:00
|
|
|
3) Set environment variables to inform the GParted build system to
|
|
|
|
use libparted from /usr/local:
|
2014-09-14 17:44:48 +00:00
|
|
|
|
2014-09-20 10:31:12 +00:00
|
|
|
export CPPFLAGS=-I/usr/local/include
|
2014-09-14 17:44:48 +00:00
|
|
|
export LDFLAGS=-L/usr/local/lib
|
2014-09-20 10:31:12 +00:00
|
|
|
export LD_RUN_PATH=/usr/local/lib
|
2015-08-11 17:18:54 +00:00
|
|
|
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
|
2014-09-14 17:44:48 +00:00
|
|
|
|
|
|
|
4) Build gparted using steps listed above in "Building from Source".
|
|
|
|
|
|
|
|
Note that when you run ./configure you should see the specific
|
|
|
|
version of parted listed in the check for libparted >= 1.7.1.
|
|
|
|
|
|
|
|
You will also see the libparted version listed when running
|
|
|
|
gparted from the command line.
|
|
|
|
|
2008-04-22 14:57:03 +00:00
|
|
|
|
2008-04-25 15:51:08 +00:00
|
|
|
DIRECTORIES
|
|
|
|
------------
|
|
|
|
compose - contains String::ucompose() function
|
2008-04-22 14:57:03 +00:00
|
|
|
|
2008-11-12 22:22:59 +00:00
|
|
|
data - contains desktop icons
|
|
|
|
|
2008-04-25 15:51:08 +00:00
|
|
|
doc - contains manual page documentation
|
2008-04-22 14:57:03 +00:00
|
|
|
|
2008-08-07 01:07:25 +00:00
|
|
|
help - contains GParted Manual and international translations
|
|
|
|
|
2008-04-25 15:51:08 +00:00
|
|
|
include - contains source header files
|
2008-04-22 14:57:03 +00:00
|
|
|
|
2008-08-07 01:07:25 +00:00
|
|
|
m4 - contains macro files
|
|
|
|
|
2008-04-25 15:51:08 +00:00
|
|
|
po - contains international language translations
|
2008-04-22 14:57:03 +00:00
|
|
|
|
2008-04-25 15:51:08 +00:00
|
|
|
src - contains C++ source code
|
2008-04-22 14:57:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
DISTRIBUTION NOTES
|
|
|
|
------------------
|
2015-08-10 10:30:46 +00:00
|
|
|
GParted uses GNU libparted to detect and manipulate devices and
|
|
|
|
partition tables. The blkid command is also required to detect those
|
|
|
|
file systems which libparted doesn't detect. (The blkid command should
|
|
|
|
be considered a mandatory requirement).
|
|
|
|
|
|
|
|
GParted also queries and manipulates the file systems within those
|
|
|
|
devices and partitions. When available, it uses each file system's
|
|
|
|
specific commands. The following optional file system specific packages
|
|
|
|
provide this support:
|
2008-04-22 14:57:03 +00:00
|
|
|
|
2015-07-25 08:38:28 +00:00
|
|
|
btrfs-progs / btrfs-tools
|
2008-04-22 14:57:03 +00:00
|
|
|
e2fsprogs
|
2013-03-16 20:56:02 +00:00
|
|
|
f2fs-tools
|
2008-04-22 14:57:03 +00:00
|
|
|
dosfstools
|
2015-08-10 10:30:46 +00:00
|
|
|
mtools - required to read and write FAT16/32 volume labels
|
|
|
|
and UUIDs
|
2008-04-22 14:57:03 +00:00
|
|
|
hfsutils
|
2008-07-25 23:05:20 +00:00
|
|
|
hfsprogs
|
2008-04-22 14:57:03 +00:00
|
|
|
jfsutils
|
2011-12-08 12:45:12 +00:00
|
|
|
nilfs-utils
|
2015-07-25 09:44:24 +00:00
|
|
|
ntfs-3g / ntfsprogs
|
2008-04-22 14:57:03 +00:00
|
|
|
reiser4progs
|
2015-07-25 09:44:24 +00:00
|
|
|
reiserfsprogs / reiserfs-utils / reiserfs
|
2011-11-10 20:12:21 +00:00
|
|
|
xfsprogs, xfsdump
|
2008-10-31 21:50:07 +00:00
|
|
|
|
2009-03-14 20:02:41 +00:00
|
|
|
|
|
|
|
For dmraid support, the following packages are required:
|
|
|
|
|
|
|
|
dmsetup - removes /dev/mapper entries
|
2015-08-10 10:30:46 +00:00
|
|
|
dmraid - lists dmraid devices and creates /dev/mapper
|
|
|
|
entries
|
2009-03-14 20:02:41 +00:00
|
|
|
|
2009-03-26 17:35:00 +00:00
|
|
|
For GNU/Linux distribution dmraid support, the following are required:
|
2015-08-10 10:30:46 +00:00
|
|
|
- kernel built with Device Mapping and Mirroring built. From
|
|
|
|
menuconfig, it is under Device Drivers -> <something> (RAID & LVM).
|
2009-03-26 17:35:00 +00:00
|
|
|
- dmraid drive arrays activated on boot (e.g., dmraid -ay).
|
2009-12-06 20:39:09 +00:00
|
|
|
|
|
|
|
|
2012-02-06 15:18:05 +00:00
|
|
|
For LVM2 Physical Volume support the following command is required:
|
2012-01-29 10:43:33 +00:00
|
|
|
lvm - LVM2 administration tool
|
|
|
|
And device-mapper support in the kernel.
|
|
|
|
|
|
|
|
|
2016-01-01 13:56:11 +00:00
|
|
|
For accurate detection and reporting of Linux Software RAID Arrays the
|
|
|
|
following command is required:
|
|
|
|
|
|
|
|
mdadm - SWRaid administration tool
|
|
|
|
|
|
|
|
|
2016-01-02 14:27:17 +00:00
|
|
|
For LUKS read-only support the following command is required:
|
|
|
|
dmsetup - Device-mapper administration tool
|
|
|
|
|
|
|
|
|
2011-01-29 22:44:23 +00:00
|
|
|
For attempt data rescue for lost partitions, the following package
|
|
|
|
is required:
|
|
|
|
gpart - guesses PC-type hard disk partitions
|
|
|
|
|
|
|
|
|
2015-08-10 10:30:46 +00:00
|
|
|
Several more commands are optionally used by GParted if found on the
|
|
|
|
system. These commands include:
|
|
|
|
|
|
|
|
blkid - [mandatory requirement] used to detect file systems
|
|
|
|
libparted doesn't, read UUIDs and volume labels
|
|
|
|
hdparm - used to query disk device serial numbers
|
|
|
|
udisks - used to prevent automounting of file systems
|
|
|
|
devkit-disks - used to prevent automounting of file systems
|
|
|
|
{filemanager} - used in attempt data rescue to display discovered
|
|
|
|
file systems. (e.g., nautilus, pcmanfm)
|
|
|
|
hal-lock - used to prevent automounting of file systems
|
|
|
|
gksudo - used to acquire root privileges in .desktop file,
|
|
|
|
but only if available when gparted source is
|
|
|
|
configured.
|
|
|
|
gksu - alternatively used to acquire root privileges in
|
|
|
|
.desktop file if gksu not available, but only if
|
|
|
|
available when gparted source is configured.
|
|
|
|
kdesudo - alternatively used to acquire root privileges in
|
|
|
|
.desktop file if gksudo and gksu not available, but
|
|
|
|
only if available when gparted source is
|
|
|
|
configured.
|
|
|
|
xdg-su - alternatively used to acquire root privileges in
|
|
|
|
.desktop file if gksudo, gksu, and kdesudo are not
|
|
|
|
available, but only if available when gparted
|
|
|
|
source is configured.
|
|
|
|
udevinfo - used in dmraid to query udev name
|
|
|
|
udevadm - used in dmraid to query udev name
|
|
|
|
yelp - used to display help manual
|
2009-12-06 20:58:27 +00:00
|
|
|
|