I did the opposite. I could only get a 2GB CF. I imaged it as usual, then plugged it into a card reader on one of my SuSE boxes and used the partition tool there to expand the partition. I now have 1.4GB for profile / log storage instead of 400MB.
The same should certainly work in reverse. Use your Linux distro’s partition tools to shrink/grow the partition.