:: commit bd539ab8694dbc03dcd34f40d8b88907bf7ce2ea

programmerlexi <60185691+truemaker@users.noreply.github.com> — 2024-06-29 14:17

parents: 581849a9a1

host/limine: Fix limine not booting on some hardware (#378)

diff --git a/host/limine.c b/host/limine.c
index 6f7a2e95..5bb60c32 100644
--- a/host/limine.c
+++ b/host/limine.c
@@ -824,14 +824,6 @@ static int bios_install(int argc, char *argv[]) {
         }
     }
 
-    if (gpt) {
-        if (!quiet) {
-            fprintf(stderr, "Marking protective MBR wrapper partition as active...\n");
-        }
-        uint8_t hint8 = 0x80;
-        device_write(&hint8, 446, sizeof(uint8_t));
-    }
-
     if (gpt == 0 && mbr == 0) {
         fprintf(stderr, "error: Could not determine if the device has a valid partition table.\n");
         fprintf(stderr, "       Please ensure the device has a valid MBR or GPT.\n");
tab: 248 wrap: offon