parted has a resize subcommand. If you want to resize the root partition, you should boot the installation CD, since it is not safe to resize a partition while it is mounted. Also, after the partition has been resized, you should execute resize2fs to inform the file system of the new file system size. Finally, make sure you back up your data in case something goes wrong.
|