From 3f86696f00bd5054a73d3eb9246f871f26e4d477 Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Mon, 20 May 2024 12:35:45 +0100 Subject: [PATCH] Add GPT partition support People creating the media through File System Transposition [1] rather than DD copy may end up with a media that uses a GPT partition table rather than MBR. So add GPT support to GRUB, as a low cost beneficial change. For reference, File System Transposition is the default method used by Rufus and other utilities for creating bootable media from an ISO, and it allows users to select GPT instead over MBR, in which case memtest86+ will not boot. [1] https://lists.gnu.org/archive/html/grub-devel/2022-06/msg00024.html --- build32/Makefile | 2 +- build64/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build32/Makefile b/build32/Makefile index db86418..3033a05 100644 --- a/build32/Makefile +++ b/build32/Makefile @@ -228,7 +228,7 @@ GRUB_LIB_DIR ?= /usr/lib/grub GRUB_MKIMAGE := $(shell command -v grub2-mkimage || command -v grub-mkimage) -GRUB_MODULES = iso9660 fat part_msdos all_video font gfxterm gfxmenu \ +GRUB_MODULES = iso9660 fat part_msdos part_gpt all_video font gfxterm gfxmenu \ boot chain configfile echo ls grub-eltorito.img: diff --git a/build64/Makefile b/build64/Makefile index 5f8923c..8e2d259 100644 --- a/build64/Makefile +++ b/build64/Makefile @@ -227,7 +227,7 @@ GRUB_LIB_DIR ?= /usr/lib/grub GRUB_MKIMAGE := $(shell command -v grub2-mkimage || command -v grub-mkimage) -GRUB_MODULES = iso9660 fat part_msdos all_video font gfxterm gfxmenu \ +GRUB_MODULES = iso9660 fat part_msdos part_gpt all_video font gfxterm gfxmenu \ boot chain configfile echo ls grub-eltorito.img: