FREE: GParted – Partition manager for Windows and Linux

By Alexander Weiss - Mon, August 24, 2009 - 3 comments

Alexander Weiß currently heads up an IT department, and my main interests include IT governance, cloud computing and IT architecture. Read my blog about Amazon cloud computing.

Contents of this article
  1. GParted

Gparted File System SupportEvery once in a while you need to repartition your hard drive; the tools shipped with Windows are sufficient for most of these occasions. Sometimes, however, even Diskpart lacks important features — especially if you have to deal with mixed partition types. Moreover, although there is specialized software for Windows, it is usually not free.

There are various partition tools for Linux. One of these is GParted. If you think that GParted is only capable of dealing with Linux file systems, you may be surprised to read that every option that it offers is also available for NTFS. GParted can detect, read, create, grow, shrink, move, copy, check and label almost every file system. The screenshot below gives you an overview of all supported file systems and functions.

You can download an ISO image of GParted Live from the GParted Homepage. If you intend to use it in other than virtual machines, you must burn the ISO on a CD first because you will have to boot from the CD. I usually use the tool ISO Recorder since this utility is small, easy to install, and is integrated in Windows Explorer.

You can also boot from a USB stick; however, this is more difficult than using a CD. You can find a step-to-step tutorial for booting Gparted from a USB here.

If you do not have a full backup of your data, make one before you begin the partitioning. Fiddling with partitions always comes with the risk of losing data. After you have backed up your system, insert the Gparted CD and restart the computer.

Once Linux is booted, the GParted user interface – with buttons for taking a screenshot, starting a terminal session, changing the screen resolution, or exiting the OS beside the main window — will be waiting for your input. .

Gparted Parition Scheme

You will see the partition scheme of your primary hard disk in GParted’s main window. To change the drive, use the drop down menu in the right top corner. You have access to most of the application‘s functions through the toolbar.

Additional information such as the model, the size and the disk label type of the selected hard drive can be displayed if you choose the Option „Device Information“ under the Menu View.

If you want to move partitions from one drive to another, select the drive first and then the partition. Afterwards, click on „Copy“ and then choose a destination Drive with enough space and click on the „Paste“. Be careful though: The copy is identical to the source partition, so the Universally Unique Identifier (UUID) is also the same This can cause problems if you want to mount partitions with the same UUID; you should, therefore, change the UUID.

All changes you have made will be displayed in the lower part of the GParted’s user interface. They will not be written to the disk unless you click „Apply“. Only confirm the changes if you are certain that you have a backup of your disk.

GParted logs all errors: should something go wrong, these logs are helpful to users for problem resolution in most cases. However, basic knowledge about partitions and partition tables is needed.

Gparted Pending Operations

After all pending operations have been completed successfully, double click on the „Exit“ button and choose „Reboot“ from the menu. Make sure you have removed the CD from the drive; otherwise, you will boot into Linux again.

I had no problems resizing and copying NTFS file systems, whether they were Windows Server 2008, Windows 7 or Windows XP. When I booted from the ISO image in a virtual machine on Hyper-V I, I received many error messages during the boot sequence. Once the system was up and running however, I experienced no problems.

You might get the following error message on Vista after booting: „Windows failed to start. A recent hardware or software change might be the cause.” You must use „Startup Repair“ from the Vista DVD to solve this problem,. After you have booted from the Vista DVD and launched „Startup Repair“, a dialog box will prompt you to answer the following question: „Do you want to apply repairs and restart your computer?“ If you answer „Repair and restart“, your PC will reboot and check the partition’s file system. After this everything should work flawlessly.

There is one last thing I want to mention: Due to a hardware/firmware bug, it is not recommended to run GParted on HP Pavilion machines.

GParted

Disclaimer
Your question wasn't answered? Please ask in the new 4sysops forum!

3 Comments- Leave a Reply

  1. rob_s says:

    I have Windows 7 Home Premium, I want to install Linux Mint 10. When partitioning with gparted what do I have to designate as the “file system” and being that my Windows 7 was the pre-installed operating system I believe I have to set this as the “Primary” drive however what do I set the Linux Mint 10 drive as. When I used Easeus Partition the other choice was “Logical”, however please note I’m not sure if this “logical” applies here as this will be the first time I will be doing a dual boot system, that is Windows 7 Home Premium and Linux Mint 10 [Julia Edition]. Thank you,

  2. Alexander Weiß says:

    I don’t know if Linux Mint can boot from a logical drive, so I would suggest setting the Linux drive to “Primary”, too. The amount of “Primary” partitions is limited to max. four, or three Primary and one Extended Partition. The Extended Partition contains Logical Partitions, but some OS’s (or precisely bootmanager) have problems to boot from Logical Partitions. Here you can find more infos: http://en.kioskea.net/contents/repar/partitio.php3.

Please share your thoughts in a comment!

Login

Lost your password?