Bootloader with support for Linux, Multiboot and more
Go to file
Javier Martinez Canillas 9fefeed59c Set default in parameter expasion to avoid do-rebase exit due an unset var
The script has set -u so calling do-rebase --help fails with the following:

  $ ./do-rebase --help
  ./do-rebase: line 16: $1: unbound variable

Avoid this by setting a default value when doing the parameter expansion
for the positional parameter $1 passed to the usage() function.

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