fix boot device flags in boot sector param.