GPartEd – Free and Open Source Disk Partitioner

Posted on July 1, 2009. Filed under: Uncategorized | Tags: , , , |

GPartEd Main Window

GPartEd (http://gparted.sourceforge.net) is a free and open source software tool that does disk partitioning like its commercial counterpart, PartitionMagic. Although GPartEd is cursed with a boring name, it is nevertheless a superstar product with both looks and brains. (For the looks, see http://gparted.sourceforge.net/screenshots.php.) The name GPartEd is an abbreviation for Gnome Partition Editor.

Although I have not done any thorough or systematic comparison of GPartEd and PartitionMagic, I can say that I have successfully used GPartEd for some nontrivial partition schemes, and it worked beautifully.

GPartEd runs natively on Linux, but if you are using other operating systems such as Windows or OS X, you can put it on a bootable medium such as a CD or USB drive and boot from that medium. More information on this is at http://gparted.sourceforge.net/livecd.php.

When the bootable medium starts up, it boots Linux, but you don’t need to care about that — it’s got an attractive and intuitive GUI. It’s aware of a multitude of partition types, including types used by Windows, OS X, Linux, and Solaris, so it’s not likely that the one you want will be missing. You can see all the supported partition types at http://gparted.sourceforge.net/features.php.

Using GPartEd to Add an Operating System to Your Drive

My recent need for GPartEd was to add Linux to a Windows laptop. The result is that I’m writing this on that laptop, running Ubuntu Linux 9.04. The laptop’s hard drive came with a single huge Windows partition and a small recovery partition. Using GPartEd, I shrunk the Windows partition and created several ext4 and swap partitions for the Linux install.

The Ubuntu installation writes the Grub boot loader to the boot sector of your drive. When your system starts up, Grub presents a menu, and you can select which operating system you would like to boot.

Although I used it to have Linux and Windows share the same drive, you could have any combination of operating systems. This could be a way to try out a new OS (e.g. Windows 7 or a new Linux distro) without totally committing to it. Since Macs are now Intel based, GPartEd should work fine on a Mac, and you could boot OS X, Linux, or Windows from different partitions on the same drive. The only caveat is that you need to install a boot loader to enable you to select which OS to load when the system boots up. Most Linux installations will do this for you automatically.

Another handy use of GPartEd is to create a partition for data that can be shared by multiple OS’s on the drive. For example, you may have documents, photos, and/or music files that you want to access regardless of which OS you boot. All you need to do is to create the partition in a format recognized by all the OS’s on your system. I use fat32 for this.

GPartEd is just one of a multitude of free open source software products that can make our technical lives easier — and cheaper. Kudos to the developers and other contributors that made it possible.

Feel free to comment with any feedback or experiences.

– Keith

Make a Comment

Leave a reply to Keith Bennett Cancel reply

5 Responses to “GPartEd – Free and Open Source Disk Partitioner”

RSS Feed for Keith Bennett's Technical Blog Comments RSS Feed

Warning to HP Pavilion Users:

As of the time of this writing, the current stable release of GPartEd is 0.4.5-2.

There is a warning on http://gparted.sourceforge.net/livecd.php that says:

///WARNING/// Due to a hardware/firmware bug, it’s _NOT_ recommended to run GParted live on some types of HP Pavilion machines. Otherwise your VGA card fan might be dead. For more info, please refer to this bug report.

(Bug report link is on the page whose URL is listed above.)

– Keith

I just found out about PartEdMagic, which includes GPartEd and some other useful tools. I haven’t checked it out yet, but if you’re going to go to the trouble to create a CD, it seems like it would make sense to do it with PartEdMagic instead. Here’s their web site:

http://partedmagic.com/

– Keith

Keith, I’ve actually looked at this before I think. Not sure what I ended up using. Looks like a good utility.

I just experienced the first failure with GPartEd. I was modifying the partitions of a new Dell laptop. There was a failure along the way, and when I rebooted, the boot sector was hosed, and the partition information was lost, so I could not boot to the operating system originally installed. The recovery partition was also unavailable.

There’s probably a simple way to restore a boot partition, but I don’t know offhand what that is.

In any case, I was not very enamored of that laptop. Fortunately I had purchased it from Costco. Costco allows you to return a computer within 90 days of purchase for a full refund (even the shipping charges) for any reason.

– Keith

Valuable Article. Thanks for sharing. :)


Where's The Comment Form?

Liked it here?
Why not try sites on the blogroll...