Go to file
Nicolas Frayer dd5f2023b0 mkconfig: More hardening to prevent overwriting grub cfg stub
Simplified os detection and remove mountpoint to accommodate
hybrid VMs

Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
2024-08-06 12:39:13 +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 unifont-13.0.06 2021-06-30 09:52:19 +02:00
20-grub.install 20-grub.install: Add variable for per-kernel devicetree setting 2024-07-02 10:29:03 +00:00
99-grub-mkconfig.install 99-grub-mkconfig: Avoid disabling BLS usage for Xen HVM VMs 2024-07-02 13:58:10 +02:00
0001-Revert-templates-Fix-user-facing-typo-with-an-incorr.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0002-Revert-templates-Properly-disable-the-os-prober-by-d.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0003-Revert-templates-Disable-the-os-prober-by-default.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0004-Rework-linux-command.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0005-Rework-linux16-command.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0006-re-write-.gitignore.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0007-IBM-client-architecture-CAS-reboot-support.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0008-for-ppc-reset-console-display-attr-when-clear-screen.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0009-Disable-GRUB-video-support-for-IBM-power-machines.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0010-Move-bash-completion-script-922997.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0011-Allow-fallback-to-include-entries-by-title-not-just-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0012-Make-exit-take-a-return-code.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0013-Make-efi-machines-load-an-env-block-from-a-variable.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0014-Migrate-PPC-from-Yaboot-to-Grub2.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0015-Add-fw_path-variable-revised.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0016-Pass-x-hex-hex-straight-through-unmolested.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0017-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0018-Add-devicetree-loading.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0019-Enable-pager-by-default.-985860.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0020-Don-t-say-GNU-Linux-in-generated-menus.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0021-Add-.eh_frame-to-list-of-relocations-stripped.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0022-Don-t-require-a-password-to-boot-entries-generated-b.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0023-use-fw_path-prefix-when-fallback-searching-for-grub-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0024-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0025-Generate-OS-and-CLASS-in-10_linux-from-etc-os-releas.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0026-Try-prefix-if-fw_path-doesn-t-work.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0027-Make-grub2-mkconfig-construct-titles-that-look-like-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0028-Add-friendly-grub2-password-config-tool-985962.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0029-tcp-add-window-scaling-support.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0030-efinet-and-bootp-add-support-for-dhcpv6.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0031-bootp-New-net_bootp6-command.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0032-Add-grub-get-kernel-settings-and-use-it-in-10_linux.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0033-Make-grub_fatal-also-backtrace.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0034-Make-our-info-pages-say-grub2-where-appropriate.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0035-macos-just-build-chainloader-entries-don-t-try-any-x.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0036-grub2-btrfs-Add-ability-to-boot-from-subvolumes.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0037-btrfs-fix-a-bad-null-check.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0038-export-btrfs_subvol-and-btrfs_subvolid.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0039-grub2-btrfs-03-follow_default.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0040-grub2-btrfs-04-grub2-install.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0041-grub2-btrfs-05-grub2-mkconfig.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0042-grub2-btrfs-06-subvol-mount.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0043-Fallback-to-old-subvol-name-scheme-to-support-old-sn.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0044-Grub-not-working-correctly-with-btrfs-snapshots-bsc-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0045-Add-grub_efi_allocate_pool-and-grub_efi_free_pool-wr.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0046-Use-grub_efi_.-memory-helpers-where-reasonable.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0047-Add-PRIxGRUB_EFI_STATUS-and-use-it.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0048-don-t-use-int-for-efi-status.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0049-make-GRUB_MOD_INIT-declare-its-function-prototypes.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0050-Don-t-guess-boot-efi-as-HFS-on-ppc-machines-in-grub-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0051-20_linux_xen-load-xen-or-multiboot-2-modules-as-need.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0052-align-struct-efi_variable-better.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0053-Add-BLS-support-to-grub-mkconfig.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0054-Don-t-attempt-to-backtrace-on-grub_abort-for-grub-em.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0055-Add-grub2-switch-to-blscfg.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0056-normal-don-t-draw-our-startup-message-if-debug-is-se.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0057-Work-around-some-minor-include-path-weirdnesses.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0058-Make-it-possible-to-enabled-build-id-sha1.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0059-make-better-backtraces.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0060-Fixup-for-newer-compiler.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0061-Don-t-attempt-to-export-the-start-and-_start-symbols.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0062-Fixup-for-newer-compiler.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0063-Add-support-for-non-Ethernet-network-cards.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0064-efinet-UEFI-IPv6-PXE-support.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0065-grub.texi-Add-net_bootp6-doument.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0066-bootp-Add-processing-DHCPACK-packet-from-HTTP-Boot.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0067-Fix-const-char-pointers-in-grub-core-net-bootp.c.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0068-efinet-Setting-network-from-UEFI-device-path.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0069-efinet-Setting-DNS-server-from-UEFI-protocol.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0070-Support-UEFI-networking-protocols.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0071-AUDIT-0-http-boot-tracker-bug.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0072-grub-editenv-Add-incr-command-to-increment-integer-v.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0073-Add-auto-hide-menu-support.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0074-Add-grub-set-bootflag-utility.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0075-docs-Add-grub-boot-indeterminate.service-example.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0076-gentpl-add-disable-support.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0077-gentpl-add-pc-firmware-type.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0078-efinet-also-use-the-firmware-acceleration-for-http.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0079-efi-http-Make-root_url-reflect-the-protocol-hostname.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0080-Make-it-so-we-can-tell-configure-which-cflags-utils-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0081-Rework-how-the-fdt-command-builds.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0082-Disable-non-wordsize-allocations-on-arm.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0083-Prepend-prefix-when-HTTP-path-is-relative.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0084-Make-grub_error-more-verbose.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0085-Make-reset-an-alias-for-the-reboot-command.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0086-Add-a-version-command.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0087-Add-more-dprintf-and-nerf-dprintf-in-script.c.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0088-Attempt-to-fix-up-all-the-places-Wsign-compare-error.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0089-Don-t-use-Wno-sign-compare-Wno-conversion-Wno-error-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0090-Fix-getroot.c-s-trampolines.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0091-Do-not-allow-stack-trampolines-anywhere.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0092-Reimplement-boot_counter.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0093-Fix-menu-entry-selection-based-on-ID-and-title.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0094-Make-the-menu-entry-users-option-argument-to-be-opti.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0095-Add-efi-export-env-and-efi-load-env-commands.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0096-Export-all-variables-from-the-initial-context-when-c.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0097-grub.d-Split-out-boot-success-reset-from-menu-auto-h.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0098-Don-t-assume-that-boot-commands-will-only-return-on-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0099-grub-set-bootflag-Update-comment-about-running-as-ro.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0100-grub-set-bootflag-Write-new-env-to-tmpfile-and-then-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0101-grub.d-Fix-boot_indeterminate-getting-set-on-boot_su.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0102-Add-start-symbol-for-RISC-V.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0103-bootstrap.conf-Force-autogen.sh-to-use-python3.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0104-efi-http-Export-fw-http-_path-variables-to-make-them.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0105-efi-http-Enclose-literal-IPv6-addresses-in-square-br.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0106-efi-net-Allow-to-specify-a-port-number-in-addresses.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0107-efi-ip4_config-Improve-check-to-detect-literal-IPv6-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0108-efi-net-Print-a-debug-message-if-parsing-the-address.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0109-kern-term-Also-accept-F8-as-a-user-interrupt-key.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0110-http-Prepend-prefix-when-the-HTTP-path-is-relative-a.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0111-Fix-a-missing-return-in-efi-export-env-and-efi-load-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0112-efi-dhcp-fix-some-allocation-error-checking.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0113-efi-http-fix-some-allocation-error-checking.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0114-efi-ip-46-_config.c-fix-some-potential-allocation-ov.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0115-Fix-const-char-pointers-in-grub-core-net-efi-ip4_con.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0116-Fix-const-char-pointers-in-grub-core-net-efi-ip6_con.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0117-Fix-const-char-pointers-in-grub-core-net-efi-net.c.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0118-Fix-const-char-pointers-in-grub-core-net-efi-pxe.c.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0119-Add-systemd-integration-scripts-to-make-systemctl-re.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0120-systemd-integration.sh-Also-set-old-menu_show_once-g.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0121-at_keyboard-use-set-1-when-keyboard-is-in-Translate-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0122-grub-install-disable-support-for-EFI-platforms.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0123-New-with-debug-timestamps-configure-flag-to-prepend-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0124-Added-debug-statements-to-grub_disk_open-and-grub_di.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0125-Introduce-function-grub_debug_is_enabled-void-return.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0126-Don-t-clear-screen-when-debugging-is-enabled.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0127-grub_file_-instrumentation-new-file-debug-tag.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0128-ieee1275-Avoiding-many-unecessary-open-close.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0129-ieee1275-powerpc-implements-fibre-channel-discovery-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0130-ieee1275-powerpc-enables-device-mapper-discovery.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0131-Add-at_keyboard_fallback_set-var-to-force-the-set-ma.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0132-Add-suport-for-signing-grub-with-an-appended-signatu.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0133-docs-grub-Document-signing-grub-under-UEFI.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0134-docs-grub-Document-signing-grub-with-an-appended-sig.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0135-dl-provide-a-fake-grub_dl_set_persistent-for-the-emu.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0136-pgp-factor-out-rsa_pad.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0137-crypto-move-storage-for-grub_crypto_pk_-to-crypto.c.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0138-posix_wrap-tweaks-in-preparation-for-libtasn1.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0139-libtasn1-import-libtasn1-4.16.0.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0140-libtasn1-disable-code-not-needed-in-grub.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0141-libtasn1-changes-for-grub-compatibility.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0142-libtasn1-compile-into-asn1-module.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0143-test_asn1-test-module-for-libtasn1.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0144-grub-install-support-embedding-x509-certificates.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0145-appended-signatures-import-GNUTLS-s-ASN.1-descriptio.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0146-appended-signatures-parse-PKCS-7-signedData-and-X.50.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0147-appended-signatures-support-verifying-appended-signa.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0148-appended-signatures-verification-tests.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0149-appended-signatures-documentation.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0150-ieee1275-enter-lockdown-based-on-ibm-secure-boot.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0151-ieee1275-drop-HEAP_MAX_ADDR-HEAP_MIN_SIZE.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0152-appendedsig-x509-Also-handle-the-Extended-Key-Usage-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0153-ieee1275-ofdisk-retry-on-open-failure.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0154-efinet-Add-DHCP-proxy-support.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0155-Don-t-update-the-cmdline-when-generating-legacy-menu.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0156-Suppress-gettext-error-message.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0157-grub-set-password-Always-use-boot-grub2-user.cfg-as-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0158-normal-main-Discover-the-device-to-read-the-config-f.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0159-powerpc-adjust-setting-of-prefix-for-signed-binary-c.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0160-powerpc-ieee1275-load-grub-at-4MB-not-2MB.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0161-Add-Fedora-location-of-DejaVu-SANS-font.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0162-efi-new-connectefi-command.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0163-powerpc-prefix-detection-support-device-names-with-c.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0164-make-ofdisk_retries-optional.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0165-misc-Make-grub_min-and-grub_max-more-resilient.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0166-ReiserFS-switch-to-using-grub_min-grub_max.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0167-misc-make-grub_boot_time-also-call-grub_dprintf-boot.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0168-modules-make-.module_license-read-only.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0169-modules-strip-.llvm_addrsig-sections-and-similar.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0170-modules-Don-t-allocate-space-for-non-allocable-secti.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0171-modules-load-module-sections-at-page-aligned-address.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0172-nx-add-memory-attribute-get-set-API.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0173-nx-set-page-permissions-for-loaded-modules.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0174-nx-set-the-nx-compatible-flag-in-EFI-grub-images.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0175-grub_fs_probe-dprint-errors-from-filesystems.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0176-Make-debug-file-show-which-file-filters-get-run.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0177-BLS-create-etc-kernel-cmdline-during-mkconfig.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0178-squish-don-t-dup-rhgb-quiet-check-mtimes.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0179-squish-give-up-on-rhgb-quiet.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0180-squish-BLS-only-write-etc-kernel-cmdline-if-writable.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0181-blscfg-Don-t-root-device-in-emu-builds.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0182-ppc64le-signed-boot-media-changes.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0183-core-Fix-several-implicit-function-declarations.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0184-ieee1275-request-memory-with-ibm-client-architecture.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0185-hostdisk-work-around-proc-not-reporting-size.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0186-blscfg-check-for-mounted-boot-in-emu.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0187-grub_dl_set_mem_attrs-fix-format-string.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0188-grub_dl_set_mem_attrs-add-self-check-for-the-tramp-G.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0189-grub_dl_load_segments-page-align-the-tramp-GOT-areas.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0190-emu-Add-switch-root-to-grub-emu.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0191-util-Enable-default-kernel-for-updates.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0192-efi-http-change-uint32_t-to-uintn_t.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0193-Add-Install-section-to-aux-systemd-units.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0194-Fix-missing-include-in-ofdisk.c.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0195-add-flag-to-only-search-root-dev.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0196-cryptdisk-fix-incorrect-sign-comparison.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0197-grub-install-fix-a-sign-comparison-error.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0198-grub-mount-work-around-bad-integer-comparison.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0199-power-Fix-use-after-free-in-get_slave_from_dm.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0200-Fix-some-sign-comparison-errors.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0201-normal-Fix-a-discarded-const.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0202-at_keyboard-mark-grub_keyboard_controller_write-unus.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0203-Fix-another-minor-sign-comparison-error.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0204-Track-explicit-module-dependencies-in-Makefile.core..patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0205-Revert-mm-Assert-that-we-preserve-header-vs-region-a.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0206-make-use-the-_CPU-variety-of-build-flags-for-PROGRAM.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0207-Work-around-extra_deps.lst-issue.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0208-include-proper-attribute-for-an-EFI-API-call-definit.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0209-cast-grub_error-status-parameter.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0210-remove-unused-varible.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0211-cast-grub_net_bootp_packet-pointer.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0212-libtasn1-fix-string-overflow-warning.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0213-Add-support-for-Linux-EFI-stub-loading.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0214-fix-i386_pc-on-legacycfg-module.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0215-Add-secureboot-support-on-efi-chainloader.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0216-Make-any-of-the-loaders-that-link-in-efi-mode-honor-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0217-Minimize-the-sort-ordering-for-.debug-and-rescue-ker.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0218-Add-grub_qdprintf-grub_dprintf-without-the-file-line.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0219-Make-a-gdb-dprintf-that-tells-us-load-addresses.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0220-Handle-multi-arch-64-on-32-boot-in-linuxefi-loader.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0221-Try-to-pick-better-locations-for-kernel-and-initrd.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0222-x86-efi-Use-bounce-buffers-for-reading-to-addresses-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0223-x86-efi-Re-arrange-grub_cmd_linux-a-little-bit.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0224-x86-efi-Make-our-own-allocator-for-kernel-stuff.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0225-x86-efi-Allow-initrd-params-cmdline-allocations-abov.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0226-efi-Set-image-base-address-before-jumping-to-the-PE-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0227-x86-efi-Reduce-maximum-bounce-buffer-size-to-16-MiB.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0228-efilinux-Fix-integer-overflows-in-grub_cmd_initrd.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0229-linuxefi-fail-kernel-validation-without-shim-protoco.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0230-Allow-chainloading-EFI-apps-from-loop-mounts.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0231-grub-core-loader-i386-efi-linux.c-do-not-validate-ke.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0232-grub-core-loader-efi-chainloader.c-do-not-validate-c.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0233-grub-core-loader-efi-linux.c-drop-now-unused-grub_li.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0234-loader-efi-chainloader-grub_load_and_start_image-doe.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0235-loader-efi-chainloader-simplify-the-loader-state.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0236-loader-efi-chainloader-Use-grub_loader_set_ex.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0237-loader-i386-efi-linux-Avoid-a-use-after-free-in-the-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0238-loader-i386-efi-linux-Use-grub_loader_set_ex.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0239-loader-i386-efi-linux-Fix-a-memory-leak-in-the-initr.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0240-EFI-allocate-kernel-in-EFI_RUNTIME_SERVICES_CODE-ins.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0241-efi-use-enumerated-array-positions-for-our-allocatio.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0242-efi-split-allocation-policy-for-kernel-vs-initrd-mem.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0243-efi-allocate-the-initrd-within-the-bounds-expressed-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0244-efi-use-EFI_LOADER_-CODE-DATA-for-kernel-and-initrd-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0245-x86-efi-Fix-an-incorrect-array-size-in-kernel-alloca.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0246-grub-install-on-EFI-if-forced.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0247-Remove-Install-section-from-aux-systemd-units.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0248-chainloader-remove-device-path-debug-message.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0249-grub-set-bootflag-Conservative-partial-fix-for-CVE-2.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0250-grub-set-bootflag-More-complete-fix-for-CVE-2024-104.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0251-grub-set-bootflag-Exit-calmly-when-not-running-as-ro.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0252-Makefile.core.def-fix-linux-module.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0253-Add-support-for-Linux-EFI-stub-loading-on-arm-archit.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0254-arm-arm64-loader-Better-memory-allocation-and-error-.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0255-arm64-Fix-EFI-loader-kernel-image-allocation.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0256-pe-add-the-DOS-header-struct-and-fix-some-bad-naming.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0257-Correct-BSS-zeroing-on-aarch64.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0258-arm64-Use-proper-memory-type-for-kernel-allocation.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0259-normal-Remove-grub_env_set-prefix-in-grub_try_normal.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0260-fs-xfs-Handle-non-continuous-data-blocks-in-director.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0261-Ignore-warnings-for-incompatible-types.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0262-cmd-search-Rework-of-CVE-2023-4001-fix.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0263-loader-efi-linux.c-read-the-kernel-image-before-head.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0264-nx-set-attrs-in-our-kernel-loaders.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0265-efi-Provide-wrappers-for-load_image-start_image.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0266-efi-Use-shim-s-loader-protocol-for-EFI-image-verific.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0267-efi-Disallow-fallback-to-legacy-Linux-loader-when-sh.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0268-Set-non-executable-stack-sections-on-EFI-assembly-fi.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0269-grub-mkconfig.in-turn-off-executable-owner-bit.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0270-kern-ieee1275-init-Add-IEEE-1275-Radix-support-for-K.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0271-grub2-mkconfig-Ensure-grub-cfg-stub-is-not-overwritt.patch Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
0272-grub2-mkconfig-Simplify-os_name-detection.patch mkconfig: More hardening to prevent overwriting grub cfg stub 2024-08-06 12:39:13 +02:00
0273-grub-mkconfig-Remove-check-for-mount-point-for-grub-.patch mkconfig: More hardening to prevent overwriting grub cfg stub 2024-08-06 12:39:13 +02:00
bootstrap Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
bootstrap.conf Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
do-rebase Life is pain, but especially when it's gnulib 2022-02-24 13:25:56 -05:00
gitignore Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06:00
grub2.spec mkconfig: More hardening to prevent overwriting grub cfg stub 2024-08-06 12:39:13 +02:00
grub.macros grub.cfg: Fix rpm grub.cfg verification issues 2024-07-29 08:48:44 -06:00
grub.patches mkconfig: More hardening to prevent overwriting grub cfg stub 2024-08-06 12:39:13 +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
package.cfg Add package.cfg for ELN 2024-07-10 10:07:44 -04:00
README.Fedora update README.Fedora 2012-06-01 18:28:36 +02:00
rpminspect.dson Update rpminspect configuration 2023-02-21 10:54:07 -05:00
sbat.csv.in Font fixes (CVE-2022-2601 batch) 2022-11-08 11:00:57 -05:00
sources Rebased to release grub2-2.12 for fedora-41 2024-08-05 19:08:59 -06: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/