Jump to content

GParted: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
In Ubuntus "Try Ubuntu" mode, gparted is preinstalled to help save a bad disk
Update link and title. The current Open Hub page says it's mostly C++, and downloading the 1.6.0 source says it's right.
 
(64 intermediate revisions by 42 users not shown)
Line 1: Line 1:
{{Short description|Partition editor}}
{{distinguish|text=[[GNU Parted]], the backend behind GParted}}
{{Primary sources|date=July 2021}}
{{Infobox software
{{Infobox software
| name =
|name =
| title =
|title =
| logo = Scalable gparted.svg
|logo = Scalable gparted.svg
| logo caption =
|logo caption =
| logo_size =
|logo_size =
| logo_alt =
|logo_alt =
| screenshot = GParted 0.18 GUID partition table.png
|screenshot = GParted 1.3.1 screenshot.png
| caption = GParted 0.18 showing a [[GUID Partition Table|GPT]]-partitioned hard disk
|caption = GParted 1.3.1 showing a [[GUID Partition Table|GPT]]-partitioned hard disk
| screenshot_size = 300px
|screenshot_size = 300px
| screenshot_alt =
|screenshot_alt =
| collapsible =
|collapsible =
| author =
|author =
| developer = GParted developers
|developer = GParted developers
| released = {{Start date and age|2004|08|26}}
|released = {{Start date and age|2004|08|26}}
|latest release version = {{wikidata|property|preferred|references|edit|Q843156|P348|P548=Q2804309}}
| latest_release_version = 0.32.0
|latest release date = {{wikidata|qualifier|preferred|single|Q843156|P348|P548=Q2804309|P577}}
| latest_release_date = {{Start date and age|2018|08|24}}<ref>[https://gparted.org/news.php?item=220 GParted -- News Item 220]</ref>
|latest preview version = {{wikidata|property|preferred|references|edit|Q843156|P348|P548=Q51930650}}
| discontinued =
|latest preview date = {{wikidata|qualifier|preferred|single|Q843156|P348|P548=Q51930650|P577}}
| status =
|discontinued =
| programming language = [[C++]] ([[gtkmm]]), [[C (programming language)|C]]<ref>http://www.ohloh.net/p/32097</ref>
|repo = {{URL|https://gitlab.gnome.org/GNOME/gparted/|GParted Repository}}
| operating system = [[Linux]]
|programming language = [[C++]] ([[gtkmm]])<ref>{{Cite web |url=https://openhub.net/p/gparted_grapical |title=
| size =
The GParted Open Source Project on Open Hub |access-date=2024-12-17}}</ref>
| language =
|operating system = [[Linux]]
| language count = <!-- Number only -->
|size =
| language footnote =
|language =
| genre = [[Partition editor]]
|language count =
| license = [[GNU General Public License|GNU GPL]]
|language footnote =
| website = {{URL|http://gparted.sourceforge.net/}} and {{URL|http://gparted.org/}}
|genre = [[Partition editor]]
|license = [[GNU General Public License|GPL-2.0-or-later]]
|website = {{URL|gparted.org}}
}}
}}
'''GParted''' (acronym of '''GNOME Partition Editor''') is a [[GTK+]] front-end to [[GNU Parted]] and an official [[GNOME]] partition-editing application (alongside [[GNOME Disks|Disks]]). GParted is used for creating, deleting, resizing, moving, checking, and copying [[Partition (computing)|disk partitions]] and their [[file systems]]. This is useful for creating space for new [[operating systems]], reorganizing disk usage, copying data residing on hard disks, and mirroring one partition with another (disk imaging).
'''GParted''' (acronym of '''GNOME''' '''Part'''ition '''Ed'''itor) is a [[GTK]] front-end to [[GNU Parted]] and an official [[GNOME]] partition-editing application (alongside [[GNOME Disks|Disks]]). GParted is used for creating, deleting,<ref>{{Cite web |last=Carias Stas |first=Chris Patrick |date=2021-04-20 |title=How to Delete Partitions in Linux [Using fdisk and GParted] |url=https://itsfoss.com/delete-partition-linux/ |access-date=2022-08-17 |website=It's FOSS}}</ref> resizing,<ref>{{Cite web |last=Hoffman |first=Chris |date=2022-08-12 |title=How to Enlarge a Virtual Machine's Disk in VirtualBox or VMware |url=https://www.howtogeek.com/124622/how-to-enlarge-a-virtual-machines-disk-in-virtualbox-or-vmware/ |access-date=2022-08-17 |website=How-To Geek}}</ref> moving, checking, and copying [[Partition (computing)|disk partitions]] and their [[file systems]]. This is useful for creating space for new [[operating systems]], reorganizing disk usage, copying data residing on hard disks, and mirroring one partition with another (disk imaging). It can also be used to format a USB drive.<ref>{{Cite web |last=Trevor |first=Bekolay |date=2010-05-11 |title=How to Format a USB Drive in Ubuntu Using GParted |url=https://www.howtogeek.com/howto/17001/how-to-format-a-usb-drive-in-ubuntu-using-gparted/ |access-date=2022-08-17 |website=How-To Geek}}</ref>


== Background ==
== Background ==
GParted uses [[GNU Parted|libparted]] to detect and manipulate devices and partition tables while several (optional) file system tools provide support for file systems not included in libparted. These optional packages will be detected at runtime and do not require a rebuild of GParted.
GParted uses [[GNU Parted|libparted]] to detect and manipulate devices and partition tables while several (optional) file system tools provide support for file systems not included in libparted. These optional packages will be detected at runtime and do not require a rebuild of GParted. GParted supports the following filesystems: [[Ext2]], [[Ext3]], [[Ext4]], [[FAT16]], [[Fat32|FAT32]], [[Hierarchical File System (Apple)|HFS]], [[HFS Plus|HFS+]], [[JFS (file system)|JFS]], [[Linux swap|Linux-swap]], [[ReiserFS]], [[Reiser4]], [[Universal Flash Storage|UFS]], [[XFS]], and [[NTFS]].<ref>{{Cite web |last=Timme |first=Falko |title=Modify Your Partitions With GParted Without Losing Data |url=https://www.howtoforge.com/partitioning_with_gparted |access-date=2022-08-17}}</ref><ref name="GParted Features">{{cite web |url=https://gparted.sourceforge.io/features.php |title=GParted Features |access-date=2018-03-21}}</ref>


GParted is written in [[C++]] and uses [[gtkmm]] to interface with GTK+. The general approach is to keep the [[Graphical user interface|GUI]] as simple as possible and in conformity with the [[GNOME Human Interface Guidelines]].
GParted is written in [[C++]] and uses [[gtkmm]] to interface with GTK. The general approach is to keep the [[Graphical user interface|GUI]] as simple as possible and in conformity with the [[GNOME Human Interface Guidelines]].


The GParted project provides a live operating system including GParted which can be written to a [[Live CD]], a [[Live USB]] and other media.<ref>{{cite web|title=Gparted Live CD|url=http://gparted.sourceforge.net/livecd.php|accessdate=6 April 2013}}</ref><ref>[http://www.linux.com/articles/53924 A quick look at the GParted live CD | Linux.com | The source of Linux information]</ref> The operating system is based on [[Debian]] GNU/Linux. GParted is also available on other GNU/Linux live CDs, including recent versions of [[Puppy Linux|Puppy]], [[Knoppix]] and [[Parted Magic]]. GParted is preinstalled when booting from "Try Ubuntu" mode on a [[Ubuntu]] installation media.
The GParted project provides a live operating system including GParted which can be written to a [[Live CD]], a [[Live USB]] and other media.<ref>{{Cite web |last=Brockmeier |first=Joe |date=2006-05-18 |title=A quick look at the GParted live CD |url=https://www.linux.com/news/quick-look-gparted-live-cd/ |access-date=2022-08-17 |website=[[linux.com]]}}</ref> The operating system is based on [[Debian]]. GParted is also available on other Linux live CDs, including recent versions of [[Puppy Linux|Puppy]], [[Knoppix]], [[SystemRescueCd]]<ref>{{Cite web |title=SystemRescue - Standard partitioning tools |url=https://www.system-rescue.org/disk-partitioning/Standard-partitioning-tools/ |access-date=2022-08-17 |website=SystemRescue website}}</ref> and [[Parted Magic]]. GParted is preinstalled when booting from "Try Ubuntu" mode on an [[Ubuntu]] installation media.


An alternative to this software is [[disks (software)|Disks]] (GNOME Disks).
An alternative to this software is [[GNOME Disks]].


==Supported features==
==Supported features==
GParted supports the following operations on file systems (provided that all features were enabled at compile-time and all required tools are present on the system). The 'copy' field indicates whether GParted is capable of cloning the mentioned filesystem.<ref>{{cite web |url=https://gparted.sourceforge.io/features.php |title=GParted Features |accessdate=2018-03-21}}</ref>
GParted supports the following operations on file systems (provided that all features were enabled at compile-time and all required tools are present on the system). The 'copy' field indicates whether GParted is capable of cloning the mentioned filesystem.<ref name="GParted Features" />


{| class="wikitable sortable"
{| class="wikitable sortable"
Line 57: Line 61:
! UUID
! UUID
|-
|-
! [[BitLocker]]
! [[APFS]]
| {{yes}}
| {{yes}}
| {{no}}
| {{no}}
Line 63: Line 67:
| {{no}}
| {{no}}
| {{no}}
| {{no}}
| {{yes}}
| {{yes}}
| {{no}}
| {{no}}
| {{no}}
| {{no}}
| {{no}}
|-
! [[BitLocker]]
| {{yes}}
| {{no}}
| {{no}}
| {{no}}
| {{no}}
| {{yes}}
| {{yes}}
| {{no}}
| {{no}}
| {{no}}
| {{no}}
Line 93: Line 109:
| {{no}}
| {{no}}
|-
|-
! [[exFAT]]<ref>[http://gparted-forum.surf4.info/viewtopic.php?id=13428 Feature Requests: exFAT (aka FAT64)]</ref><ref>[https://bugzilla.gnome.org/show_bug.cgi?id=639760 Bug / Enhancement 639760 - exfat / fat64 support?]</ref>
! [[exFAT]]<ref>[https://gparted.org/news.php?item=236 GParted News Item 236]</ref>
| {{yes}}
| {{yes}}
| {{no}}
| {{no}}
| {{no}}
| {{no}}
| {{yes}}
| {{yes}}
| {{yes}}
| {{yes}}
| {{no}}
| {{no}}
| {{no}}
| {{no}}
| {{no}}
| {{yes}}
| {{yes}}
| {{yes}}
| {{yes}}
| {{yes}}
|-
|-
! [[ext2]]
! [[ext2]]
Line 143: Line 159:
! [[F2FS]]
! [[F2FS]]
| {{yes}}
| {{yes}}
| {{no}}
| {{yes}}
| {{yes}}
| {{no}}
| {{no}}
| {{yes}}
| {{yes}}
| {{yes}}
| {{yes}}
| {{no}}
| {{no}}
| {{yes}}
| {{yes}}
| {{yes}}
| {{no}}
| {{no}}
| {{no}}
| {{no}}
Line 177: Line 193:
| {{yes}}
| {{yes}}
|-
|-
! [[Hierarchical File System|HFS]]
! [[Hierarchical File System (Apple)|HFS]]
| {{yes}}
| {{yes}}
| {{yes}}
| {{yes}}
Line 267: Line 283:
| {{no}}
| {{no}}
| {{no}}
| {{no}}
| {{no}}
| {{yes}}
| {{no}}
| {{yes}}
| {{no}}
| {{no}}
| {{no}}
| {{no}}
Line 339: Line 355:
| {{no}}
| {{no}}
| {{no}}
| {{no}}
| {{no}}
| {{yes}}
| {{no}}
| {{yes}}
| {{no}}
| {{no}}
| {{no}}
| {{no}}
Line 347: Line 363:


== Cloning with GParted ==
== Cloning with GParted ==
GParted is capable of cloning by [[copy and paste|copying and pasting]]. GParted is not capable of cloning an entire disk, but only one partition at a time. The file system being cloned should not be mounted. GParted clones partitions at the filesystem-level, and as a result is capable of cloning different target-size partitions for the same source, as long as the size of the source filesystem does not exceed the size of the target partition.<ref>{{cite web |url=http://gparted.sourceforge.net/display-doc.php?name=help-manual#gparted-copy-and-paste-partition |title=Gparted Manual: Copying and Pasting a Partition}}</ref>
GParted is capable of cloning by using the [[Pointing device gesture|mouse gesture]] of [[copy and paste]].
GParted is not capable of cloning an entire disk, but only one partition at a time. When GParted performs its cloning operation, the filesystem being copied should not already be in use. GParted clones partitions at the filesystem-level, and as a result is capable of cloning different target-size partitions for the same source, as long as the size of the source filesystem does not exceed the size of the target partition.<ref>{{cite web |url=http://gparted.sourceforge.net/display-doc.php?name=help-manual#gparted-copy-and-paste-partition |title=Gparted Manual: Copying and Pasting a Partition}}</ref>


==See also==
==See also==
{{portal|Free software}}
{{Portal|Free and open-source software}}
* [[Comparison of disk cloning software]]
* [[Comparison of disk cloning software]]
* [[GNU Parted]]
* [[GNU Parted]]
Line 362: Line 377:
{{reflist|30em}}
{{reflist|30em}}


==External links==
{{commons category|GParted}}
{{commons category|GParted}}

* [http://gparted.sourceforge.net/ Official website] on [[SourceForge]]


{{GTK}}
{{GTK}}
Line 373: Line 385:
[[Category:GNOME Applications]]
[[Category:GNOME Applications]]
[[Category:Operating system distributions bootable from read-only media]]
[[Category:Operating system distributions bootable from read-only media]]
[[de:GNU Parted#GParted]]

Latest revision as of 21:22, 17 December 2024

Developer(s)GParted developers
Initial releaseAugust 26, 2004; 20 years ago (2004-08-26)
Stable release
1.6.0[1] Edit this on Wikidata / 26 February 2024
RepositoryGParted Repository
Written inC++ (gtkmm)[2]
Operating systemLinux
TypePartition editor
LicenseGPL-2.0-or-later
Websitegparted.org

GParted (acronym of GNOME Partition Editor) is a GTK front-end to GNU Parted and an official GNOME partition-editing application (alongside Disks). GParted is used for creating, deleting,[3] resizing,[4] moving, checking, and copying disk partitions and their file systems. This is useful for creating space for new operating systems, reorganizing disk usage, copying data residing on hard disks, and mirroring one partition with another (disk imaging). It can also be used to format a USB drive.[5]

Background

[edit]

GParted uses libparted to detect and manipulate devices and partition tables while several (optional) file system tools provide support for file systems not included in libparted. These optional packages will be detected at runtime and do not require a rebuild of GParted. GParted supports the following filesystems: Ext2, Ext3, Ext4, FAT16, FAT32, HFS, HFS+, JFS, Linux-swap, ReiserFS, Reiser4, UFS, XFS, and NTFS.[6][7]

GParted is written in C++ and uses gtkmm to interface with GTK. The general approach is to keep the GUI as simple as possible and in conformity with the GNOME Human Interface Guidelines.

The GParted project provides a live operating system including GParted which can be written to a Live CD, a Live USB and other media.[8] The operating system is based on Debian. GParted is also available on other Linux live CDs, including recent versions of Puppy, Knoppix, SystemRescueCd[9] and Parted Magic. GParted is preinstalled when booting from "Try Ubuntu" mode on an Ubuntu installation media.

An alternative to this software is GNOME Disks.

Supported features

[edit]

GParted supports the following operations on file systems (provided that all features were enabled at compile-time and all required tools are present on the system). The 'copy' field indicates whether GParted is capable of cloning the mentioned filesystem.[7]

Detect Read Create Grow Shrink Move Copy Check Label UUID
APFS Yes No No No No Yes Yes No No No
BitLocker Yes No No No No Yes Yes No No No
Btrfs Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
crypt / LUKS[10] Yes Yes No Yes Yes Yes Yes No No No
exFAT[11] Yes Yes Yes No No Yes Yes Yes Yes Yes
ext2 Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
ext3 Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
ext4 Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
F2FS Yes Yes Yes Yes No Yes Yes Yes No No
FAT16 Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
FAT32 Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
HFS Yes Yes Yes No Yes Yes Yes No No No
HFS+ Yes Yes Yes No Yes Yes Yes Yes No No
JFS Yes Yes Yes Yes No Yes Yes Yes Yes Yes
swap Yes Yes Yes Yes Yes Yes Yes No Yes Yes
LVM2 PV Yes Yes Yes Yes Yes Yes No Yes No No
NILFS2 Yes Yes Yes Yes Yes Yes Yes No Yes Yes
NTFS Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
ReFS Yes No No No No Yes Yes No No No
Reiser4 Yes Yes Yes No No Yes Yes Yes No No
ReiserFS Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
UDF Yes Yes Yes No No Yes Yes No Yes Yes
UFS Yes No No No No Yes Yes No No No
XFS Yes Yes Yes Yes No Yes Yes Yes Yes Yes
ZFS Yes No No No No Yes Yes No No No

Cloning with GParted

[edit]

GParted is capable of cloning by copying and pasting. GParted is not capable of cloning an entire disk, but only one partition at a time. The file system being cloned should not be mounted. GParted clones partitions at the filesystem-level, and as a result is capable of cloning different target-size partitions for the same source, as long as the size of the source filesystem does not exceed the size of the target partition.[12]

See also

[edit]

References

[edit]
  1. ^ "GParted 1.6.0". 26 February 2024. Retrieved 26 February 2024.
  2. ^ "The GParted Open Source Project on Open Hub". Retrieved 2024-12-17.
  3. ^ Carias Stas, Chris Patrick (2021-04-20). "How to Delete Partitions in Linux [Using fdisk and GParted]". It's FOSS. Retrieved 2022-08-17.
  4. ^ Hoffman, Chris (2022-08-12). "How to Enlarge a Virtual Machine's Disk in VirtualBox or VMware". How-To Geek. Retrieved 2022-08-17.
  5. ^ Trevor, Bekolay (2010-05-11). "How to Format a USB Drive in Ubuntu Using GParted". How-To Geek. Retrieved 2022-08-17.
  6. ^ Timme, Falko. "Modify Your Partitions With GParted Without Losing Data". Retrieved 2022-08-17.
  7. ^ a b "GParted Features". Retrieved 2018-03-21.
  8. ^ Brockmeier, Joe (2006-05-18). "A quick look at the GParted live CD". linux.com. Retrieved 2022-08-17.
  9. ^ "SystemRescue - Standard partitioning tools". SystemRescue website. Retrieved 2022-08-17.
  10. ^ GParted — News Item 207
  11. ^ GParted News Item 236
  12. ^ "Gparted Manual: Copying and Pasting a Partition".