[756a787] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[a7aecd4] | 7 | <!ENTITY efibootmgr-download-http "https://github.com/rhboot/efibootmgr/archive/&efibootmgr-version;/efibootmgr-&efibootmgr-version;.tar.gz">
|
---|
[756a787] | 8 | <!ENTITY efibootmgr-download-ftp " ">
|
---|
| 9 | <!ENTITY efibootmgr-md5sum "6ae315936d9bc8613b3a4cb8a4064128">
|
---|
| 10 | <!ENTITY efibootmgr-size "44 KB">
|
---|
| 11 | <!ENTITY efibootmgr-buildsize "592 KB">
|
---|
| 12 | <!ENTITY efibootmgr-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="efibootmgr" xreflabel="efibootmgr-&efibootmgr-version;">
|
---|
| 16 | <?dbhtml filename="efibootmgr.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
[fda29e4] | 19 | <date>$Date$</date>
|
---|
[756a787] | 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>efibootmgr-&efibootmgr-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="efibootmgr">
|
---|
| 25 | <primary sortas="a-efibootmgr">efibootmgr</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to efibootmgr</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | The <application>efibootmgr</application> package provides tools and
|
---|
| 33 | libraries to manipulate EFI variables.
|
---|
| 34 | </para>
|
---|
| 35 |
|
---|
[f1a7af6] | 36 | &lfs110a_checked;
|
---|
[756a787] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&efibootmgr-download-http;"/>
|
---|
| 43 | </para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&efibootmgr-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download MD5 sum: &efibootmgr-md5sum;
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download size: &efibootmgr-size;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Estimated disk space required: &efibootmgr-buildsize;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated build time: &efibootmgr-time;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect3">efibootmgr Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 75 | <para role="required">
|
---|
| 76 | <xref linkend="efivar"/> and
|
---|
| 77 | <xref linkend="popt"/>
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
| 80 | <para condition="html" role="usernotes">User Notes:
|
---|
| 81 | <ulink url="&blfs-wiki;/efibootmgr"/></para>
|
---|
| 82 |
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
| 86 | <title>Installation of efibootmgr</title>
|
---|
| 87 |
|
---|
| 88 | <para>
|
---|
| 89 | At first, fix an outdated hotfix declaration causing compilation
|
---|
| 90 | failure:
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
| 93 | <screen><userinput>sed -e '/extern int efi_set_verbose/d' -i src/efibootmgr.c</userinput></screen>
|
---|
| 94 |
|
---|
| 95 | <para>
|
---|
| 96 | Build <application>efibootmgr</application> with the following
|
---|
| 97 | commands:
|
---|
| 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <screen><userinput>make EFIDIR=LFS EFI_LOADER=grubx64.efi</userinput></screen>
|
---|
| 101 |
|
---|
| 102 | <para>
|
---|
| 103 | This package does not have a test suite.
|
---|
| 104 | </para>
|
---|
| 105 |
|
---|
| 106 | <para>
|
---|
| 107 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 108 | </para>
|
---|
| 109 |
|
---|
[cd73bb8] | 110 | <screen role="root"><userinput>make install EFIDIR=LFS</userinput></screen>
|
---|
[756a787] | 111 |
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="commands">
|
---|
| 115 | <title>Command Explanations</title>
|
---|
| 116 |
|
---|
| 117 | <para>
|
---|
| 118 | <parameter>EFIDIR=LFS</parameter>:
|
---|
[d5cc78a] | 119 | This option specifies the distro's subdirectory name under
|
---|
[756a787] | 120 | <filename class="directory">/boot/efi/EFI</filename>.
|
---|
| 121 | The building system of this package needs it to be set explicitly.
|
---|
| 122 | </para>
|
---|
| 123 |
|
---|
| 124 | <para>
|
---|
| 125 | <parameter>EFI_LOADER=grubx64.efi</parameter>:
|
---|
[d5cc78a] | 126 | This option specifies the name of the default EFI boot loader. It is
|
---|
| 127 | set to match the EFI boot loader provided by GRUB
|
---|
| 128 | <!--xref linkend="grub-efi"/-->.
|
---|
[756a787] | 129 | </para>
|
---|
| 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | <sect2 role="content">
|
---|
| 133 | <title>Contents</title>
|
---|
| 134 |
|
---|
| 135 | <segmentedlist>
|
---|
| 136 | <segtitle>Installed Programs</segtitle>
|
---|
| 137 |
|
---|
| 138 | <seglistitem>
|
---|
| 139 | <seg>
|
---|
| 140 | efibootdump and efibootmgr
|
---|
| 141 | </seg>
|
---|
| 142 | </seglistitem>
|
---|
| 143 | </segmentedlist>
|
---|
| 144 |
|
---|
| 145 | <variablelist>
|
---|
| 146 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 147 | <?dbfo list-presentation="list"?>
|
---|
| 148 | <?dbhtml list-presentation="table"?>
|
---|
| 149 |
|
---|
| 150 | <varlistentry id="efibootdump">
|
---|
[d5cc78a] | 151 | <term><command>efibootdump</command></term>
|
---|
[756a787] | 152 | <listitem>
|
---|
| 153 | <para>
|
---|
| 154 | is a tool to display individual UEFI boot options, from a file
|
---|
| 155 | or an UEFI variable
|
---|
| 156 | </para>
|
---|
| 157 | <indexterm zone="efibootdump">
|
---|
| 158 | <primary sortas="b-efibootdump">efibootdump</primary>
|
---|
| 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
| 162 |
|
---|
| 163 | <varlistentry id="efibootmgr-prog">
|
---|
| 164 | <term><command>efibootmgr</command></term>
|
---|
| 165 | <listitem>
|
---|
| 166 | <para>
|
---|
| 167 | is a tool to manipulate the UEFI Boot Manager
|
---|
| 168 | </para>
|
---|
| 169 | <indexterm zone="efibootmgr efibootmgr-prog">
|
---|
| 170 | <primary sortas="b-efibootmgr">efibootmgr</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
| 175 | </variablelist>
|
---|
| 176 |
|
---|
| 177 | </sect2>
|
---|
| 178 |
|
---|
| 179 | </sect1>
|
---|