No description
Find a file
Javier Martinez Canillas 4cf8c08cf7
Enable tpm module and make system to boot even if TPM measurements fail
Since GRUB 2.04 there is support for TPM measurements in a tpm module that
uses the verifiers framework. So this is used now instead of the previous
downstream patches that we were carrying.

But we forgot to enable this module when rebasing to 2.04 which leads to
GRUB no longer measuring the kernel, initrd and command line parameters.

One side effect of using the verifiers framework is that if measurements
fail, GRUB won't be able to open the files since the errors from the tpm
module are propagated. This means that a firmware with a buggy tpm support
will prevent the machine to boot, which was not the case with the previous
downstream patches. Don't propagate the measurement errors to prevent this.

Resolves: rhbz#1836433

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2020-05-18 10:19:45 +02:00
.git.diff.order Add .git.diff.order file 2018-05-14 15:23:31 -04:00
.gitattributes Make a "do-rebase" script we can use when we've rebased the github repo. 2016-03-04 13:28:38 -05:00
.gitignore Update to grub 2.04 2019-08-15 08:04:53 +02:00
0001-Add-support-for-Linux-EFI-stub-loading.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0002-Rework-linux-command.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0003-Rework-linux16-command.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0004-Add-secureboot-support-on-efi-chainloader.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0005-Make-any-of-the-loaders-that-link-in-efi-mode-honor-.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0006-Handle-multi-arch-64-on-32-boot-in-linuxefi-loader.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0007-re-write-.gitignore.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0008-IBM-client-architecture-CAS-reboot-support.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0009-for-ppc-reset-console-display-attr-when-clear-screen.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0010-Disable-GRUB-video-support-for-IBM-power-machines.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0011-Honor-a-symlink-when-generating-configuration-by-gru.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0012-Move-bash-completion-script-922997.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0013-Update-to-minilzo-2.08.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0014-Allow-fallback-to-include-entries-by-title-not-just-.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0015-Add-GRUB_DISABLE_UUID.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0016-Make-exit-take-a-return-code.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0017-Mark-po-exclude.pot-as-binary-so-git-won-t-try-to-di.patch Roll upstream's patches into one big patch here. 2018-07-31 10:57:52 -04:00
0018-Make-efi-machines-load-an-env-block-from-a-variable.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0019-DHCP-client-ID-and-UUID-options-added.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0020-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
20-grub.install Store cmdline in BLS snippets instead of using a grubenv variable 2020-05-13 20:03:20 +02:00
0021-Add-support-for-UEFI-operating-systems-returned-by-o.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0022-Migrate-PPC-from-Yaboot-to-Grub2.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0023-Add-fw_path-variable-revised.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0024-Pass-x-hex-hex-straight-through-unmolested.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0025-Add-X-option-to-printf-functions.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0026-Search-for-specific-config-file-for-netboot.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0027-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0028-Add-devicetree-loading.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0029-Don-t-write-messages-to-the-screen.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0030-Don-t-print-GNU-GRUB-header.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0031-Don-t-add-to-highlighted-row.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0032-Message-string-cleanups.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0033-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0034-Use-the-correct-indentation-for-the-term-help-text.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0035-Indent-menu-entries.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0036-Fix-margins.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0037-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0038-Enable-pager-by-default.-985860.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0039-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0040-Don-t-say-GNU-Linux-in-generated-menus.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0041-Don-t-draw-a-border-around-the-menu.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0042-Use-the-standard-margin-for-the-timeout-string.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0043-Add-.eh_frame-to-list-of-relocations-stripped.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0044-Don-t-munge-raw-spaces-when-we-re-doing-our-cmdline-.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0045-Don-t-require-a-password-to-boot-entries-generated-b.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0046-Don-t-emit-Booting-.-message.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0047-Replace-a-lot-of-man-pages-with-slightly-nicer-ones.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0048-use-fw_path-prefix-when-fallback-searching-for-grub-.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0049-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0050-Fix-convert-function-to-support-NVMe-devices.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0051-Add-grub_util_readlink.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0052-Make-editenv-chase-symlinks-including-those-across-d.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0053-Generate-OS-and-CLASS-in-10_linux-from-etc-os-releas.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0054-Minimize-the-sort-ordering-for-.debug-and-rescue-ker.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0055-Try-prefix-if-fw_path-doesn-t-work.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0056-Update-info-with-grub.cfg-netboot-selection-order-11.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0057-Use-Distribution-Package-Sort-for-grub2-mkconfig-112.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0058-Handle-rssd-storage-devices.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0059-Make-grub2-mkconfig-construct-titles-that-look-like-.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0060-Add-friendly-grub2-password-config-tool-985962.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0061-tcp-add-window-scaling-support.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0062-Fix-security-issue-when-reading-username-and-passwor.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0063-Add-a-url-parser.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0064-efinet-and-bootp-add-support-for-dhcpv6.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0065-Add-grub-get-kernel-settings-and-use-it-in-10_linux.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0066-Normalize-slashes-in-tftp-paths.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0067-bz1374141-fix-incorrect-mask-for-ppc64.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0068-Make-grub_fatal-also-backtrace.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0069-Fix-up-some-man-pages-rpmdiff-noticed.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0070-arm64-make-sure-fdt-has-address-cells-and-size-cells.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0071-Make-our-info-pages-say-grub2-where-appropriate.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0072-print-more-debug-info-in-our-module-loader.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0073-macos-just-build-chainloader-entries-don-t-try-any-x.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0074-grub2-btrfs-Add-ability-to-boot-from-subvolumes.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0075-export-btrfs_subvol-and-btrfs_subvolid.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0076-grub2-btrfs-03-follow_default.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0077-grub2-btrfs-04-grub2-install.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0078-grub2-btrfs-05-grub2-mkconfig.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0079-grub2-btrfs-06-subvol-mount.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0080-Fallback-to-old-subvol-name-scheme-to-support-old-sn.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0081-Grub-not-working-correctly-with-btrfs-snapshots-bsc-.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0082-Add-grub_efi_allocate_pool-and-grub_efi_free_pool-wr.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0083-Use-grub_efi_.-memory-helpers-where-reasonable.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0084-Add-PRIxGRUB_EFI_STATUS-and-use-it.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0085-Don-t-use-dynamic-sized-arrays-since-we-don-t-build-.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0086-don-t-ignore-const.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0087-don-t-use-int-for-efi-status.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0088-make-GRUB_MOD_INIT-declare-its-function-prototypes.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0089-editenv-handle-relative-symlinks.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0090-Make-libgrub.pp-depend-on-config-util.h.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0091-Don-t-guess-boot-efi-as-HFS-on-ppc-machines-in-grub-.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0092-20_linux_xen-load-xen-or-multiboot-2-modules-as-need.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0093-Make-pmtimer-tsc-calibration-not-take-51-seconds-to-.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0094-align-struct-efi_variable-better.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0095-Add-BLS-support-to-grub-mkconfig.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0096-Don-t-attempt-to-backtrace-on-grub_abort-for-grub-em.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0097-Add-linux-and-initrd-commands-for-grub-emu.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0098-Add-grub2-switch-to-blscfg.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0099-Add-grub_debug_enabled.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
99-grub-mkconfig.install Fix bugs in the blscfg module and in the 10_linux script for ppc64le 2020-04-30 15:55:52 +02:00
0100-make-better-backtraces.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0101-normal-don-t-draw-our-startup-message-if-debug-is-se.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0102-Work-around-some-minor-include-path-weirdnesses.patch Cleanup our patchset to reduce the number of patches 2019-07-16 12:30:06 +02:00
0103-Make-it-possible-to-enabled-build-id-sha1.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0104-Add-grub_qdprintf-grub_dprintf-without-the-file-line.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0105-Make-a-gdb-dprintf-that-tells-us-load-addresses.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0106-Fixup-for-newer-compiler.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0107-Don-t-attempt-to-export-the-start-and-_start-symbols.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0108-Fixup-for-newer-compiler.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0109-Add-support-for-non-Ethernet-network-cards.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0110-misc-fix-invalid-character-recongition-in-strto-l.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0111-net-read-bracketed-ipv6-addrs-and-port-numbers.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0112-bootp-New-net_bootp6-command.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0113-efinet-UEFI-IPv6-PXE-support.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0114-grub.texi-Add-net_bootp6-doument.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0115-bootp-Add-processing-DHCPACK-packet-from-HTTP-Boot.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0116-efinet-Setting-network-from-UEFI-device-path.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0117-efinet-Setting-DNS-server-from-UEFI-protocol.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0118-Fix-one-more-coverity-complaint.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0119-Support-UEFI-networking-protocols.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0120-AUDIT-0-http-boot-tracker-bug.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0121-grub-core-video-efi_gop.c-Add-support-for-BLT_ONLY-a.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0122-efi-uga-use-64-bit-for-fb_base.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0123-EFI-console-Do-not-set-text-mode-until-we-actually-n.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0124-EFI-console-Add-grub_console_read_key_stroke-helper-.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0125-EFI-console-Implement-getkeystatus-support.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0126-Make-grub_getkeystatus-helper-funtion-available-ever.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0127-Accept-ESC-F8-and-holding-SHIFT-as-user-interrupt-ke.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0128-grub-editenv-Add-incr-command-to-increment-integer-v.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0129-Add-auto-hide-menu-support.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0130-Output-a-menu-entry-for-firmware-setup-on-UEFI-FastB.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0131-Add-grub-set-bootflag-utility.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0132-docs-Add-grub-boot-indeterminate.service-example.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0133-gentpl-add-disable-support.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0134-gentpl-add-pc-firmware-type.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0135-efinet-also-use-the-firmware-acceleration-for-http.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0136-efi-http-Make-root_url-reflect-the-protocol-hostname.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0137-Make-it-so-we-can-tell-configure-which-cflags-utils-.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0138-module-verifier-make-it-possible-to-run-checkers-on-.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0139-Rework-how-the-fdt-command-builds.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0140-Disable-non-wordsize-allocations-on-arm.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0141-strip-R-.note.gnu.property-at-more-places.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0142-Prepend-prefix-when-HTTP-path-is-relative.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0143-Make-linux_arm_kernel_header.hdr_offset-be-at-the-ri.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0144-Make-grub_error-more-verbose.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0145-Make-reset-an-alias-for-the-reboot-command.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0146-EFI-more-debug-output-on-GOP-and-UGA-probing.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0147-Add-a-version-command.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0148-Add-more-dprintf-and-nerf-dprintf-in-script.c.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0149-arm-arm64-loader-Better-memory-allocation-and-error-.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0150-Try-to-pick-better-locations-for-kernel-and-initrd.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0151-Attempt-to-fix-up-all-the-places-Wsign-compare-error.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0152-Don-t-use-Wno-sign-compare-Wno-conversion-Wno-error-.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0153-x86-efi-Use-bounce-buffers-for-reading-to-addresses-.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0154-x86-efi-Re-arrange-grub_cmd_linux-a-little-bit.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0155-x86-efi-Make-our-own-allocator-for-kernel-stuff.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0156-x86-efi-Allow-initrd-params-cmdline-allocations-abov.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0157-Fix-getroot.c-s-trampolines.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0158-Do-not-allow-stack-trampolines-anywhere.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0159-Reimplement-boot_counter.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0160-Make-grub_strtol-end-pointers-have-safer-const-quali.patch Fix for entries having an empty initrd command and HTTP boot issues 2020-03-17 19:04:44 +01:00
0161-Fix-menu-entry-selection-based-on-ID-and-title.patch Fix for entries having an empty initrd command and HTTP boot issues 2020-03-17 19:04:44 +01:00
0162-Make-the-menu-entry-users-option-argument-to-be-opti.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0163-Add-efi-export-env-and-efi-load-env-commands.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0164-Make-it-possible-to-subtract-conditions-from-debug.patch Fix for entries having an empty initrd command and HTTP boot issues 2020-03-17 19:04:44 +01:00
0165-Export-all-variables-from-the-initial-context-when-c.patch Fix for entries having an empty initrd command and HTTP boot issues 2020-03-17 19:04:44 +01:00
0166-Fix-the-looking-up-grub.cfg-XXX-while-tftp-booting.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0167-Try-to-set-fPIE-and-friends-on-libgnu.a.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0168-Don-t-make-grub_strtoull-print-an-error-if-no-conver.patch Fix for entries having an empty initrd command and HTTP boot issues 2020-03-17 19:04:44 +01:00
0169-Fix-the-type-of-grub_efi_status_t.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0170-grub.d-Split-out-boot-success-reset-from-menu-auto-h.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0171-Fix-systemctl-kexec-exit-status-check.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0172-Print-grub-emu-linux-loader-messages-as-debug.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0173-Don-t-assume-that-boot-commands-will-only-return-on-.patch Fix for entries having an empty initrd command and HTTP boot issues 2020-03-17 19:04:44 +01:00
0174-Fix-undefined-references-for-fdt-when-building-with-.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0175-Do-better-in-bootstrap.conf.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0176-Use-git-to-apply-gnulib-patches.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0177-autogen.sh-use-find-wholename-for-long-path-matches.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0178-bootstrap.conf-don-t-clobber-AM_CFLAGS-here.patch Update to grub 2.04 2019-08-15 08:04:53 +02:00
0179-Fix-build-error-with-the-fdt-module-on-risc-v.patch Add BLS devicetree support and a couple of RISC-V fixes 2019-09-18 10:01:25 +02:00
0180-RISC-V-Fix-computation-of-pc-relative-relocation-off.patch Add BLS devicetree support and a couple of RISC-V fixes 2019-09-18 10:01:25 +02:00
0181-blscfg-Add-support-for-the-devicetree-field.patch Add BLS devicetree support and a couple of RISC-V fixes 2019-09-18 10:01:25 +02:00
0182-Set-a-devicetree-var-in-a-BLS-config-if-GRUB_DEFAULT.patch Add BLS devicetree support and a couple of RISC-V fixes 2019-09-18 10:01:25 +02:00
0183-Don-t-add-a-class-option-to-menu-entries-generated-f.patch Some BLS cleanups and fixes 2019-10-17 13:41:17 +02:00
0184-10_linux.in-Also-use-GRUB_CMDLINE_LINUX_DEFAULT-to-s.patch Some BLS cleanups and fixes 2019-10-17 13:41:17 +02:00
0185-blscfg-Don-t-hardcode-an-env-var-as-fallback-for-the.patch Some BLS cleanups and fixes 2019-10-17 13:41:17 +02:00
0186-grub-set-bootflag-Update-comment-about-running-as-ro.patch grub-set-bootflag: Write new env to tmpfile and then rename 2019-11-26 11:43:57 +01:00
0187-grub-set-bootflag-Write-new-env-to-tmpfile-and-then-.patch grub-set-bootflag: Write new env to tmpfile and then rename 2019-11-26 11:43:57 +01:00
0188-blscfg-add-a-space-char-when-appending-fields-for-va.patch A couple BLS fixes and various grub2 cleanups 2019-12-05 17:21:27 +01:00
0189-grub.d-Fix-boot_indeterminate-getting-set-on-boot_su.patch Fix a grub hidden-menu regression and a bug in blscfg variable expansion 2019-11-27 12:12:44 +01:00
0190-blscfg-Add-support-for-sorting-the-plus-higher-than-.patch A couple BLS fixes and various grub2 cleanups 2019-12-05 17:21:27 +01:00
0191-Fix-savedefault-with-blscfg.patch Make blscfg to support the GRUB_SAVEDEFAULT option 2020-01-13 19:54:14 +01:00
0192-Also-define-GRUB_EFI_MAX_ALLOCATION_ADDRESS-for-RISC.patch A bunch of RISC-V build fixes and some cleanups 2020-01-16 16:01:15 +01:00
0193-chainloader-Define-machine-types-for-RISC-V.patch A bunch of RISC-V build fixes and some cleanups 2020-01-16 16:01:15 +01:00
0194-Add-start-symbol-for-RISC-V.patch A bunch of RISC-V build fixes and some cleanups 2020-01-16 16:01:15 +01:00
0195-RISC-V-Add-__clzdi2-symbol.patch A bunch of RISC-V build fixes and some cleanups 2020-01-16 16:01:15 +01:00
0196-grub-install-Define-default-platform-for-RISC-V.patch A bunch of RISC-V build fixes and some cleanups 2020-01-16 16:01:15 +01:00
0197-blscfg-Always-use-the-root-variable-to-search-for-BL.patch A bunch of RISC-V build fixes and some cleanups 2020-01-16 16:01:15 +01:00
0198-bootstrap.conf-Force-autogen.sh-to-use-python3.patch A bunch of RISC-V build fixes and some cleanups 2020-01-16 16:01:15 +01:00
0199-efi-http-Export-fw-http-_path-variables-to-make-them.patch Fix for entries having an empty initrd command and HTTP boot issues 2020-03-17 19:04:44 +01:00
0200-efi-http-Enclose-literal-IPv6-addresses-in-square-br.patch Fix for entries having an empty initrd command and HTTP boot issues 2020-03-17 19:04:44 +01:00
0201-efi-net-Allow-to-specify-a-port-number-in-addresses.patch Fix for entries having an empty initrd command and HTTP boot issues 2020-03-17 19:04:44 +01:00
0202-efi-ip4_config-Improve-check-to-detect-literal-IPv6-.patch Fix for entries having an empty initrd command and HTTP boot issues 2020-03-17 19:04:44 +01:00
0203-efi-net-Print-a-debug-message-if-parsing-the-address.patch Fix for entries having an empty initrd command and HTTP boot issues 2020-03-17 19:04:44 +01:00
0204-blscfg-return-NULL-instead-of-a-zero-length-array-in.patch Fix for entries having an empty initrd command and HTTP boot issues 2020-03-17 19:04:44 +01:00
0205-grub-switch-to-blscfg-Update-grub2-binary-in-ESP-for.patch grub-switch-to-blscfg: Update grub2 binary in ESP for OSTree systems 2020-03-26 18:30:49 +01:00
0206-grub-switch-to-blscfg-Only-mark-GRUB-as-BLS-supporte.patch Drop 10_linux_bls and avoid corner case of blsdir set with ostree 2020-04-02 14:44:30 +02:00
0207-10_linux.in-Merge-logic-from-10_linux_bls-and-drop-t.patch Drop 10_linux_bls and avoid corner case of blsdir set with ostree 2020-04-02 14:44:30 +02:00
0208-grub-switch-to-blscfg-Use-install-to-copy-GRUB-binar.patch Make the grub-switch-to-blscfg and 10_linux scripts more robust 2020-04-16 21:42:23 +02:00
0209-10_linux.in-Enable-BLS-configuration-if-new-kernel-p.patch Make the grub-switch-to-blscfg and 10_linux scripts more robust 2020-04-16 21:42:23 +02:00
0210-efi-Set-image-base-address-before-jumping-to-the-PE-.patch efi: Set image base address before jumping to the PE/COFF entry point 2020-04-23 21:35:17 +02:00
0211-blscfg-Lookup-default_kernelopts-variable-as-fallbac.patch Fix bugs in the blscfg module and in the 10_linux script for ppc64le 2020-04-30 15:55:52 +02:00
0212-10_linux.in-fix-early-exit-due-error-when-reading-pe.patch Fix bugs in the blscfg module and in the 10_linux script for ppc64le 2020-04-30 15:55:52 +02:00
0213-envblk-Fix-buffer-overrun-when-attempting-to-shrink-.patch Fix a segfault in grub2-editenv when attempting to shrink a variable 2020-05-12 20:17:50 +02:00
0214-10_linux.in-Store-cmdline-in-BLS-snippets-instead-of.patch Store cmdline in BLS snippets instead of using a grubenv variable 2020-05-13 20:03:20 +02:00
0215-10_linux.in-restore-existence-check-in-get_sorted_bl.patch Enable tpm module and make system to boot even if TPM measurements fail 2020-05-18 10:19:45 +02:00
0216-tpm-Don-t-propagate-TPM-measurement-errors-to-the-ve.patch Enable tpm module and make system to boot even if TPM measurements fail 2020-05-18 10:19:45 +02:00
bootstrap Update to grub 2.04 2019-08-15 08:04:53 +02:00
bootstrap.conf Update to grub 2.04 2019-08-15 08:04:53 +02:00
do-rebase Update to grub 2.04 2019-08-15 08:04:53 +02:00
gitignore Update to grub 2.04 2019-08-15 08:04:53 +02:00
grub.macros Enable tpm module and make system to boot even if TPM measurements fail 2020-05-18 10:19:45 +02:00
grub.patches Enable tpm module and make system to boot even if TPM measurements fail 2020-05-18 10:19:45 +02:00
grub2.spec Enable tpm module and make system to boot even if TPM measurements fail 2020-05-18 10:19:45 +02:00
Makefile Fix our linuxefi/linux comand reunion 2018-07-12 23:20:02 -04:00
noautobuild Add a noautobuild file 2020-01-21 13:34:34 -05:00
README.Fedora update README.Fedora 2012-06-01 18:28:36 +02:00
sources Update to grub 2.04 2019-08-15 08:04:53 +02:00
strtoull_test.c Rebased to grub 2.02 for fedora-27 2017-07-11 07:38:34 -04:00

