How to Resize a Partition using Gparted on Linux?
You have a partition and you want to enlarge or reduce it without losing data?
It is possible and relatively easy with GParted, a LiveCD, ie a bootable CD, providing an interface equivalent to Partition Magic.
To use:
- Download GParted
- Download InfraRecorder, a software to burn the ISO image of GParted on a blank CD
- Restart the computer by putting the CD into the drive. (Please ensure that your BIOS is properly configured to boot from CD-ROM: change the boot sequence BIOS)
- When prompted, choose to ignore the boot options, unless you want to declare a specific device:
Then, choose the resolution:
- Gparted should then launch and display a screen showing disks and partitions:
- Click to repartition the disk (/dev/hda1 is usually the first IDE drive, /dev/hda2 for the second. /Dev/sda1 is the first SCSI or Serial-ATA, /dev/sda2 in the second, etc.)..
Then click "Resize":
A window then prompts you to resize the partition:
When the changes you agree, click "Apply." Attention at this stage, it will be impossible to reverse. So you should let the transaction be completed until the end if you do not lose data!