|/
|\ISS               Tidbits  Posts  Answers  Install  Wiki  Contact  Donate  GitHub


grub                                                                version 2.06
________________________________________________________________________________

GNU GRUB (short for GNU GRand Unified Bootloader, commonly referred to as GRUB)
is a boot loader package from the GNU Project. GRUB is the reference
implementation of the Free Software Foundation's Multiboot Specification, which
provides a user the choice to boot one of multiple operating systems installed
on a computer or select a specific kernel configuration available on a
particular operating system's partitions. [0]

Upstream: https://www.gnu.org/software/grub/


[000] Index
________________________________________________________________________________

* Installation ........................................................... [001]
* Setup .................................................................. [002]
* BIOS ................................................................... [003]
* UEFI ................................................................... [004]
* Usage .................................................................. [005]
* History ................................................................ [006]
* References ............................................................. [007]


[001] Installation
________________________________________________________________________________

+------------------------------------------------------------------------------+
|                                                                              |
|  $ kiss b grub                                                               |
|                                                                              |
+------------------------------------------------------------------------------+

If using UEFI, efibootmgr is also required.

+------------------------------------------------------------------------------+
|                                                                              |
|  $ kiss b efibootmgr                                                         |
|                                                                              |
+------------------------------------------------------------------------------+


[002] Setup
________________________________________________________________________________

Ensure that all required partitions are mounted.


--[003] BIOS -------------------------------------------------------------------

  Replace '/dev/sdX' with the disk (not partition) where Grub will be installed.

  +----------------------------------------------------------------------------+
  |                                                                            |
  |  $ grub-install --target=i386-pc /dev/sdX                                  |
  |  $ grub-mkconfig -o /boot/grub/grub.cfg                                    |
  |                                                                            |
  +----------------------------------------------------------------------------+


--[004] UEFI -------------------------------------------------------------------

  Replace 'esp' with the EFI mount point (typically /boot).

  +----------------------------------------------------------------------------+
  |                                                                            |
  |  $ grub-install --target=x86_64-efi \                                      |
  |                 --efi-directory=esp \                                      |
  |                 --bootloader-id=GRUB                                       |
  |  $ grub-mkconfig -o /boot/grub/grub.cfg                                    |
  |                                                                            |
  +----------------------------------------------------------------------------+


[005] Usage
________________________________________________________________________________

Refer to the manual pages and command help output.


[006] History
________________________________________________________________________________

2021-09-06 853382a3 grub: fix docs. Closes #90
2021-08-22 6dfff99f grub: enable manual pages
2021-08-16 56871a28 grub: force bfd linker
2021-07-15 4f6ddde6 grub: fix build
2021-07-15 23c40942 grub: update for new env
2021-07-15 fba6bd7f grub: use VERSION
2021-07-03 87b39eb0 grub: remove sed -i
2021-07-01 60726d9f grub: remove usage of install
2021-06-30 e2e2ec51 grub: 2.06
2020-09-13 0d1aa382 grub: correctly strip -march=native
2020-05-17 d35223fc grub: Drop non-posix -a flag
2020-03-25 89a8c197 grub: Remove pointless comment
2020-03-14 baf07a69 grub: Fix depends
2020-03-05 7dc7394f grub: Bye bye python
2020-03-05 7471bd94 grub: disable nls
2020-02-22 687b271c grub: Remove pointless line
2020-02-22 ec4db0b2 grub: Fix Ryzen issue
2020-02-22 874d3117 grub: Fix Ryzen issue
2020-02-11 297b4bfc grub: Disable -march=.*
2020-02-11 37b1fb53 grub: revert pie fixes
2020-02-09 eecc3f2f grub: Fix build after GCC changes
2019-10-14 59935407 grub: remove file now handled by package manager
2019-10-05 15cfe437 grub: let nls be detected
2019-09-13 02e66490 grub: use https for source
2019-09-07 51b13c72 grub: remove autotools dependency
2019-08-18 d4f86c4e grub: fix depends
2019-08-14 6cd8618e grub: bump to 2.04
2019-08-11 7b5f5889 grub: revert 2.04
2019-08-11 abf076e1 grub: revert 2.04
2019-08-04 9a7a6376 grub: fix depends
2019-08-04 9c3fb67e grub: bump to 2.04
2019-07-17 b3016536 grub: fix directories
2019-07-17 12592917 grub: add defaults
2019-06-25 4f60df09 grub: Fix build
2019-06-25 5151100b grub: Fix build
2019-06-25 12ace252 grub: Fix error.
2019-06-19 0e3fbd22 grub: add license
2019-06-19 52b59df7 grub: strip binaries
2019-06-19 7d91fd63 grub: Add missing dependencies.
2019-06-19 398d0728 grub: Remove gdb files.
2019-06-19 c0132186 grub: Update build
2019-06-19 5969b803 grub: Added dependencies.
2019-06-19 f3eea118 grub: Added dependencies.


[007] References
________________________________________________________________________________

[0] https://en.wikipedia.org/wiki/GNU_GRUB



________________________________________________________________________________

Dylan Araps (C) 2019-2021

The registered trademark Linux(R) is used pursuant to a sublicense from the
Linux Foundation, the exclusive licensee of Linus Torvalds, owner of the mark
on a world­wide basis.