Add a note about the --target

option for grub-install

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11503 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Pierre Labastie 2019-01-21 18:25:55 +00:00
parent 54739fefdf
commit d3c9936abf

View File

@ -113,6 +113,14 @@ xorriso -as cdrecord -v dev=/dev/cdrw blank=as_needed grub-img.iso</userinput></
<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'".