aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/grub.xml8
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'".