Use the program "QTParted", kind of the equivalent Windows' Partition Magic in Linux. It is availavle in most Knoppix-based variants like Knoppix itself or Kanotix. Think there is a direct equivalent too but I haven't used it to confirm.
In Linux it is straight forward to copy a partition and preserve all its setting using the tar command, without relying on any of the resizing programs except the basic Bash shell commands. It isn't the most elegant but that is what we can do with Linux terminal commands. It is bommb proof too.
If I have a bootable partition hda7 and want to increase it size I would do the following
(1) Make a temporary partition on say another disk hdb2 of same type and size as hda7, no need to format or mount.
(2) Using just a Livecd CD to clone hda7 into hdb2 by
Code:
dd if=/dev/hda7 of=/dev/hdb2 bs=32768
(3) I then delete hda7 and re-create it again to any size I want using the cfdisk program off the Live CD.
(4) I reboot (just a good practice after altering the partition table) with the Live CD, format hda7 to the original format ( so that it can be mounted for read/write) and mount both hda7 and hdb2 on /tmp directory using command "mount /dev/hda7 /mnt/hda7" etc.
(5) I then tar the hdb2 into hda7 by change directory to hdb2 first
Code:
cd /tmp/hdb2
tar cf - . | (cd /mnt/hda7; tar xf -)
The above compresses everything in hdb2 into one file and uncommpresses it on changing directory to /mnt/hda7. I got a kick out of doing it every time because it is so simple and yet so powerful.
(6) The new hda7 will not boot because the boot loader address in the hard disk will have been altered and so I must restore the boot loader again using either of the two sets of commands depending on the boot loader being Lilo or Grub respectively
Code:
chroot /tmp/hda7
lilo -b /dev/hda
exit
or
Code:
chroot /tmp/hda7
grub-install /dev/hda
exit
The following will restore the bootloader of whatever in hda7 into the MBR of hda. The new hda7 will boot and work exactly as the original but in the new partition size of your choice.