aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/kernel.xml4
-rw-r--r--chapter08/lilo.xml6
2 files changed, 5 insertions, 5 deletions
diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml
index c265ec668..cb88bc77c 100644
--- a/chapter08/kernel.xml
+++ b/chapter08/kernel.xml
@@ -17,8 +17,8 @@ following commands are run to build the kernel:</para>
<userinput>make bzImage &amp;&amp;</userinput>
<userinput>make modules &amp;&amp;</userinput>
<userinput>make modules_install &amp;&amp;</userinput>
-<userinput>cp arch/i386/boot/bzImage /boot/lfskernel &amp;&amp;</userinput>
-<userinput>cp System.map /boot</userinput></screen></para>
+<userinput>cp -f arch/i386/boot/bzImage /boot/lfskernel &amp;&amp;</userinput>
+<userinput>cp -f System.map /boot</userinput></screen></para>
<para>Note: the arch/i386/boot/bzImage path may vary on
different platforms.</para>
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