- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/filesystems/uefi-bootloaders/grub-efi.xml
rf1a7af6 r3f2db3a6 9 9 <!ENTITY grub-efi-md5sum "cf0fd928b1e5479c8108ee52cb114363"> 10 10 <!ENTITY grub-efi-size "6.3 MB"> 11 <!ENTITY grub-efi-buildsize "1 85MB">12 <!ENTITY grub-efi-time " 0.9 SBU">11 <!ENTITY grub-efi-buildsize "137 MB"> 12 <!ENTITY grub-efi-time "1.0 SBU (on 64-bit LFS)"> 13 13 14 14 <!ENTITY unifont-download-http "https://unifoundry.com/pub/unifont/unifont-&unifont-version;/font-builds/unifont-&unifont-version;.pcf.gz"> 15 <!ENTITY unifont-md5sum "4 fbc33c8d8d25985f1bcdd4d28bc2420">15 <!ENTITY unifont-md5sum "428aa81e2433db172bbf7f4136cee6c5"> 16 16 <!ENTITY unifont-size "1.3 MB"> 17 18 <!ENTITY gcc-download-http "&gnu-http;/gcc/gcc-&gcc-version;/gcc-&gcc-version;.tar.xz"> 19 <!ENTITY gcc-md5sum "73bafd0af874439dcdb9fc063b6fb069"> 20 <!ENTITY gcc-size "81 MB"> 17 21 ]> 18 22 … … 20 24 <?dbhtml filename="grub-efi.html"?> 21 25 22 <sect1info>23 <date>$Date$</date>24 </sect1info>25 26 26 27 <title>GRUB-&grub-version; for EFI</title> … … 39 40 </para> 40 41 41 &lfs11 0a_checked;42 &lfs112_checked; 42 43 43 44 <bridgehead renderas="sect3">Package Information</bridgehead> … … 96 97 </itemizedlist> 97 98 99 <itemizedlist spacing="compact"> 100 <title>GCC (only needed if building on 32-bit LFS)</title> 101 <listitem> 102 <para> 103 Download (HTTP): <ulink url="&gcc-download-http;"/> 104 </para> 105 </listitem> 106 <listitem> 107 <para> 108 Download MD5 sum: &gcc-md5sum; 109 </para> 110 </listitem> 111 <listitem> 112 <para> 113 Download size: &gcc-size; 114 </para> 115 </listitem> 116 </itemizedlist> 117 98 118 <bridgehead renderas="sect3">GRUB Dependencies</bridgehead> 99 100 <bridgehead renderas="sect4">Required (runtime)</bridgehead>101 <para role="runtime">102 <xref linkend="efibootmgr"/>103 </para>104 119 105 120 <bridgehead renderas="sect4">Recommended</bridgehead> 106 121 <para role="recommended"> 122 <xref role="runtime" linkend="efibootmgr"/> (runtime) and 107 123 <xref linkend="freetype2"/> 108 124 </para> … … 140 156 </warning> 141 157 158 <para>If you are running a 32-bit LFS, prepare a 64-bit compiler:</para> 159 160 <!-- 'literal' is used deliberately to show this is only for 32-bit LFS --> 161 <screen><userinput>case $(uname -m) in i?86 ) 162 <literal>tar xf ../gcc-&gcc-version;.tar.xz 163 mkdir gcc-&gcc-version;/build 164 pushd gcc-&gcc-version;/build 165 ../configure --prefix=$PWD/../../x86_64-gcc \ 166 --target=x86_64-linux-gnu \ 167 --with-system-zlib \ 168 --enable-languages=c,c++ \ 169 --with-ld=/usr/bin/ld 170 make all-gcc 171 make install-gcc 172 popd 173 export TARGET_CC=$PWD/x86_64-gcc/bin/x86_64-linux-gnu-gcc</literal> 174 esac</userinput></screen> 175 142 176 <para> 143 177 Build <application>GRUB</application> with the following commands: … … 149 183 --enable-grub-mkfont \ 150 184 --with-platform=efi \ 185 --target=x86_64 \ 151 186 --disable-werror && 187 unset TARGET_CC && 152 188 make</userinput></screen> 153 189 … … 178 214 installed, it is possible to omit this option and build GRUB. However, 179 215 if <command>grub-mkfont</command> is not built, or the unicode font 180 data is not ava liable at the time GRUB is built, GRUB won't install216 data is not available at the time GRUB is built, GRUB won't install 181 217 any font for the boot loader. The GRUB boot menu will be displayed 182 218 using a coarse font and the early stage of kernel initialization will be … … 192 228 </para> 193 229 230 <para> 231 <parameter>--target=x86_64</parameter>: Ensures building GRUB for 232 x86_64 even if building on a 32-bit LFS system. Most EFI firmwares 233 on x86_64 does not support 32-bit bootloaders. 234 </para> 235 236 <para> 237 <option>--target=i386</option>: A few 32-bit x86 platforms have EFI 238 support. And, some x86_64 platforms have a 32-bit EFI implementation, 239 but they are very old and rare. Use this instead of 240 <parameter>--target=x86_64</parameter> if you are 241 <emphasis role='bold'>absolutely sure</emphasis> that LFS is running 242 on such a system. 243 </para> 244 194 245 </sect2> 195 246
Note:
See TracChangeset
for help on using the changeset viewer.