+ updateMBR = 1;
+ vlog("set MBR partition 1 active flag enabled\n");
+ }
+
+ if (MBR.BootCode[0x190] != 0x56 || MBR.BootCode[0x191] != 0x54)
+ {
+ vlog("set VT data %02x %02x\n", MBR.BootCode[0x190], MBR.BootCode[0x191]);
+ MBR.BootCode[0x190] = 0x56;
+ MBR.BootCode[0x191] = 0x54;
+ updateMBR = 1;
+ }
+
+ if (updateMBR)
+ {