]> code.delx.au - refind/blobdiff - docs/refind/bootmode.html
Version 0.7.4 release
[refind] / docs / refind / bootmode.html
index 37c26e867ecc67e13063ee513910cc1d288c6d83..3e1c3c2e6652c14469e7b14659925faa0e9cd1bc 100644 (file)
@@ -15,7 +15,7 @@
 href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>\r
 \r
 <p>Originally written: 3/14/2012; last Web page update:\r
-5/25/2012, referencing rEFInd 0.4.1</p>\r
+8/25/2013, referencing rEFInd 0.7.4</p>\r
 \r
 \r
 <p>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!</p>\r
@@ -26,49 +26,87 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 <td>Donate $2.50</td>\r
 <td>Donate $5.00</td>\r
 <td>Donate $10.00</td>\r
+<td>Donate $20.00</td>\r
 <td>Donate another value</td>\r
 </tr>\r
 <tr>\r
-<td><form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">\r
-<input type="hidden" name="cmd" value="_xclick">\r
+\r
+<td>\r
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post">\r
+<input type="hidden" name="cmd" value="_donations">\r
 <input type="hidden" name="business" value="rodsmith@rodsbooks.com">\r
-<input type="hidden" name="item_name" value="rEFInd Boot Manager">\r
+<input type="hidden" name="lc" value="US">\r
+<input type="hidden" name="no_note" value="0">\r
 <input type="hidden" name="currency_code" value="USD">\r
 <input type="hidden" name="amount" value="1.00">\r
-<input type="image" src="http://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">\r
+<input type="hidden" name="item_name" value="rEFInd Boot Manager">\r
+<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHostedGuest">\r
+<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">\r
+<img alt="Donate with PayPal" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">\r
 </form>\r
-\r
 </td>\r
-<td><form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">\r
-<input type="hidden" name="cmd" value="_xclick">\r
+\r
+<td>\r
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post">\r
+<input type="hidden" name="cmd" value="_donations">\r
 <input type="hidden" name="business" value="rodsmith@rodsbooks.com">\r
-<input type="hidden" name="item_name" value="rEFInd Boot Manager">\r
+<input type="hidden" name="lc" value="US">\r
+<input type="hidden" name="no_note" value="0">\r
 <input type="hidden" name="currency_code" value="USD">\r
 <input type="hidden" name="amount" value="2.50">\r
-<input type="image" src="http://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">\r
+<input type="hidden" name="item_name" value="rEFInd Boot Manager">\r
+<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHostedGuest">\r
+<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">\r
+<img alt="Donate with PayPal" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">\r
 </form>\r
-\r
 </td>\r
-<td><form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">\r
-<input type="hidden" name="cmd" value="_xclick">\r
+\r
+\r
+<td>\r
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post">\r
+<input type="hidden" name="cmd" value="_donations">\r
 <input type="hidden" name="business" value="rodsmith@rodsbooks.com">\r
-<input type="hidden" name="item_name" value="rEFInd Boot Manager">\r
+<input type="hidden" name="lc" value="US">\r
+<input type="hidden" name="no_note" value="0">\r
 <input type="hidden" name="currency_code" value="USD">\r
 <input type="hidden" name="amount" value="5.00">\r
-<input type="image" src="http://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">\r
+<input type="hidden" name="item_name" value="rEFInd Boot Manager">\r
+<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHostedGuest">\r
+<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">\r
+<img alt="Donate with PayPal" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">\r
 </form>\r
-\r
 </td>\r
-<td><form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">\r
-<input type="hidden" name="cmd" value="_xclick">\r
+\r
+<td>\r
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post">\r
+<input type="hidden" name="cmd" value="_donations">\r
 <input type="hidden" name="business" value="rodsmith@rodsbooks.com">\r
-<input type="hidden" name="item_name" value="rEFInd Boot Manager">\r
+<input type="hidden" name="lc" value="US">\r
+<input type="hidden" name="no_note" value="0">\r
 <input type="hidden" name="currency_code" value="USD">\r
 <input type="hidden" name="amount" value="10.00">\r
-<input type="image" src="http://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">\r
+<input type="hidden" name="item_name" value="rEFInd Boot Manager">\r
+<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHostedGuest">\r
+<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">\r
+<img alt="Donate with PayPal" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">\r
 </form>\r
+</td>\r
 \r
+<td>\r
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post">\r
+<input type="hidden" name="cmd" value="_donations">\r
+<input type="hidden" name="business" value="rodsmith@rodsbooks.com">\r
+<input type="hidden" name="lc" value="US">\r
+<input type="hidden" name="no_note" value="0">\r
+<input type="hidden" name="currency_code" value="USD">\r
+<input type="hidden" name="amount" value="20.00">\r
+<input type="hidden" name="item_name" value="rEFInd Boot Manager">\r
+<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHostedGuest">\r
+<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">\r
+<img alt="Donate with PayPal" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">\r
+</form>\r
 </td>\r
