write a new boot sector to the partition c