partresize: resize partition before c,h,s changes.