Using GNU GRUB 2 in Fedora
==========================

GRUB 2 provides various feature enhancements over the previous GRUB version
(referred to as "GRUB", or "GRUB Legacy") which has been unmaintained upstream
for years. GRUB has thus been deprecated in Fedora and replaced by GRUB 2 for
BIOS systems. (EFI systems still uses GRUB Legacy from the new grub-efi package.)

Utilities
---------

The GRUB 2 utilities are prefixed with 'grub2':

grub2-bin2h
grub2-editenv
grub2-fstest
grub2-install
grub2-kbdcomp
grub2-menulst2cfg
grub2-mkconfig
grub2-mkdevicemap
grub2-mkfont
grub2-mkimage
grub2-mklayout
grub2-mknetdir
grub2-mkpasswd-pbkdf2
grub2-mkrelpath
grub2-mkrescue
grub2-probe
grub2-reboot
grub2-script-check
grub2-set-default
grub2-setup

The default location for boot loader installation is /boot/grub2/ .

GRUB 2 in Fedora
----------------

The Fedora installer (anaconda) will make sure grub2 is installed for new and
updated systems.  It will run grub2-install to install the boot loader in the
MBR and in /boot/grub2/, and it will write /etc/default/grub and run
grub2-mkconfig to create /boot/grub2/grub.cfg.

The active boot loader will not be changed when the GRUB 2 package is updated.
A new boot loader can be installed with something like:

  grub2-install /dev/sda

grubby will patch grub.cfg (through /etc/grub2.cfg) when new kernels are
installed. The GRUB 2 configuration system in /etc/default/grub and /etc/grub.d/
is thus only used initially by anaconda, but it is possible to generate a new
grub.cfg with:

  grub2-mkconfig -o /boot/grub2/grub.cfg

Documentation
-------------

The GRUB 2 manual can be found in grub.html or on
http://www.gnu.org/software/grub/manual/ .

Support channels
----------------

If you find a bug in this package, report them to the Red Hat Bugzilla [2].
For talk about using grub2, use IRC channel #grub on freenode Network [3].

[2] http://bugzilla.redhat.com/
[3] http://freenode.net/