Bootloader with support for Linux, Multiboot and more

Edit Package grub2
http://www.gnu.org/software/grub/

This is the second version of the GRUB (Grand Unified Bootloader),
a highly configurable and customizable bootloader with modular
architecture. It support rich scale of kernel formats, file systems,
computer architectures and hardware devices.

Refresh
Refresh
Source Files
Filename Size Changed
0001-10_linux-Ensure-persistence-of-root-file-system-moun.patch 0000002240 2.19 KB
0001-Add-grub_envblk_buf-helper-function.patch 0000002271 2.22 KB
0001-Add-support-for-Linux-EFI-stub-loading-on-aarch64.patch 0000014858 14.5 KB
0001-Factor-out-grub_efi_linux_boot.patch 0000006892 6.73 KB
0001-Fix-infinite-boot-loop-on-headless-system-in-qemu.patch 0000002180 2.13 KB
0001-Improve-TPM-key-protection-on-boot-interruptions.patch 0000008995 8.78 KB
0001-Make-grub.cfg-compatible-to-old-binaries.patch 0000002753 2.69 KB
0001-Streamline-BLS-and-improve-PCR-stability.patch 0000005406 5.28 KB
0001-Unify-the-check-to-enable-btrfs-relative-path.patch 0000004684 4.57 KB
0001-Workaround-volatile-efi-boot-variable.patch 0000008313 8.12 KB
0001-add-support-for-UEFI-network-protocols.patch 0000141315 138 KB
0001-arm64-Fix-EFI-loader-kernel-image-allocation.patch 0000005996 5.86 KB
0001-bli-Fix-crash-in-get_part_uuid.patch 0000003218 3.14 KB
0001-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch 0000040140 39.2 KB
0001-clean-up-crypttab-and-linux-modules-dependency.patch 0000005016 4.9 KB
0001-cli_lock-Add-build-option-to-block-command-line-inte.patch 0000013120 12.8 KB
0001-disk-Optimize-disk-iteration-by-moving-memdisk-to-th.patch 0000001447 1.41 KB
0001-efi-linux-provide-linux-command.patch 0000003431 3.35 KB
0001-efinet-Skip-virtual-VLAN-devices-during-card-enumera.patch 0000002387 2.33 KB
0001-fix-grub-screen-filled-with-post-screen-artifects.patch 0000001474 1.44 KB
0001-font-Try-memdisk-fonts-with-the-same-name.patch 0000001096 1.07 KB
0001-fs-xfs-always-verify-the-total-number-of-entries-is-.patch 0000001568 1.53 KB
0001-grub-install-Add-SUSE-signed-image-support-for-power.patch 0000003522 3.44 KB
0001-grub-install-bailout-root-device-probing.patch 0000007093 6.93 KB
0001-grub-probe-Deduplicate-probed-partmap-output.patch 0000003140 3.07 KB
0001-ieee1275-Avoiding-many-unecessary-open-close.patch 0000004467 4.36 KB
0001-ieee1275-Platform-Keystore-PKS-Support.patch 0000005510 5.38 KB
0001-ieee1275-add-support-for-NVMeoFC.patch 0000008817 8.61 KB
0001-ieee1275-implement-FCP-methods-for-WWPN-and-LUNs.patch 0000004951 4.83 KB
0001-ieee1275-ofdisk-retry-on-open-and-read-failure.patch 0000005201 5.08 KB
0001-ieee1275-powerpc-implements-fibre-channel-discovery-.patch 0000002856 2.79 KB
0001-ieee1275-support-added-for-multiple-nvme-bootpaths.patch 0000005168 5.05 KB
0001-install-fix-software-raid1-on-esp.patch 0000013495 13.2 KB
0001-kern-ieee1275-init-Add-IEEE-1275-Radix-support-for-K.patch 0000004099 4 KB
0001-kern-main-Fix-cmdpath-in-root-directory.patch 0000002484 2.43 KB
0001-kern-mm.c-Make-grub_calloc-inline.patch 0000002846 2.78 KB
0001-key_protector-Add-key-protectors-framework.patch 0000006615 6.46 KB
0001-loader-arm64-efi-linux-Remove-magic-number-header-fi.patch 0000001746 1.71 KB
0001-luks2-Use-grub-tpm2-token-for-TPM2-protected-volume-.patch 0000004655 4.55 KB
0001-net-drivers-ieee1275-ofnet-Remove-200-ms-timeout-in-.patch 0000002510 2.45 KB
0001-ofdisk-Enhance-canonical-path-handling-for-bootpath.patch 0000005886 5.75 KB
0001-ofdisk-enhance-boot-time-by-focusing-on-boot-disk-re.patch 0000006628 6.47 KB
0001-ofdisk-improve-boot-time-by-lookup-boot-disk-first.patch 0000002019 1.97 KB
0001-openfw-Ensure-get_devargs-and-get_devname-functions-.patch 0000001809 1.77 KB
0001-squash-ieee1275-ofpath-enable-NVMeoF-logical-device-.patch 0000002749 2.68 KB
0001-templates-Follow-the-path-of-usr-merged-kernel-confi.patch 0000001573 1.54 KB
0001-tpm-Skip-loopback-image-measurement.patch 0000001670 1.63 KB
0001-tpm2-Add-extra-RSA-SRK-types.patch 0000003021 2.95 KB
0001-tpm2-Implement-NV-index.patch 0000002648 2.59 KB
0001-tpm2-Support-authorized-policy.patch 0000005825 5.69 KB
0001-util-bash-completion-Fix-for-bash-completion-2.12.patch 0000004728 4.62 KB
0001-util-enable-grub-protect-only-for-EFI-systems.patch 0000000974 974 Bytes
0001-xen_boot-add-missing-grub_arch_efi_linux_load_image_.patch 0000003311 3.23 KB
0002-AUDIT-0-http-boot-tracker-bug.patch 0000001741 1.7 KB
0002-Add-grub_disk_write_tail-helper-function.patch 0000001501 1.47 KB
0002-Arm-check-for-the-PE-magic-for-the-compiled-arch.patch 0000001964 1.92 KB
0002-Fix-race-in-EFI-validation.patch 0000002755 2.69 KB
0002-Mark-environmet-blocks-as-used-for-image-embedding.patch 0000002039 1.99 KB
0002-Requiring-authentication-after-tpm-unlock-for-CLI-ac.patch 0000008395 8.2 KB
0002-Restrict-cryptsetup-key-file-permission-for-better-s.patch 0000001843 1.8 KB
0002-arm64-make-sure-fdt-has-address-cells-and-size-cells.patch 0000001302 1.27 KB
0002-cmdline-Provide-cmdline-functions-as-module.patch 0000001302 1.27 KB
0002-cryptodisk-Fallback-to-passphrase.patch 0000001447 1.41 KB
0002-discard-cached-key-before-entering-grub-shell-and-ed.patch 0000002144 2.09 KB
0002-ieee1275-Read-the-DB-and-DBX-secure-boot-variables.patch 0000021302 20.8 KB
0002-ieee1275-ofpath-enable-NVMeoF-logical-device-transla.patch 0000010092 9.86 KB
0002-ieee1275-powerpc-enables-device-mapper-discovery.patch 0000002849 2.78 KB
0002-ofdisk-add-early_log-support.patch 0000004464 4.36 KB
0002-prep_loadenv-Fix-regex-for-Open-Firmware-device-spec.patch 0000005415 5.29 KB
0002-tpm2-Add-TPM-Software-Stack-TSS.patch 0000137440 134 KB
0003-Handle-multi-arch-64-on-32-boot-in-linuxefi-loader.patch 0000009459 9.24 KB
0003-Make-grub_error-more-verbose.patch 0000001831 1.79 KB
0003-appendedsig-The-creation-of-trusted-and-distrusted-l.patch 0000028313 27.6 KB
0003-bootp-New-net_bootp6-command.patch 0000030408 29.7 KB
0003-cryptodisk-wipe-out-the-cached-keys-from-protectors.patch 0000001357 1.33 KB
0003-grub-install-support-prep-environment-block.patch 0000004081 3.99 KB
0003-ieee1275-change-the-logic-of-ieee1275_get_devargs.patch 0000001936 1.89 KB
0003-key_protector-Add-TPM2-Key-Protector.patch 0000067526 65.9 KB
0004-Add-suport-for-signing-grub-with-an-appended-signatu.patch 0000010978 10.7 KB
0004-Introduce-prep_load_env-command.patch 0000006678 6.52 KB
0004-Key-revocation-on-out-of-bound-file-access.patch 0000004545 4.44 KB
0004-Try-to-pick-better-locations-for-kernel-and-initrd.patch 0000006530 6.38 KB
0004-appendedsig-While-verifying-the-kernel-use-trusted-a.patch 0000009102 8.89 KB
0004-arm-arm64-loader-Better-memory-allocation-and-error-.patch 0000011418 11.2 KB
0004-blscfg-Don-t-root-device-in-emu-builds.patch 0000000945 945 Bytes
0004-cryptodisk-Support-key-protectors.patch 0000011796 11.5 KB
0004-diskfilter-look-up-cryptodisk-devices-first.patch 0000003030 2.96 KB
0004-efinet-UEFI-IPv6-PXE-support.patch 0000003503 3.42 KB
0004-ofpath-controller-name-update.patch 0000000851 851 Bytes
0005-appendedsig-The-grub-command-s-trusted-and-distruste.patch 0000023981 23.4 KB
0005-blscfg-check-for-mounted-boot-in-emu.patch 0000003888 3.8 KB
0005-docs-grub-Document-signing-grub-under-UEFI.patch 0000002388 2.33 KB
0005-export-environment-at-start-up.patch 0000004180 4.08 KB
0005-grub.texi-Add-net_bootp6-doument.patch 0000001487 1.45 KB
0005-util-grub-protect-Add-new-tool.patch 0000044396 43.4 KB
0005-x86-efi-Use-bounce-buffers-for-reading-to-addresses-.patch 0000002947 2.88 KB
0006-Follow-the-device-where-blscfg-is-discovered.patch 0000005729 5.59 KB
0006-appendedsig-documentation.patch 0000009968 9.73 KB
0006-bootp-Add-processing-DHCPACK-packet-from-HTTP-Boot.patch 0000003261 3.18 KB
0006-docs-grub-Document-signing-grub-with-an-appended-sig.patch 0000002338 2.28 KB
0006-efi-Set-image-base-address-before-jumping-to-the-PE-.patch 0000002390 2.33 KB
0006-x86-efi-Re-arrange-grub_cmd_linux-a-little-bit.patch 0000004964 4.85 KB
0007-dl-provide-a-fake-grub_dl_set_persistent-for-the-emu.patch 0000001119 1.09 KB
0007-efinet-Setting-network-from-UEFI-device-path.patch 0000011599 11.3 KB
0007-mkimage-create-new-ELF-Note-for-SBAT.patch 0000008263 8.07 KB
0007-x86-efi-Make-our-own-allocator-for-kernel-stuff.patch 0000008525 8.33 KB
0008-efinet-Setting-DNS-server-from-UEFI-protocol.patch 0000010307 10.1 KB
0008-linuxefi-Use-common-grub_initrd_load.patch 0000004061 3.97 KB
0008-mkimage-adding-sbat-data-into-sbat-ELF-Note-on-power.patch 0000002597 2.54 KB
0008-pgp-factor-out-rsa_pad.patch 0000005778 5.64 KB
0008-x86-efi-Allow-initrd-params-cmdline-allocations-abov.patch 0000006303 6.16 KB
0009-Add-crypttab_entry-to-obviate-the-need-to-input-pass.patch 0000008498 8.3 KB
0009-crypto-move-storage-for-grub_crypto_pk_-to-crypto.c.patch 0000002411 2.35 KB
0009-x86-efi-Reduce-maximum-bounce-buffer-size-to-16-MiB.patch 0000001656 1.62 KB
0010-efilinux-Fix-integer-overflows-in-grub_cmd_initrd.patch 0000001647 1.61 KB
0010-posix_wrap-tweaks-in-preparation-for-libtasn1.patch 0000001713 1.67 KB
0010-templates-import-etc-crypttab-to-grub.cfg.patch 0000002611 2.55 KB
0011-Also-define-GRUB_EFI_MAX_ALLOCATION_ADDRESS-for-RISC.patch 0000000964 964 Bytes
0011-libtasn1-import-libtasn1-4.18.0.patch 0000240763 235 KB
0012-libtasn1-disable-code-not-needed-in-grub.patch 0000008879 8.67 KB
0012-tpm-Build-tpm-as-module.patch 0000001590 1.55 KB
0013-libtasn1-changes-for-grub-compatibility.patch 0000007119 6.95 KB
0014-libtasn1-compile-into-asn1-module.patch 0000002297 2.24 KB
0015-test_asn1-test-module-for-libtasn1.patch 0000158910 155 KB
0016-grub-install-support-embedding-x509-certificates.patch 0000008193 8 KB
0017-appended-signatures-import-GNUTLS-s-ASN.1-descriptio.patch 0000024453 23.9 KB
0018-appended-signatures-parse-PKCS-7-signedData-and-X.50.patch 0000051900 50.7 KB
0019-appended-signatures-support-verifying-appended-signa.patch 0000022521 22 KB
0020-appended-signatures-verification-tests.patch 0000080618 78.7 KB
0021-appended-signatures-documentation.patch 0000013311 13 KB
0022-ieee1275-enter-lockdown-based-on-ibm-secure-boot.patch 0000002938 2.87 KB
0023-x509-allow-Digitial-Signature-plus-other-Key-Usages.patch 0000001680 1.64 KB
0044-squash-kern-Add-lockdown-support.patch 0000004455 4.35 KB
80_suse_btrfs_snapshot 0000000937 937 Bytes
90_persistent 0000001259 1.23 KB
Fix-the-size-calculation-for-the-synthesized-initrd.patch 0000002945 2.88 KB
PATCH_POLICY 0000000311 311 Bytes
README.ibm3215 0000002733 2.67 KB
SLES-UEFI-CA-Certificate.crt 0000002451 2.39 KB
arm64-Use-proper-memory-type-for-kernel-allocation.patch 0000002021 1.97 KB
fix_no_extra_deps_in_release_tarball.patch 0000000081 81 Bytes
grub-2.12.tar.xz 0006675608 6.37 MB
grub-install-force-journal-draining-to-ensure-data-i.patch 0000007031 6.87 KB
grub-install-record-pcrs.patch 0000000370 370 Bytes
grub-read-pcr.patch 0000004226 4.13 KB
grub.default 0000001386 1.35 KB
grub2-Add-hidden-menu-entries.patch 0000005447 5.32 KB
grub2-SUSE-Add-the-t-hotkey.patch 0000002002 1.96 KB
grub2-bsc1220338-key_protector-implement-the-blocklist.patch 0000002848 2.78 KB
grub2-btrfs-01-add-ability-to-boot-from-subvolumes.patch 0000020017 19.5 KB
grub2-btrfs-02-export-subvolume-envvars.patch 0000000615 615 Bytes
grub2-btrfs-03-follow_default.patch 0000005028 4.91 KB
grub2-btrfs-04-grub2-install.patch 0000003736 3.65 KB
grub2-btrfs-05-grub2-mkconfig.patch 0000003928 3.84 KB
grub2-btrfs-06-subvol-mount.patch 0000013179 12.9 KB
grub2-btrfs-07-subvol-fallback.patch 0000001248 1.22 KB
grub2-btrfs-08-workaround-snapshot-menu-default-entry.patch 0000001801 1.76 KB
grub2-btrfs-09-get-default-subvolume.patch 0000007516 7.34 KB
grub2-btrfs-10-config-directory.patch 0000006142 6 KB
grub2-btrfs-help-on-snapper-rollback.patch 0000000735 735 Bytes
grub2-change-bash-completion-dir.patch 0000028832 28.2 KB
grub2-check-default.sh 0000002748 2.68 KB
grub2-commands-introduce-read_file-subcommand.patch 0000002174 2.12 KB
grub2-default-distributor.patch 0000004760 4.65 KB
grub2-diskfilter-support-pv-without-metadatacopies.patch 0000006103 5.96 KB
grub2-efi-HP-workaround.patch 0000002253 2.2 KB
grub2-efi-chainload-harder.patch 0000004207 4.11 KB
grub2-efi-disable-video-cirrus-and-bochus.patch 0000000785 785 Bytes
grub2-efi-xen-cfg-unquote.patch 0000002620 2.56 KB
grub2-efi-xen-chainload.patch 0000005724 5.59 KB
grub2-efi-xen-cmdline.patch 0000000855 855 Bytes
grub2-efi-xen-removable.patch 0000003824 3.73 KB
grub2-efi_gop-avoid-low-resolution.patch 0000001192 1.16 KB
grub2-emu-4-all.patch 0000004035 3.94 KB
grub2-fix-error-terminal-gfxterm-isn-t-found.patch 0000001215 1.19 KB
grub2-fix-menu-in-xen-host-server.patch 0000003846 3.76 KB
grub2-getroot-scan-disk-pv.patch 0000001226 1.2 KB
grub2-getroot-support-nvdimm.patch 0000001637 1.6 KB
grub2-getroot-treat-mdadm-ddf-as-simple-device.patch 0000001564 1.53 KB
grub2-gfxmenu-support-scrolling-menu-entry-s-text.patch 0000007505 7.33 KB
grub2-grubenv-in-btrfs-header.patch 0000012355 12.1 KB
grub2-increase-crypttab-path-buffer.patch 0000000873 873 Bytes
grub2-install-fix-not-a-directory-error.patch 0000001777 1.74 KB
grub2-install-remove-useless-check-PReP-partition-is-empty.patch 0000002485 2.43 KB
grub2-instdev-fixup.pl 0000008632 8.43 KB
grub2-iterate-and-hook-for-extended-partition.patch 0000001667 1.63 KB
grub2-linguas.sh-no-rsync.patch 0000000787 787 Bytes
grub2-linux.patch 0000001609 1.57 KB
grub2-linuxefi-fix-boot-params.patch 0000000745 745 Bytes
grub2-lvm-allocate-metadata-buffer-from-raw-contents.patch 0000004820 4.71 KB
grub2-menu-unrestricted.patch 0000000516 516 Bytes
grub2-mkconfig-aarch64.patch 0000000458 458 Bytes
grub2-mkconfig-arm.patch 0000000458 458 Bytes
grub2-mkconfig-default-entry-correction.patch 0000000453 453 Bytes
grub2-mkconfig-riscv64.patch 0000000651 651 Bytes
grub2-once 0000007636 7.46 KB
grub2-once.service 0000000458 458 Bytes
grub2-pass-corret-root-for-nfsroot.patch 0000005346 5.22 KB
grub2-ppc-terminfo.patch 0000003631 3.55 KB
grub2-ppc64-cas-fix-double-free.patch 0000003268 3.19 KB
grub2-ppc64-cas-new-scope.patch 0000000452 452 Bytes
grub2-ppc64-cas-reboot-support.patch 0000005480 5.35 KB
grub2-ppc64le-disable-video.patch 0000001287 1.26 KB
grub2-ppc64le-memory-map.patch 0000001862 1.82 KB
grub2-s390x-01-Changes-made-and-files-added-in-order-to-allow-s390x.patch 0000009309 9.09 KB
grub2-s390x-03-output-7-bit-ascii.patch 0000014780 14.4 KB
grub2-s390x-04-grub2-install.patch 0000036885 36 KB
grub2-s390x-05-grub2-mkconfig.patch 0000005066 4.95 KB
grub2-s390x-06-loadparm.patch 0000001264 1.23 KB
grub2-s390x-07-add-image-param-for-zipl-setup.patch 0000001356 1.32 KB
grub2-s390x-08-workaround-part-to-disk.patch 0000000269 269 Bytes
grub2-s390x-09-improve-zipl-setup.patch 0000006874 6.71 KB
grub2-s390x-11-secureboot.patch 0000003887 3.8 KB
grub2-s390x-12-zipl-setup-usrmerge.patch 0000002926 2.86 KB
grub2-s390x-set-hostonly.patch 0000001629 1.59 KB
grub2-s390x-skip-zfcpdump-image.patch 0000000648 648 Bytes
grub2-secureboot-add-linuxefi.patch 0000012456 12.2 KB
grub2-secureboot-chainloader.patch 0000017984 17.6 KB
grub2-secureboot-install-signed-grub.patch 0000006825 6.67 KB
grub2-secureboot-no-insmod-on-sb.patch 0000001367 1.33 KB
grub2-setup-try-fs-embed-if-mbr-gap-too-small.patch 0000002261 2.21 KB
grub2-simplefb.patch 0000000571 571 Bytes
grub2-snapper-plugin.sh 0000007614 7.44 KB
grub2-suse-remove-linux-root-param.patch 0000001917 1.87 KB
grub2-systemd-sleep.sh 0000008073 7.88 KB
grub2-use-Unifont-for-starfield-theme-terminal.patch 0000000604 604 Bytes
grub2-use-rpmsort-for-version-sorting.patch 0000004030 3.94 KB
grub2-util-30_os-prober-multiple-initrd.patch 0000000326 326 Bytes
grub2-vbe-blacklist-preferred-1440x900x32.patch 0000000552 552 Bytes
grub2-video-limit-the-resolution-for-fixed-bimap-font.patch 0000002928 2.86 KB
grub2-xen-linux16.patch 0000000915 915 Bytes
grub2-xen-pv-firmware.cfg 0000004982 4.87 KB
grub2-zipl-setup-fix-btrfs-multipledev.patch 0000000368 368 Bytes
grub2.changes 0000206474 202 KB
grub2.rpmlintrc 0000000690 690 Bytes
grub2.spec 0000054871 53.6 KB
info-dir-entry.patch 0000001536 1.5 KB
not-display-menu-when-boot-once.patch 0000001072 1.05 KB
openSUSE-UEFI-CA-Certificate.crt 0000001606 1.57 KB
rename-grub-info-file-to-grub2.patch 0000001112 1.09 KB
safe_tpm_pcr_snapshot.patch 0000002418 2.36 KB
tpm-record-pcrs.patch 0000005775 5.64 KB
use-grub2-as-a-package-name.patch 0000000826 826 Bytes
Latest Revision
Michael Chang's avatar Michael Chang (michael-chang) accepted request 1223821 from Michael Chang's avatar Michael Chang (michael-chang) (revision 523)
- Revert the patches related to BLS support in grub2-mkconfig, as they are not
  relevant to the current BLS integration and cause issues in older KIWI
  versions, which actively force it to be enabled by default (bsc#1233196)
  * 0002-Add-BLS-support-to-grub-mkconfig.patch
  * 0003-Add-grub2-switch-to-blscfg.patch
  * 0007-grub-switch-to-blscfg-adapt-to-openSUSE.patch
  * 0008-blscfg-reading-bls-fragments-if-boot-present.patch
  * 0009-10_linux-Some-refinement-for-BLS.patch
  * 0001-10_linux-Do-not-enable-BLSCFG-on-s390-emu.patch
Comments 2

Jonathan Brielmaier's avatar

The grub2-SUSE-Add-the-t-hotkey.patch patch breaks booting with petitboot on ppc64le.

After applying the following diff to /etc/grub.d/95_textmode everything works again:

-if [ "\${grub_platform}" = "efi" ]; then
+if [ -d /sys/firmware/efi ]; then
+  echo "
[...]
-  }
+  }"

Sorry for not opening a bugzilla bug, but my account is still disabled :(


Frank Babenberg's avatar

Since memtest86+ supports now UEFI it might be useful to adjust 20_memtest86+ accordingly

openSUSE Build Service is sponsored by