1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00
rufus/res/grub
Pete Batard e987272287
[grub] update GRUB 2.04 core.img for Ubuntu 20.10 support
* GRUB have cherry-picked patches from the "BootHole" vulnerability fix at
  https://lists.gnu.org/archive/html/grub-devel/2020-07/msg00034.html and
  have applied them to their 2.04 GRUB loader.
* This results in breakage with "error: symbol 'grub_calloc' not found" when
  using the release GRUB 2.04 version of core.img.
* Therefore, we too cherry-picked some patches to apply on top of GRUB 2.04
  release to make our core.img compatible with Ubuntu 20.10.
* Closes #1616
* Also increase the maximum write stride for ms-sys to 64 KB (required to
  write the GRUB 2.05 bootloader which is larger than 32 KB) and update hash DB.
2020-09-16 13:59:06 +01:00
..
grldr.mbr [grub] update grub4dos to latest and add db entry for grub 2.03 2017-11-02 12:49:05 +00:00
grub_version.h [grub] update Grub4DOS to 0.4.6a 2015-02-16 22:29:23 +00:00
readme.txt [grub] update GRUB 2.04 core.img for Ubuntu 20.10 support 2020-09-16 13:59:06 +01:00

This directory contains the Grub4DOS boot records that are used by Rufus

* grldr.mbr was taken from the official 2020.08.09 release from
  http://grub4dos.chenall.net/downloads/grub4dos-0.4.6a-2020-08-09/

* Note that, for convenience reasons, the first 512 bytes from this grldr.mbr are
  *not* the ones that Rufus processes when writing the actual MBR (first 512 bytes).
  Instead, the byte array from src/ms-sys/inc/mbr_grub.h (whose content is identical)
  is what Rufus uses. If you have modified this file, and the MBR section is altered,
  be mindful that you also need to update the array in mbr_grub.h.

* For details, see src/format.c, src/msys/br.c and src/msys/inc/mbr_grub.h.