|
|
8dd33d |
From 836e58668167e82c5ffcb66f3f390d2c52217f6a Mon Sep 17 00:00:00 2001
|
|
|
8dd33d |
From: Peter Jones <pjones@redhat.com>
|
|
|
8dd33d |
Date: Wed, 14 Apr 2010 16:06:48 -0400
|
|
|
8dd33d |
Subject: [PATCH] Make \EFI\redhat\grub.efi the default bootloader (#579665)
|
|
|
8dd33d |
|
|
|
8dd33d |
Make \EFI\redhat\grub.efi the default bootloader instead of \elilo.efi .
|
|
|
8dd33d |
---
|
|
|
8dd33d |
src/efibootmgr/efibootmgr.c | 6 +++---
|
|
|
8dd33d |
1 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
8dd33d |
|
|
|
8dd33d |
diff --git a/src/efibootmgr/efibootmgr.c b/src/efibootmgr/efibootmgr.c
|
|
|
8dd33d |
index 5db0d9e..b984143 100644
|
|
|
8dd33d |
--- a/src/efibootmgr/efibootmgr.c
|
|
|
8dd33d |
+++ b/src/efibootmgr/efibootmgr.c
|
|
|
8dd33d |
@@ -18,7 +18,7 @@
|
|
|
8dd33d |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
8dd33d |
|
|
|
8dd33d |
|
|
|
8dd33d |
- This must tie the EFI_DEVICE_PATH to /boot/efi/elilo.efi
|
|
|
8dd33d |
+ This must tie the EFI_DEVICE_PATH to /boot/efi/EFI/redhat/grub.efi
|
|
|
8dd33d |
The EFI_DEVICE_PATH will look something like:
|
|
|
8dd33d |
ACPI device path, length 12 bytes
|
|
|
8dd33d |
Hardware Device Path, PCI, length 6 bytes
|
|
|
8dd33d |
@@ -779,7 +779,7 @@ usage()
|
|
|
8dd33d |
printf("\t-g | --gpt force disk with invalid PMBR to be treated as GPT\n");
|
|
|
8dd33d |
printf("\t-H | --acpi_hid XXXX set the ACPI HID (used with -i)\n");
|
|
|
8dd33d |
printf("\t-i | --iface name create a netboot entry for the named interface\n");
|
|
|
8dd33d |
- printf("\t-l | --loader name (defaults to \\elilo.efi)\n");
|
|
|
8dd33d |
+ printf("\t-l | --loader name (defaults to \\EFI\\redhat\\grub.efi)\n");
|
|
|
8dd33d |
printf("\t-L | --label label Boot manager display label (defaults to \"Linux\")\n");
|
|
|
8dd33d |
printf("\t-n | --bootnext XXXX set BootNext to XXXX (hex)\n");
|
|
|
8dd33d |
printf("\t-N | --delete-bootnext delete BootNext\n");
|
|
|
8dd33d |
@@ -807,7 +807,7 @@ set_default_opts()
|
|
|
8dd33d |
opts.active = -1; /* Don't set it */
|
|
|
8dd33d |
opts.timeout = -1; /* Don't set it */
|
|
|
8dd33d |
opts.edd10_devicenum = 0x80;
|
|
|
8dd33d |
- opts.loader = "\\elilo.efi";
|
|
|
8dd33d |
+ opts.loader = "\\EFI\\redhat\\grub.efi";
|
|
|
8dd33d |
opts.label = "Linux";
|
|
|
8dd33d |
opts.disk = "/dev/sda";
|
|
|
8dd33d |
opts.iface = NULL;
|
|
|
8dd33d |
--
|
|
|
8dd33d |
1.7.0.1
|
|
|
8dd33d |
|