From cb97931478066618ae2236d6af90a3c960a177bb Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Fri, 29 Aug 2014 14:05:22 -0700 Subject: [PATCH] disk_layout: replace unused "BOOT-B" with Grub's BIOS Boot Partition Unlike SYSLINUX, GRUB2 does not recommend embedding itself in a FAT filesystem. Instead GRUB2 prefers embedding in the space between the MBR and first partition or using a dedicated partition that is safe from tampering by fs utilities. In our case the space after the MBR is where the GPT lives so we need to use the extra partition scheme instead. The 64MB "BOOT-B" partition has never been used so we can replace it with a 2MB partition which is more than enough for GRUB. --- build_library/disk_layout.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build_library/disk_layout.json b/build_library/disk_layout.json index 1649b3ae30..de27813a09 100644 --- a/build_library/disk_layout.json +++ b/build_library/disk_layout.json @@ -16,9 +16,9 @@ "features": ["syslinux"] }, "2":{ - "label":"BOOT-B", - "type":"coreos-reserved", - "blocks":"131072" + "label":"BIOS-BOOT", + "type":"bios", + "blocks":"4096" }, "3":{ "label":"USR-A",