diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2019-01-21 18:25:55 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2019-01-21 18:25:55 +0000 |
commit | d3c9936abf2ed65588b5411eb6c453ebf428bc74 (patch) | |
tree | cddb090b30e347620146fc0e42811a7e15223541 | |
parent | 54739fefdf92cee25223ebd5d611610a984f6699 (diff) |
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
-rw-r--r-- | chapter08/grub.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter08/grub.xml b/chapter08/grub.xml index 295085bc0..bb1125b05 100644 --- a/chapter08/grub.xml +++ b/chapter08/grub.xml @@ -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'". |