From 597475b65fd75a8a0b98b3668661f0f1a6e2754e Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Wed, 28 Oct 2009 20:51:11 +0100 Subject: [PATCH] disklib: Adding new grub2 mbr magic Impact: Detecting newer release of Grub2 Newer releases of grub2 have a eb63 signature --- com32/gpllib/disk/mbrs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/com32/gpllib/disk/mbrs.c b/com32/gpllib/disk/mbrs.c index 6719d8d..808fb78 100644 --- a/com32/gpllib/disk/mbrs.c +++ b/com32/gpllib/disk/mbrs.c @@ -39,6 +39,7 @@ void get_mbr_string(const uint32_t label, char* buffer, const int buffer_size) case 0xea1e: strncpy(buffer, "Truecrypt Boot Loader", buffer_size - 1); break; case 0xeb04: strncpy(buffer, "Solaris", buffer_size - 1); break; case 0xeb48: strncpy(buffer, "Grub", buffer_size - 1); break; + case 0xeb63: case 0xeb4c: strncpy(buffer, "Grub2", buffer_size - 1); break; case 0xeb5e: strncpy(buffer, "Grub4Dos", buffer_size - 1); break; case 0xfa31: -- 2.7.4