+\r
 <td>\r
 <form action="https://www.paypal.com/cgi-bin/webscr" method="post">\r
 <input type="hidden" name="cmd" value="_donations">\r
@@ -82,7 +120,7 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 <img alt="Donate with PayPal" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">\r
 </form>\r
 </td></tr>\r
-</table> \r
+</table>\r
 \r
 <hr />\r
 \r
@@ -90,11 +128,33 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 \r
 <hr />\r
 \r
+<div style="float:right; width:55%">\r
+\r
 <p>Before you invest time in downloading and trying to install rEFInd, you may want to verify that you can actually use the program at all. rEFInd is useful only on EFI-based computers, not older BIOS-based computers. In fact, most EFI-based <i>x</i>86-64 computers provide a Compatibility Support Module (CSM), which is essentially a BIOS emulation mode. Some EFI implementations are in fact built atop a conventional BIOS, and retain BIOS's boot abilities via this underlying code. Thus, it's possible that you're currently booting a modern EFI-capable computer in BIOS mode.</p>\r
 \r
+</div>\r
+\r
+<div class="navbar">\r
+\r
+<h4 class="tight">Contents</h4>\r
+\r
+<ul>\r
+\r
+<li class="tight"><a href="#identifying">Identifying Your Hardware's Capabilities</li>\r
+\r
+<li class="tight"><a href="#linux">Identifying Your Linux Boot Mode</a></li>\r
+\r
+<li class="tight"><a href="#windows">Identifying Your Windows Boot Mode</a></li>\r
+\r
+</ul>\r
+\r
+</div>\r
+\r
 <p>Unfortunately, determining which mode you're using can be tricky; the clues are subtle or hidden in ways that require specialized knowledge to extract. This page will help you figure it out. I first present general information on identifying your hardware's capabilities. I then describe ways to identify your current boot mode in both Linux and Windows.</p>\r
 \r
+<a name="identifying">\r
 <h2>Identifying Your Hardware's Capabilities</h2>\r
+</a>\r
 \r
 <p>Let's get the easy case out of the way: If you have a Macintosh with an Intel CPU, it's got EFI capabilities, and you'll be able to use rEFInd. Earlier Macs with PowerPC CPUs use OpenFirmware, and rEFInd can't be used with them.</p>\r
 \r
@@ -108,13 +168,15 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 \r
 <p>A casual reader might easily overlook this option, or misinterpret it to mean that the feature is much less important than it is. In fact, this particular motherboard offers very poor control over its EFI vs. BIOS booting features. (See <a href="http://www.rodsbooks.com/gb-hybrid-efi/">my Web page on this EFI implementation</a> for details.)</p>\r
 \r
