For the procedure with REISERFS, there is a nice script written by Werner Schulz. Just do a search in this forum.
The script not only work for overlay partition (ReiserFS) but also for image file.