added setting of the boot flag to first partition