set up partition