bootsect: set memory layout and copy itself.