-<p>Some manuals omit even mention of EFI, and instead refer to "legacy boot" or some similar term, referring to BIOS-style booting. Such references may imply that the firmware supports EFI booting if the "legacy boot" mode is disabled or restricted in some way.</p>\r
+<p>Some manuals omit even mention of EFI, and instead refer to "legacy boot" or some similar term, referring to BIOS-style booting. The firmware for my ASUS P8H77-I motherboard uses the technical term <i>CSM,</i> which of course will be baffling to the uninitiated. (I referred to it earlier. It's the <i>Compatibility Support Module</i>&mdash;in other words, the BIOS support code.) Such references may imply that the firmware supports EFI booting if the "legacy boot" mode is disabled or restricted in some way.</p>\r
 \r
 <p>Understated EFI features often indicate a slapdash approach to EFI. Such systems sometimes implement EFI as a layer atop a conventional BIOS. More modern EFIs, though, completely replace the BIOS. Some manufacturers, such as ASUS and its sibling ASRock, are now actively promoting their more advanced EFI implementations. Such products often come with flashy new GUIs in their firmware.</p>\r
 \r
 <p>Positive identification of EFI support in your firmware does <i>not</i> guarantee that your current OSes are booting in EFI mode. (Mac OS X booting on a Mac is an exception to this rule, though.) For that, you'll need to run some tests in your running OSes.</p>\r
 \r
+<a name="linux">\r
 <h2>Identifying Your Linux Boot Mode</h2>\r
+</a>\r
 \r
 <p>Identifying your boot mode in Linux is relatively straightforward. The simplest way is to check for the presence of a <tt>/sys/firmware/efi</tt> directory. The mere existence of this directory indicates that the computer has booted in EFI mode. Its absence suggests a BIOS-mode boot&mdash;but see below for an important caveat.</p>\r
 \r
@@ -147,9 +209,13 @@ href="mailto:rodsmith@rodsbooks.com">rodsmith@rodsbooks.com</a></p>
 \r
 <p>I've actually cut quite a few lines from this output; there are a total of 60 <tt>EFI: mem<i>##</i></tt> lines on this computer. (Another of my computers has 148 such lines!) A BIOS-based computer will lack most or all of these lines, and certainly the <tt>EFI: mem<i>##</i></tt> lines. I've heard of some BIOS-based computers that produce the final <tt>EFI Variables Facility</tt> line, though.</p>\r
 \r
-<p>One caveat exists to these tests: It's possible to boot Linux in EFI mode but disable the EFI features that create the <tt>/sys/firmware/efi</tt> directory and the copious EFI output in <tt>dmesg</tt>. This can happen because your kernel was compiled without EFI support or because you've added the <tt>noefi</tt> line to your existing BIOS boot loader configuration. To the best of my knowledge, no major Linux distribution ships with EFI support disabled in either of these ways, so chances are your tests won't mislead you to thinking you're using BIOS mode unless you've recompiled your kernel or deliberately added a <tt>noefi</tt> parameter to your boot loader configuration.</p>\r
+<p>One caveat exists to these tests: It's possible to boot Linux in EFI mode but disable the EFI features that create the <tt>/sys/firmware/efi</tt> directory and the copious EFI output in <tt>dmesg</tt>. This can happen because your kernel was compiled without EFI support or because you've added the <tt>noefi</tt> line to your existing BIOS boot loader configuration. Some of these features will also be absent if the <tt>efivars</tt> driver is not built into the kernel and is not loaded as a module. Typing <tt class="userinput">modprobe efivars</tt> should load this module, so you might try that before concluding you've booted in BIOS mode. To the best of my knowledge, no major Linux distribution ships with EFI support disabled in any of these ways, so chances are your tests won't mislead you to thinking you're using BIOS mode unless you've recompiled your kernel or deliberately added a <tt>noefi</tt> parameter to your boot loader configuration.</p>\r
 \r
+<a name="windows">\r
 <h2>Identifying Your Windows Boot Mode</h2>\r
+</a>\r
+\r
+<!-- NOTE: I have serious doubts about this method's reliability, so I'm commenting it out for now....\r
 \r
 <p>The easiest way to determine your boot mode in Windows is probably to use the <tt>bcdedit</tt> program to examine your boot loader configuration. To do so, launch an administrative Command Prompt (by right-clicking a Command Prompt icon and selecting Run As Administrator from the context menu) and then type <tt class="userinput">bcdedit</tt> in the window. The result will include two blocks of information, on the boot manager and the boot loader. The latter is more diagnostic. On an EFI-booted system, it will resemble the following:</p>\r
 \r
@@ -167,8 +233,9 @@ systemroot              \Windows
 resumeobject            {3aa4c728-9935-11e0-9f12-806e6f6e6963}</pre>\r
 \r
 <p>The important part is the value of the <tt>path</tt> line. Note that it identifies an EFI executable&mdash;<tt>\Windows\system32\winload.efi</tt>. On a BIOS-based computer, by contrast, this line refers to <tt>\Windows\system32\winload.exe</tt>&mdash;a standard Windows <tt>.exe</tt> file, not an EFI <tt>.efi</tt> file.</p>\r
+-->\r
 \r
-<p>Another way to identify your boot mode is to examine your partitions. Microsoft has tied use of the GUID Partition Table (GPT) to EFI booting. If you've booted from a GPT disk, then you <i>must</i> be using EFI, and if you've booted from a Master Boot Record (MBR) disk, you <i>must</i> have booted in BIOS mode. Therefore, you can check your partition table type as a proxy for your boot mode. To do this in Windows 7, follow these steps:</p>\r
+<p>The most reliable way I know of to identify your boot mode is to examine your partitions. Microsoft has tied use of the GUID Partition Table (GPT) to EFI booting. If you've booted from a GPT disk, then you <i>must</i> be using EFI, and if you've booted from a Master Boot Record (MBR) disk, you <i>must</i> have booted in BIOS mode. Therefore, you can check your partition table type as a proxy for your boot mode. To do this in Windows 7, follow these steps:</p>\r
 \r
 <ol>\r
 \r
@@ -194,7 +261,7 @@ resumeobject            {3aa4c728-9935-11e0-9f12-806e6f6e6963}</pre>
 \r
 <hr />\r
 \r
-<p>copyright &copy; 2012 by Roderick W. Smith</p>\r
+<p>copyright &copy; 2012&ndash;2013 by Roderick W. Smith</p>\r
 \r
 <p>This document is licensed under the terms of the <a href="FDL-1.3.txt">GNU Free Documentation License (FDL), version 1.3.</a></p>\r
 \r