- GParted is a graphical (plus) front end to the libparted library used by the Parted project. If you want to use the command line then use parted instead (note: no g in front of name). Just use sudo parted to start it.
- Gparted can work with or create ext2, ext3, ext4, fat16, fat32, hfs, hfs+, linux-swap, lvm2 pv, nilfs2, ntfs, reiserfs, reiser4,ufs and xfs formats. Gparted is the one of the best hard disk management software for Ubuntu and Linux Base Derivatives.
- Oct 29, 2020 GParted is undoubtedly one of the best partition managers for Linux out there. The user interface is very simple and gets the job done. In some cases, you end up using GParted to fix or format your USB drive as well. I had a USB disk which I couldn’t format in Ubuntu using the “Disks” app – this is where GParted came to the rescue.
- With GParted, you don't have to worry about that, since you can add partitions or modify the size of those that you already have without losing your information. Just burn GParted to a CD or USB and use it like a boot disk and you'll be able to add new partitions and change the size of existing partitions.
Developer(s) | GParted developers |
---|---|
Initial release | August 26, 2004; 16 years ago |
Stable release | 1.3.0 / May 3, 2021; 7 days ago[1] |
Repository | GParted Repository |
Written in | C++ (gtkmm), C[2] |
Operating system | Linux |
Type | Partition editor |
License | GNU General Public License |
Website | gparted.sourceforge.io gparted.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, resizing, 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).
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.
Apr 13, 2021 GParted is a free partition manager developed to help you graphically manage your disk partitions. Using this utility app, you can resize, copy, and move partitions without data loss. This will enable you to grow or shrink your drive and create space for new operating systems.
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.[3][4] The operating system is based on Debian. GParted is also available on other Linux live CDs, including recent versions of Puppy, Knoppix, SystemRescueCd 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.[5]
Detect | Read | Create | Grow | Shrink | Move | Copy | Check | Label | UUID | |
---|---|---|---|---|---|---|---|---|---|---|
BitLocker | Yes | No | No | No | No | No | No | No | No | No |
Btrfs | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
crypt / LUKS[6] | Yes | Yes | No | Yes | Yes | Yes | Yes | No | No | No |
exFAT[7] | Yes | No | Yes | No | No | Yes | Yes | Yes | Yes | No |
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 | No | No | 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 | No | No | 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.[8]
See also[edit]
References[edit]
- ^'GParted 1.3.0'. 3 May 2021. Retrieved 7 May 2021.
- ^http://www.ohloh.net/p/32097
- ^'Gparted Live CD'. Retrieved 6 April 2013.
- ^A quick look at the GParted live CD | Linux.com | The source of Linux information
- ^'GParted Features'. Retrieved 2018-03-21.
- ^GParted — News Item 207
- ^GParted News Item 236
- ^'Gparted Manual: Copying and Pasting a Partition'.
External links[edit]
Wikimedia Commons has media related to GParted. |
- GParted at DistroWatch
- Official website on SourceForge
‘gparted’ is the graphical version of ‘parted’ and is the tool to use to resize the main partition used for raspbian (or you could use use parted if you prefer the command line of course!). It can also be used to check and repair a SD card disk.
To do this you’ll need to put the SD card you want to work on in a USB to SD card adaptor and boot your RPi from a separate SD card. If you’d rather use a windows tool we’ve found that gparted just works whereas all of the windows based partition managers we tried don’t, so better to just get over the hassle factor and use the RPi to do this if you don’t have a separate Linux system.
Installing gparted on the separate Raspbian SD card that will perform the change
From the command line use:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install gparted
Running gparted
To run it use ‘sudo startx’ to load the GUI as gparted needs root user privileges
Then from the start menu select run and enter ‘gparted’
Resizing Your Main Partition
From the top bar devices drop down select “dev/sda” (or whatever your external USB adaptor has been called).
Right click somewhere on the graphic and select ‘unmount’ first as operations can’t be carried out on a mounted partition.
Gparted Mac
Right click the main ‘ext4’ partition and select ‘check’, then click the green tick and let it check the partition for you (this isn’t essential but its a good idea as if there are issues it will likely cause the resize to fail).
Right click the main ‘ext4’ partition and select ‘resize’ then enter the new size you want it to be.
Right click the main ‘ext4’ partition and select ‘check’ (we’ve found this to be necessary to ensure the new partition size is correctly updated in the file system even though it should be done as part of the resize – kept us chasing constantly failed resizes for hours before we discovered this).
Finally click the green arrow button to carry out the changes.
Reboot the RPi (yep its stupid but we’ve found a reboot to be needed even after removing and re-inserting the SD card), sudo startx, run gparted, select the USB drive and check the ext4 partition is locked again (mounted) and has its boot string back.