From 95db688800c527d3c9ee1f692d9125136facc38b Mon Sep 17 00:00:00 2001 From: srs5694 Date: Wed, 18 Apr 2012 20:49:58 -0400 Subject: [PATCH] rEFInd can now load EFI drivers! --- docs/refind/installing.html | 10 ++- docs/refind/todo.html | 2 + libeg/screen.c | 14 ++-- refind.conf-sample | 9 +++ refind/Makefile | 2 +- refind/config.c | 16 +++-- refind/global.h | 1 + refind/main.c | 129 +++++++++++++++++------------------- 8 files changed, 101 insertions(+), 82 deletions(-) diff --git a/docs/refind/installing.html b/docs/refind/installing.html index 048807c..0009d55 100644 --- a/docs/refind/installing.html +++ b/docs/refind/installing.html @@ -14,7 +14,7 @@

by Roderick W. Smith, rodsmith@rodsbooks.com

-

Originally written: 3/14/2012; last Web page update: 4/14/2012, referencing rEFInd 0.2.6

+

Originally written: 3/14/2012; last Web page update: 4/17/2012, referencing rEFInd 0.2.6

I'm a technical writer and consultant specializing in Linux technologies. This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

@@ -127,7 +127,7 @@ Filesystem 1K-blocks Used Available Use% Mounted on
  • Rename the configuration file by typing mv refind.conf-sample refind.conf. Consult the Editing the rEFInd Configuration File page for information on how to adjust your options.
  • - +
  • On a UEFI-based system, type efibootmgr -c -l \\EFI\\refind\\refind_x64.efi -L rEFInd to add rEFInd to your EFI's list of available boot loaders, which it stores in NVRAM. (Adjust the path to the binary as required if you install somewhere else.) You may need to install this program on some systems; it's a standard part of most distributions' repositories.
  • @@ -197,9 +197,13 @@ Filesystem 1K-blocks Used Available Use% Mounted on
  • Type rename refind.conf-sample refind.conf to rename rEFInd's configuration file.
  • +
  • Type bcdedit /set {bootmgr} path \EFI\refind\refind_x64.efi to set rEFInd as the default EFI boot program. Note that {bootmgr} is entered as such; that's not a notation for a variable.
  • + +
  • If you like, type bcdedit /set {bootmgr} description "rEFInd description" to set a description (change rEFInd description as you see fit).
  • + -

    Unfortunately, I know of no Windows tool that's equivalent to efibootmgr under Linux or bless under OS X. (Such a tool must exist, but I don't know what it is. If you do, please e-mail me a pointer!) This can make adding rEFInd to your system a bit tricky, particularly if your firmware provides few boot options. In the best of all possible worlds, you'll be able to use your firmware's user interface to add rEFInd to your firmware's own boot manager; however, far too many EFI implementations lack even this modest capability. If you're stuck in this boat, you have several options, such as:

    +

    At this point, when you reboot, rEFInd should appear as your new default boot program. One caveat: My only EFI Windows installation uses UEFI DUET, which "forgets" its boot options upon reboot. Thus, I'm unable to test the last two steps (which were provided by a helpful user) myself. If it doesn't work for you, you have several other options, such as: