Now resizing the partitions without losing data is possible, But you have to move carefully.
First shrink your filesystem. check man resize2fs for ext2/3/4 and man resize_reiserfs. they are pretty simple to use but live resize may not be supported on your system, though
Code:
fsck -f $PARTITION
resize2fs -p $PARTITION 27G
First run fsck and then resize2fs to 27G
after that use parted to resize partition with size 27G. Thick here is that new partition's starting point must be same as old partition. Take a note if you need to. If in doubt, post your commands before running here first.