aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gpllib
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-10-28 20:51:11 +0100
committerErwan Velu <erwan.velu@free.fr>2009-10-28 20:51:11 +0100
commit597475b65fd75a8a0b98b3668661f0f1a6e2754e (patch)
tree26256fa2e3f366fbf207a27ca36a149ea620aa53 /com32/gpllib
parent8551c77556c3b1d04c64221a2150d72ef910cc12 (diff)
downloadsyslinux-597475b65fd75a8a0b98b3668661f0f1a6e2754e.tar.gz
syslinux-597475b65fd75a8a0b98b3668661f0f1a6e2754e.tar.xz
syslinux-597475b65fd75a8a0b98b3668661f0f1a6e2754e.zip
disklib: Adding new grub2 mbr magic
Impact: Detecting newer release of Grub2 Newer releases of grub2 have a eb63 signature
Diffstat (limited to 'com32/gpllib')
-rw-r--r--com32/gpllib/disk/mbrs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/gpllib/disk/mbrs.c b/com32/gpllib/disk/mbrs.c
index 6719d8de..808fb78a 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: