How to keep a pre-install script partition scheme?