2008-04-22 08:57:03 -06:00
|
|
|
GPARTED
|
2010-12-12 11:17:35 -07:00
|
|
|
=======
|
2014-04-04 12:27:48 -06:00
|
|
|
Gparted is the GNOME Partition Editor for creating, reorganizing, and
|
2008-04-25 09:51:08 -06:00
|
|
|
deleting disk partitions.
|
2008-04-22 08:57:03 -06:00
|
|
|
|
2008-04-25 09:51:08 -06: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 14:24:53 -06:00
|
|
|
|
2008-04-25 09:51:08 -06: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 14:24:53 -06:00
|
|
|
|
2008-04-25 09:51:08 -06:00
|
|
|
Gparted can also be used with storage devices other than hard disks,
|
|
|
|
such as USB flash drives, and memory cards.
|
2008-04-22 08:57:03 -06:00
|
|
|
|
2010-12-12 11:17:35 -07:00
|
|
|
Visit http://gparted.org for more information.
|
2008-04-22 08:57:03 -06:00
|
|
|
|
|
|
|
|
2013-05-24 13:27:25 -06: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 09:51:08 -06:00
|
|
|
NEWS
|
|
|
|
----
|
|
|
|
Information about changes to this release, and past releases can be
|
|
|
|
found in the file:
|
|
|
|
NEWS
|
2008-04-22 08:57:03 -06:00
|
|
|
|
|
|
|
|
2008-04-25 09:51:08 -06:00
|
|
|
INSTALL
|
|
|
|
-------
|
2008-04-26 14:20:54 -06: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 13:06:28 -06:00
|
|
|
Debian or Ubuntu
|
|
|
|
----------------
|
2008-04-26 14:20:54 -06:00
|
|
|
sudo apt-get install gparted
|
|
|
|
|
2013-10-01 13:06:28 -06:00
|
|
|
Fedora or CentOS/RHEL
|
|
|
|
---------------------
|
2008-04-26 14:20:54 -06:00
|
|
|
su -
|
|
|
|
yum install gparted
|
|
|
|
|
2013-02-24 11:47:14 -07:00
|
|
|
OpenSUSE
|
|
|
|
--------
|
|
|
|
sudo zypper install gparted
|
|
|
|
|
2008-04-26 14:20:54 -06:00
|
|
|
b. Building from Source
|
|
|
|
|
2014-09-13 04:43:56 -06: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 14:20:54 -06:00
|
|
|
g++
|
|
|
|
e2fsprogs
|
|
|
|
parted
|
2014-09-13 04:43:56 -06:00
|
|
|
gnome-common
|
2008-04-26 14:20:54 -06:00
|
|
|
gtkmm24
|
|
|
|
gettext
|
2008-09-15 11:23:11 -06:00
|
|
|
gnome-doc-utils - required if help documentation is to be built
|
2008-04-26 14:20:54 -06:00
|
|
|
|
2013-10-01 13:06:28 -06: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 14:20:54 -06:00
|
|
|
sudo apt-get install build-essential e2fsprogs uuid uuid-dev \
|
2008-10-08 15:18:21 -06:00
|
|
|
gnome-common libparted-dev libgtkmm-2.4-dev \
|
2013-02-24 11:47:14 -07:00
|
|
|
libdevmapper-dev gnome-doc-utils docbook-xml
|
2008-04-26 14:20:54 -06:00
|
|
|
|
|
|
|
On Fedora, you will need to run (as root);
|
|
|
|
yum install gtkmm24-devel parted-devel e2fsprogs-devel gettext \
|
2011-11-12 17:03:23 -07:00
|
|
|
'perl(XML::Parser)' desktop-file-utils libuuid-devel \
|
2013-10-01 13:06:28 -06:00
|
|
|
gnome-doc-utils docbook-dtds rarian-compat intltool \
|
2014-02-06 11:19:03 -07:00
|
|
|
gnome-common gcc-c++
|
2011-11-12 17:03:23 -07:00
|
|
|
yum groupinstall 'Development Tools'
|
2008-04-26 14:20:54 -06:00
|
|
|
|
2011-02-26 10:18:09 -07:00
|
|
|
On openSUSE, these dependencies may be obtained by running the
|
2013-02-24 11:47:14 -07:00
|
|
|
following commands;
|
|
|
|
sudo zypper install automake autoconf make gnome-common \
|
2011-02-26 10:18:09 -07:00
|
|
|
libuuid-devel parted-devel gtkmm2-devel \
|
2013-02-24 11:47:14 -07:00
|
|
|
gnome-doc-utils-devel docbook-xsl-stylesheets
|
|
|
|
sudo zypper install -t pattern devel_c_c++
|
2011-02-26 10:18:09 -07:00
|
|
|
|
2014-09-13 04:43:56 -06: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 13:22:49 -07:00
|
|
|
|
|
|
|
If you wish to build this package without the help documentation use
|
|
|
|
the --disable-doc flag:
|
2009-02-09 10:46:09 -07:00
|
|
|
E.g., ./configure --disable-doc
|
2011-02-22 13:22:49 -07:00
|
|
|
|
2011-11-12 17:03:23 -07: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 13:22:49 -07: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 09:27:12 -07:00
|
|
|
If you wish to build this package with online resize support then
|
|
|
|
the following is required:
|
2014-08-10 15:35:27 -06: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 09:27:12 -07:00
|
|
|
|
|
|
|
Please note that more than one configure flag can be used:
|
2011-02-22 13:22:49 -07:00
|
|
|
E.g., ./configure --disable-doc --enable-libparted-dmraid
|
|
|
|
|
2008-04-26 14:20:54 -06:00
|
|
|
The INSTALL file contains further GNU installation instructions.
|
2008-04-22 08:57:03 -06:00
|
|
|
|
2014-09-14 11:44:48 -06: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 04:31:12 -06:00
|
|
|
3) Set environment variables to inform the GParted build system to
|
|
|
|
use libparted from /usr/local:
|
2014-09-14 11:44:48 -06:00
|
|
|
|
2014-09-20 04:31:12 -06:00
|
|
|
export CPPFLAGS=-I/usr/local/include
|
2014-09-14 11:44:48 -06:00
|
|
|
export LDFLAGS=-L/usr/local/lib
|
2014-09-20 04:31:12 -06:00
|
|
|
export LD_RUN_PATH=/usr/local/lib
|
2015-08-11 11:18:54 -06:00
|
|
|
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
|
2014-09-14 11:44:48 -06: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 08:57:03 -06:00
|
|
|
|
2008-04-25 09:51:08 -06:00
|
|
|
DIRECTORIES
|
|
|
|
------------
|
|
|
|
compose - contains String::ucompose() function
|
2008-04-22 08:57:03 -06:00
|
|
|
|
2008-11-12 15:22:59 -07:00
|
|
|
data - contains desktop icons
|
|
|
|
|
2008-04-25 09:51:08 -06:00
|
|
|
doc - contains manual page documentation
|
2008-04-22 08:57:03 -06:00
|
|
|
|
2008-08-06 19:07:25 -06:00
|
|
|
help - contains GParted Manual and international translations
|
|
|
|
|
2008-04-25 09:51:08 -06:00
|
|
|
include - contains source header files
|
2008-04-22 08:57:03 -06:00
|
|
|
|
2008-08-06 19:07:25 -06:00
|
|
|
m4 - contains macro files
|
|
|
|
|
2008-04-25 09:51:08 -06:00
|
|
|
po - contains international language translations
|
2008-04-22 08:57:03 -06:00
|
|
|
|
2008-04-25 09:51:08 -06:00
|
|
|
src - contains C++ source code
|
2008-04-22 08:57:03 -06:00
|
|
|
|
|
|
|
|
|
|
|
DISTRIBUTION NOTES
|
|
|
|
------------------
|
2015-08-10 04:30:46 -06: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 08:57:03 -06:00
|
|
|
|
2015-07-25 02:38:28 -06:00
|
|
|
btrfs-progs / btrfs-tools
|
2008-04-22 08:57:03 -06:00
|
|
|
e2fsprogs
|
2013-03-16 14:56:02 -06:00
|
|
|
f2fs-tools
|
2008-04-22 08:57:03 -06:00
|
|
|
dosfstools
|
2015-08-10 04:30:46 -06:00
|
|
|
mtools - required to read and write FAT16/32 volume labels
|
|
|
|
and UUIDs
|
2008-04-22 08:57:03 -06:00
|
|
|
hfsutils
|
2008-07-25 17:05:20 -06:00
|
|
|
hfsprogs
|
2008-04-22 08:57:03 -06:00
|
|
|
jfsutils
|
2011-12-08 05:45:12 -07:00
|
|
|
nilfs-utils
|
2015-07-25 03:44:24 -06:00
|
|
|
ntfs-3g / ntfsprogs
|
2008-04-22 08:57:03 -06:00
|
|
|
reiser4progs
|
2015-07-25 03:44:24 -06:00
|
|
|
reiserfsprogs / reiserfs-utils / reiserfs
|
2011-11-10 13:12:21 -07:00
|
|
|
xfsprogs, xfsdump
|
2008-10-31 15:50:07 -06:00
|
|
|
|
2009-03-14 14:02:41 -06:00
|
|
|
|
|
|
|
For dmraid support, the following packages are required:
|
|
|
|
|
|
|
|
dmsetup - removes /dev/mapper entries
|
2015-08-10 04:30:46 -06:00
|
|
|
dmraid - lists dmraid devices and creates /dev/mapper
|
|
|
|
entries
|
2009-03-14 14:02:41 -06:00
|
|
|
|
2009-03-26 11:35:00 -06:00
|
|
|
For GNU/Linux distribution dmraid support, the following are required:
|
2015-08-10 04:30:46 -06:00
|
|
|
- kernel built with Device Mapping and Mirroring built. From
|
|
|
|
menuconfig, it is under Device Drivers -> <something> (RAID & LVM).
|
2009-03-26 11:35:00 -06:00
|
|
|
- dmraid drive arrays activated on boot (e.g., dmraid -ay).
|
2009-12-06 13:39:09 -07:00
|
|
|
|
|
|
|
|
2012-02-06 08:18:05 -07:00
|
|
|
For LVM2 Physical Volume support the following command is required:
|
2012-01-29 03:43:33 -07:00
|
|
|
lvm - LVM2 administration tool
|
|
|
|
And device-mapper support in the kernel.
|
|
|
|
|
|
|
|
|
2016-01-01 06:56:11 -07:00
|
|
|
For accurate detection and reporting of Linux Software RAID Arrays the
|
|
|
|
following command is required:
|
|
|
|
|
|
|
|
mdadm - SWRaid administration tool
|
|
|
|
|
|
|
|
|
2016-01-02 07:27:17 -07:00
|
|
|
For LUKS read-only support the following command is required:
|
|
|
|
dmsetup - Device-mapper administration tool
|
|
|
|
|
|
|
|
|
2011-01-29 15:44:23 -07:00
|
|
|
For attempt data rescue for lost partitions, the following package
|
|
|
|
is required:
|
|
|
|
gpart - guesses PC-type hard disk partitions
|
|
|
|
|
|
|
|
|
2015-08-10 04:30:46 -06: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 13:58:27 -07:00
|
|
|
|