Author: pierre
Date: Mon Jan 21 10:25:55 2019
New Revision: 11503
Log:
Add a note about the --target
option for grub-install
Modified:
trunk/BOOK/chapter08/grub.xml
Modified: trunk/BOOK/chapter08/grub.xml
==============================================================================
--- trunk/BOOK/chapter08/grub.xml Mon Jan 21 09:19:17 2019 (r11502)
+++ trunk/BOOK/chapter08/grub.xml Mon Jan 21 10:25:55 2019 (r11503)
@@ -113,6 +113,14 @@
<screen role="nodump"><userinput>grub-install /dev/sda</userinput></screen>
+ <note>
+ <para>If the system has been booted using UEFI,
+ <command>grub-install</command> will try to install files for the
+ <emphasis>x86_64-efi</emphasis> target, but those files
+ have not been installed in chapter 6. If this is the case, add
+ <option>--target i386-pc</option> to the command above.</para>
+ </note>
+
<!-- This does not seem to be true any more
<note><para><application>grub-install</application> is a script and calls
another
program, grub-probe, that may fail with a message "cannot stat
`/dev/root'".
--
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page