Go to file
Peter Jones 578b4d713f Put the os-prober dep back in - we need to change test plans and criteria
before it can go.
  Resolves: rhbz#1569411

Signed-off-by: Peter Jones <pjones@redhat.com>
2018-05-11 10:13:04 -04:00
.gitattributes
.gitignore
20-grub.install
0001-Bump-version-to-2.03.patch
0002-Remove-bashisms-from-tests.patch
0003-fs-tester-make-sh-compatible.patch
0004-support-busybox-date.patch
0005-Don-t-retrieve-fstime-when-it-s-not-useful.patch
0006-Support-lseek64.patch
0007-Use-SHELL-rather-than-bin-sh.patch
0008-po-Use-SHELL-rather-than-bin-sh.patch
0009-Add-termux-path-to-dict.patch
0010-Fix-shebang-for-termux.patch
0011-Add-strtoull-test.patch
0012-strtoull-Fix-behaviour-on-chars-between-9-and-a.patch
0013-Add-Virtual-LAN-support.patch
0014-mkimage-Pass-layout-to-mkimage_generate_elfXX-rather.patch
0015-Refactor-arm-uboot-code-to-make-it-genereic.patch
0016-coreboot-Split-parts-that-are-platform-independent.patch
0017-Rename-uboot-halt.c-to-dummy-halt.c.patch
0018-Rename-uboot-datetime-to-dummy-datetime.patch
0019-arm-coreboot-Start-new-port.patch
0020-Add-support-for-device-tree-based-drivers.patch
0021-arm-coreboot-Support-for-vexpress-timer.patch
0022-arm-coreboot-Export-FDT-routines.patch
0023-at_keyboard-Split-protocol-from-controller-code.patch
0024-arm_coreboot-Support-keyboard-for-vexpress.patch
0025-arm_coreboot-Support-grub-mkstandalone.patch
0026-arm_coreboot-Support-loading-linux-images.patch
0027-arm_coreboot-Support-DMA.patch
0028-ehci-Split-core-code-from-PCI-part.patch
0029-arm_coreboot-Support-EHCI.patch
0030-Fix-bug-on-FDT-nodes-with-compatible-property.patch
0031-fdtbus-Add-ability-to-send-receive-messages-on-paren.patch
0032-rk3288_spi-Add-SPI-driver.patch
0033-arm_coreboot-Add-Chromebook-keyboard-driver.patch
0034-Missing-parts-of-previous-commit.patch
0035-coreboot-Changed-cbmemc-to-support-updated-console-f.patch
0036-at_keyboard-Fix-falco-chromebook-case.patch
0037-sparc64-Close-cdboot-ihandle.patch
0038-arm64-xen_boot-Fix-Xen-boot-using-GRUB2-on-AARCH64.patch
0039-arm64-Add-nounzip-option-support-in-xen_module-comma.patch
0040-util-grub.d-20_linux_xen.in-Add-xen_boot-command-sup.patch
0041-arm64-Update-the-introduction-of-Xen-boot-commands-i.patch
0042-sparc64-Don-t-use-devspec-to-determine-the-OBP-path.patch
0043-Allow-GRUB-to-mount-ext2-3-4-filesystems-that-have-t.patch
0044-ehci-Fix-compilation-for-amd64.patch
0045-cache-Fix-compilation-for-ppc-sparc-and-arm64.patch
0046-ehci-Fix-compilation-on-i386.patch
0047-crypto-Fix-use-after-free.patch
0048-arm-efi-Fix-compilation.patch
0049-fdt-silence-clang-warning.patch
0050-Fix-a-segfault-in-lsefi.patch
0051-zfs-remove-size_t-typedef-and-use-grub_size_t-instea.patch
0052-udf-Fix-reading-label-lvd.ident-is-dstring.patch
0053-grub-core-fs-udf.c-Add-support-for-UUID.patch
0054-mkrescue-Check-xorriso-presence-before-doing-anythin.patch
0055-Fail-if-xorriso-failed.patch
0056-efi-refactor-grub_efi_allocate_pages.patch
0057-Remove-grub_efi_allocate_pages.patch
0058-efi-move-fdt-helper-library.patch
0059-efi-Add-GRUB_PE32_MAGIC-definition.patch
0060-arm64-linux-loader-improve-type-portability.patch
0061-efi-change-heap-allocation-type-to-GRUB_EFI_LOADER_C.patch
0062-core-use-GRUB_TERM_-definitions-when-handling-term-c.patch
0063-io-add-a-GRUB_GZ-prefix-to-gzio-specific-defines.patch
0064-re-write-.gitignore.patch
0065-IBM-client-architecture-CAS-reboot-support.patch
0066-for-ppc-reset-console-display-attr-when-clear-screen.patch
0067-Disable-GRUB-video-support-for-IBM-power-machines.patch
0068-Honor-a-symlink-when-generating-configuration-by-gru.patch
0069-Move-bash-completion-script-922997.patch
0070-Update-to-minilzo-2.08.patch
0071-Allow-fallback-to-include-entries-by-title-not-just-.patch
0072-Add-GRUB_DISABLE_UUID.patch
0073-Make-exit-take-a-return-code.patch
0074-Mark-po-exclude.pot-as-binary-so-git-won-t-try-to-di.patch
0075-Make-efi-machines-load-an-env-block-from-a-variable.patch
0076-DHCP-client-ID-and-UUID-options-added.patch
0077-trim-arp-packets-with-abnormal-size.patch
0078-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch
0079-Add-support-for-UEFI-operating-systems-returned-by-o.patch
0080-Migrate-PPC-from-Yaboot-to-Grub2.patch
0081-Add-fw_path-variable-revised.patch
0082-Add-support-for-linuxefi.patch
0083-Use-linuxefi-and-initrdefi-where-appropriate.patch
0084-Don-t-allow-insmod-when-secure-boot-is-enabled.patch
0085-Pass-x-hex-hex-straight-through-unmolested.patch
0086-Add-X-option-to-printf-functions.patch
0087-Search-for-specific-config-file-for-netboot.patch
0088-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch
0089-Don-t-write-messages-to-the-screen.patch
0090-Don-t-print-GNU-GRUB-header.patch
0091-Don-t-add-to-highlighted-row.patch
0092-Message-string-cleanups.patch
0093-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch
0094-Use-the-correct-indentation-for-the-term-help-text.patch
0095-Indent-menu-entries.patch
0096-Fix-margins.patch
0097-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch
0098-Use-linux16-when-appropriate-880840.patch
0099-Enable-pager-by-default.-985860.patch
0100-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch
0101-Don-t-say-GNU-Linux-in-generated-menus.patch
0102-Don-t-draw-a-border-around-the-menu.patch
0103-Use-the-standard-margin-for-the-timeout-string.patch
0104-Add-.eh_frame-to-list-of-relocations-stripped.patch
0105-Make-10_linux-work-with-our-changes-for-linux16-and-.patch
0106-Don-t-print-during-fdt-loading-method.patch
0107-Don-t-munge-raw-spaces-when-we-re-doing-our-cmdline-.patch
0108-Don-t-require-a-password-to-boot-entries-generated-b.patch
0109-Don-t-emit-Booting-.-message.patch
0110-Replace-a-lot-of-man-pages-with-slightly-nicer-ones.patch
0111-use-fw_path-prefix-when-fallback-searching-for-grub-.patch
0112-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch
0113-Fix-convert-function-to-support-NVMe-devices.patch
0114-Switch-to-use-APM-Mustang-device-tree-for-hardware-t.patch
0115-Use-the-default-device-tree-from-the-grub-default-fi.patch
0116-reopen-SNP-protocol-for-exclusive-use-by-grub.patch
0117-Revert-reopen-SNP-protocol-for-exclusive-use-by-grub.patch
0118-Add-grub_util_readlink.patch
0119-Make-editenv-chase-symlinks-including-those-across-d.patch
0120-Generate-OS-and-CLASS-in-10_linux-from-etc-os-releas.patch
0121-Minimize-the-sort-ordering-for-.debug-and-rescue-ker.patch
0122-Load-arm-with-SB-enabled.patch
0123-Try-prefix-if-fw_path-doesn-t-work.patch
0124-Update-info-with-grub.cfg-netboot-selection-order-11.patch
0125-Use-Distribution-Package-Sort-for-grub2-mkconfig-112.patch
0126-Handle-rssd-storage-devices.patch
0127-Try-to-emit-linux16-initrd16-and-linuxefi-initrdefi-.patch
0128-Make-grub2-mkconfig-construct-titles-that-look-like-.patch
0129-Add-friendly-grub2-password-config-tool-985962.patch
0130-Make-grub2-mkconfig-construct-titles-that-look-like-.patch
0131-Try-to-make-sure-configure.ac-and-grub-rpm-sort-play.patch
0132-tcp-add-window-scaling-support.patch
0133-efinet-retransmit-if-our-device-is-busy.patch
0134-Be-more-aggro-about-actually-using-the-configured-ne.patch
0135-efinet-add-filter-for-the-first-exclusive-reopen-of-.patch
0136-Fix-security-issue-when-reading-username-and-passwor.patch
0137-Warn-if-grub-password-will-not-be-read-1290803.patch
0138-Clean-up-grub-setpassword-documentation-1290799.patch
0139-Fix-locale-issue-in-grub-setpassword-1294243.patch
0140-efiemu-Handle-persistent-RAM-and-unknown-possible-fu.patch
0141-efiemu-Fix-compilation-failure.patch
0142-Revert-reopen-SNP-protocol-for-exclusive-use-by-grub.patch
0143-Add-a-url-parser.patch
0144-efinet-and-bootp-add-support-for-dhcpv6.patch
0145-Add-grub-get-kernel-settings-and-use-it-in-10_linux.patch
0146-Normalize-slashes-in-tftp-paths.patch
0147-Fix-malformed-tftp-packets.patch
0148-Fix-race-in-EFI-validation.patch
0149-bz1374141-fix-incorrect-mask-for-ppc64.patch
0150-Use-device-part-of-chainloader-target-if-present.patch
0151-Add-secureboot-support-on-efi-chainloader.patch
0152-Make-any-of-the-loaders-that-link-in-efi-mode-honor-.patch
0153-Make-grub_fatal-also-backtrace.patch
0154-Rework-linux-command.patch
0155-Rework-linux16-command.patch
0156-Make-grub-editenv-build-again.patch
0157-Fix-up-some-man-pages-rpmdiff-noticed.patch
0158-Re-work-some-intricacies-of-PE-loading.patch
0159-Rework-even-more-of-efi-chainload-so-non-sb-cases-wo.patch
0160-linuxefi-fix-double-free-on-verification-failure.patch
0161-fix-machine-type-test-in-30_os-prober.in.patch
0162-efi-chainloader-fix-wrong-sanity-check-in-relocate_c.patch
0163-efi-chainloader-truncate-overlong-relocation-section.patch
0164-linuxefi-minor-cleanups.patch
0165-Handle-multi-arch-64-on-32-boot-in-linuxefi-loader.patch
0166-Fix-up-linux-params-usage.patch
0167-Make-exit-take-a-return-code.patch
0168-arm64-make-sure-fdt-has-address-cells-and-size-cells.patch
0169-Add-some-grub_dprintf-in-the-secure-boot-verify-code.patch
0170-Make-our-info-pages-say-grub2-where-appropriate.patch
0171-print-more-debug-info-in-our-module-loader.patch
0172-macos-just-build-chainloader-entries-don-t-try-any-x.patch
0173-grub2-btrfs-Add-ability-to-boot-from-subvolumes.patch
0174-export-btrfs_subvol-and-btrfs_subvolid.patch
0175-grub2-btrfs-03-follow_default.patch
0176-grub2-btrfs-04-grub2-install.patch
0177-grub2-btrfs-05-grub2-mkconfig.patch
0178-grub2-btrfs-06-subvol-mount.patch
0179-No-more-Bootable-Snapshot-submenu-in-grub.cfg.patch
0180-Fallback-to-old-subvol-name-scheme-to-support-old-sn.patch
0181-Grub-not-working-correctly-with-btrfs-snapshots-bsc-.patch
0182-Add-grub_efi_allocate_pool-and-grub_efi_free_pool-wr.patch
0183-Use-grub_efi_.-memory-helpers-where-reasonable.patch
0184-Add-PRIxGRUB_EFI_STATUS-and-use-it.patch
0185-Don-t-use-dynamic-sized-arrays-since-we-don-t-build-.patch
0186-don-t-ignore-const.patch
0187-don-t-use-int-for-efi-status.patch
0188-make-GRUB_MOD_INIT-declare-its-function-prototypes.patch
0189-Clean-up-some-errors-in-the-linuxefi-loader.patch
0190-editenv-handle-relative-symlinks.patch
0191-Make-libgrub.pp-depend-on-config-util.h.patch
0192-Don-t-guess-boot-efi-as-HFS-on-ppc-machines-in-grub-.patch
0193-Fix-util-grub.d-20_linux_xen.in-Add-xen_boot-command.patch
0194-Use-grub-file-to-figure-out-whether-multiboot2-shoul.patch
0195-20_linux_xen-load-xen-or-multiboot-2-modules-as-need.patch
0196-tsc-Change-default-tsc-calibration-method-to-pmtimer.patch
0197-Make-pmtimer-tsc-calibration-not-take-51-seconds-to-.patch
0198-align-struct-efi_variable-better.patch
0199-Add-quicksort-implementation.patch
0200-Add-blscfg-command-support-to-parse-BootLoaderSpec-c.patch
0201-Add-BLS-support-to-grub-mkconfig.patch
0202-Remove-duplicated-grub_exit-definition-for-grub-emu-.patch
0203-Don-t-attempt-to-backtrace-on-grub_abort-for-grub-em.patch
0204-Enable-blscfg-command-for-the-emu-platform.patch
0205-Add-linux-and-initrd-commands-for-grub-emu.patch
0206-Fix-the-efidir-in-grub-setpassword.patch
0207-Add-grub2-switch-to-blscfg.patch
0208-Add-grub_debug_enabled.patch
0209-make-better-backtraces.patch
0210-normal-don-t-draw-our-startup-message-if-debug-is-se.patch
0211-Work-around-some-minor-include-path-weirdnesses.patch
0212-Make-it-possible-to-enabled-build-id-sha1.patch
0213-Add-grub_qdprintf-grub_dprintf-without-the-file-line.patch
0214-Make-a-gdb-dprintf-that-tells-us-load-addresses.patch
0215-Only-attempt-to-scan-different-BLS-directories-on-EF.patch
0216-Core-TPM-support.patch
0217-Measure-kernel-initrd.patch
0218-Add-BIOS-boot-measurement.patch
0219-Measure-kernel-and-initrd-on-BIOS-systems.patch
0220-Measure-the-kernel-commandline.patch
0221-Measure-commands.patch
0222-Measure-multiboot-images-and-modules.patch
0223-Fix-boot-when-there-s-no-TPM.patch
0224-Rework-TPM-measurements.patch
0225-Fix-event-log-prefix.patch
0226-Set-the-first-boot-menu-entry-as-default-when-using-.patch
0227-tpm-fix-warnings-when-compiling-for-platforms-other-.patch
0228-Make-TPM-errors-less-fatal.patch
0229-blscfg-handle-multiple-initramfs-images.patch
10002-Make-it-possible-to-enabled-build-id-sha1.patch
do-rebase
gitignore
grub2.spec Put the os-prober dep back in - we need to change test plans and criteria 2018-05-11 10:13:04 -04:00
grub.macros
grub.patches
README.Fedora
sources
strtoull_test.c

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/