Bootloader with support for Linux, Multiboot and more
Go to file
Peter Jones 52f24b72a1 Make a "do-rebase" script we can use when we've rebased the github repo.
This rebuilds our patchset automatically.

Signed-off-by: Peter Jones <pjones@redhat.com>
2016-03-04 13:28:38 -05: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 Security update for keyboard input vulnerability. 2015-12-17 10:06:43 +01:00
0001-Migrate-PPC-from-Yaboot-to-Grub2.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0002-Add-fw_path-variable-revised.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0003-Add-support-for-linuxefi.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0004-Use-linuxefi-and-initrdefi-where-appropriate.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0005-Don-t-allow-insmod-when-secure-boot-is-enabled.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0006-Pass-x-hex-hex-straight-through-unmolested.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0007-Fix-crash-on-http.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0008-IBM-client-architecture-CAS-reboot-support.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0009-Add-vlan-tag-support.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0010-Add-X-option-to-printf-functions.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0011-DHCP-client-ID-and-UUID-options-added.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0012-Search-for-specific-config-file-for-netboot.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0013-blscfg-add-blscfg-module-to-parse-Boot-Loader-Specif.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0014-Move-bash-completion-script-922997.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0015-for-ppc-reset-console-display-attr-when-clear-screen.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0016-Don-t-write-messages-to-the-screen.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0017-Don-t-print-GNU-GRUB-header.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0018-Don-t-add-to-highlighted-row.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0019-Message-string-cleanups.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0020-Fix-border-spacing-now-that-we-aren-t-displaying-it.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0021-Use-the-correct-indentation-for-the-term-help-text.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0022-Indent-menu-entries.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0023-Fix-margins.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0024-Add-support-for-UEFI-operating-systems-returned-by-o.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0025-Disable-GRUB-video-support-for-IBM-power-machines.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0026-Use-2-instead-of-1-for-our-right-hand-margin-so-line.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0027-Use-linux16-when-appropriate-880840.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0028-Enable-pager-by-default.-985860.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0029-F10-doesn-t-work-on-serial-so-don-t-tell-the-user-to.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0030-Don-t-say-GNU-Linux-in-generated-menus.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0031-Don-t-draw-a-border-around-the-menu.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0032-Use-the-standard-margin-for-the-timeout-string.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0033-Fix-grub_script_execute_sourcecode-usage-on-ppc.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0034-Add-.eh_frame-to-list-of-relocations-stripped.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0035-Make-10_linux-work-with-our-changes-for-linux16-and-.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0036-Don-t-print-during-fdt-loading-method.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0037-Honor-a-symlink-when-generating-configuration-by-gru.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0038-Don-t-munge-raw-spaces-when-we-re-doing-our-cmdline-.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0039-Don-t-require-a-password-to-boot-entries-generated-b.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0040-Don-t-emit-Booting-.-message.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0041-Make-CTRL-and-ALT-keys-work-as-expected-on-EFI-syste.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0042-May-as-well-try-it.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0043-use-fw_path-prefix-when-fallback-searching-for-grub-.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0044-Try-mac-guid-etc-before-grub.cfg-on-tftp-config-file.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0045-trim-arp-packets-with-abnormal-size.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0046-Fix-convert-function-to-support-NVMe-devices.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0047-Fix-bad-test-on-GRUB_DISABLE_SUBMENU.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0048-Switch-to-use-APM-Mustang-device-tree-for-hardware-t.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0049-Use-the-default-device-tree-from-the-grub-default-fi.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0050-reopen-SNP-protocol-for-exclusive-use-by-grub.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0051-Reduce-timer-event-frequency-by-10.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0052-always-return-error-to-UEFI.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0053-Suport-for-bi-endianess-in-elf-file.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0054-Add-grub_util_readlink.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0055-Make-editenv-chase-symlinks-including-those-across-d.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0056-Generate-OS-and-CLASS-in-10_linux-from-etc-os-releas.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0057-Fix-GRUB_DISABLE_SUBMENU-one-more-time.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0058-Minimize-the-sort-ordering-for-.debug-and-rescue-ker.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0059-Add-GRUB_DISABLE_UUID.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0060-Allow-fallback-to-include-entries-by-title-not-just-.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
0061-Load-arm-with-SB-enabled.patch Fix changed symbol name. 2015-07-30 11:30:50 -04:00
0062-Try-prefix-if-fw_path-doesn-t-work.patch Fix changed symbol name. 2015-07-30 11:30:50 -04:00
0063-Try-to-emit-linux16-initrd16-and-linuxefi-initrdefi-.patch Fix changed symbol name. 2015-07-30 11:30:50 -04:00
0064-Update-to-minilzo-2.08.patch Fix changed symbol name. 2015-07-30 11:30:50 -04:00
0065-Make-grub2-mkconfig-construct-titles-that-look-like-.patch Fix changed symbol name. 2015-07-30 11:30:50 -04:00
0066-Make-rescue-and-debug-entries-sort-right-again-in-gr.patch Fix changed symbol name. 2015-07-30 11:30:50 -04:00
0067-Make-.gitignore-suck-way-less.patch Fix changed symbol name. 2015-07-30 11:30:50 -04:00
0068-Update-info-with-grub.cfg-netboot-selection-order-11.patch Fix changed symbol name. 2015-07-30 11:30:50 -04:00
0069-Use-Distribution-Package-Sort-for-grub2-mkconfig-112.patch The previous fix was completely not right, so fix it a different way. 2015-08-03 15:09:01 -04:00
0070-Add-friendly-grub2-password-config-tool-985962.patch The previous fix was completely not right, so fix it a different way. 2015-08-03 15:09:01 -04:00
0071-Make-exit-take-a-return-code.patch The previous fix was completely not right, so fix it a different way. 2015-08-03 15:09:01 -04:00
0072-Add-some-__unused__-where-gcc-5.x-is-more-picky-abou.patch The previous fix was completely not right, so fix it a different way. 2015-08-03 15:09:01 -04:00
0073-Fix-race-in-EFI-validation.patch The previous fix was completely not right, so fix it a different way. 2015-08-03 15:09:01 -04:00
0074-Mark-po-exclude.pot-as-binary-so-git-won-t-try-to-di.patch The previous fix was completely not right, so fix it a different way. 2015-08-03 15:09:01 -04:00
0075-Fix-security-issue-when-reading-username-and-passwor.patch Security update for keyboard input vulnerability. 2015-12-17 10:06:43 +01:00
0076-01_users-Handle-GRUB_PASSWORD-better.patch Security update for keyboard input vulnerability. 2015-12-17 10:06:43 +01:00
10001-Put-the-correct-.file-directives-in-our-.S-files.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
10002-Make-efi-machines-load-an-env-block-from-a-variable.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
10003-Make-it-possible-to-enabled-build-id-sha1.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
10004-Don-t-tell-the-compiler-to-do-annoying-things-with-f.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
10005-Add-grub_qdprintf-grub_dprintf-without-the-file-line.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
10006-Make-a-gdb-dprintf-that-tells-us-load-addresses.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
do-rebase Make a "do-rebase" script we can use when we've rebased the github repo. 2016-03-04 13:28:38 -05:00
gitignore Be less terrible with .gitignore 2015-07-22 09:16:02 -04:00
grub2.spec Make a "do-rebase" script we can use when we've rebased the github repo. 2016-03-04 13:28:38 -05:00
grub-2.02-beta2-to-origin-master.patch Reconcile even harder, so that it actually works. 2015-07-22 13:12:37 -04:00
grub.patches Make a "do-rebase" script we can use when we've rebased the github repo. 2016-03-04 13:28:38 -05:00
README.Fedora update README.Fedora 2012-06-01 18:28:36 +02:00
sources Be less terrible with .gitignore 2015-07-22 09:16:02 -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/