branched parts of partition into poststage.sh, for use after downloading and extracting the stage file

Signed-off-by: Alexander Skjolden <alex@plastboks.net>