rendered paste bodyIndex: bootloader/main-pp.c
===================================================================
--- bootloader/main-pp.c (revision 12834)
+++ bootloader/main-pp.c (working copy)
@@ -350,6 +368,10 @@
pinfo = disk_partinfo(1);
if(pinfo->type == PARTITION_TYPE_OS2_HIDDEN_C_DRIVE)
{
+ char nvram[512];
+ ata_read_sectors(pinfo->start + 0x3c08, 1, nvram);
+ nvram[0xe1] = 0;
+ ata_write_sectors(pinfo->start + 0x3c08, 1, nvram);
rc = load_mi4_part(loadbuffer, pinfo, MAX_LOADSIZE);
if (rc < EOK) {
printf("Can't load from partition");