aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/lilo.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08/lilo.xml')
-rw-r--r--chapter08/lilo.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter08/lilo.xml b/chapter08/lilo.xml
index 1596ce644..7a9458317 100644
--- a/chapter08/lilo.xml
+++ b/chapter08/lilo.xml
@@ -14,7 +14,7 @@ the host system or the LFS system).</para>
system:</para>
<para><screen><userinput>logout</userinput>
-<userinput>cp $LFS/boot/lfskernel /boot</userinput></screen></para>
+<userinput>cp -f $LFS/boot/lfskernel /boot</userinput></screen></para>
<para>The next step is adding an entry to /etc/lilo.conf so that we can
choose LFS when booting the computer:</para>
@@ -36,8 +36,8 @@ partition's designation.</para>
<para>The last step is syncing the host system lilo config. files with the
LFS system:</para>
-<para><screen><userinput>cp /etc/lilo.conf $LFS/etc &amp;&amp;</userinput>
-<userinput>cp &lt;kernel images&gt; $LFS/boot</userinput></screen></para>
+<para><screen><userinput>cp -f /etc/lilo.conf $LFS/etc &amp;&amp;</userinput>
+<userinput>cp -f &lt;kernel images&gt; $LFS/boot</userinput></screen></para>
<para>To find out which kernel images files are being used, look at the
/etc/lilo.conf file and find the lines starting with