49353e4bb9
It is undocumented. It haven't been upstreamed. Upstream has 40_custom and 41_custom for the same purpose. It violates layering and code structure by guessing which (optional!) output file has been specified for grub2-mkconfig ... and makes the wrong guess for grub2-efi. |
||
---|---|---|
.gitignore | ||
grub2-handle-initramfs-on-xen.patch | ||
grub2.spec | ||
grub-1.99-Fix-tests-of-zeroed-partition.patch | ||
grub-1.99-gcc-4.7.0.patch | ||
grub-1.99-grub_test_assert_printf.patch | ||
grub-1.99-handle-fwrite-return.patch | ||
grub-1.99-just-say-linux.patch | ||
grub-1.99-ppc-terminfo.patch | ||
grub.default | ||
README.Fedora | ||
sources |
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 write /etc/default/grub and run grub2-mkconfig to create /boot/grub2/grub.cfg, and it will run grub2-install to install the boot loader in the MBR and in /boot/grub2/ . 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 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 Documentation ------------- The GRUB 2 manual can be found 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]. You can meet this package maintainer there (nick lkundrak). [2] http://bugzilla.redhat.com/ [3] http://freenode.net/ -- Lubomir Rintel <lkundrak@v3.sk> Fedora Project