|
@@ -41,15 +41,8 @@ the line <userinput>read-only</userinput> should be changed to
|
|
|
<para>The last step is synchronizing the host system's lilo
|
|
|
configuration files with the LFS system's:</para>
|
|
|
|
|
|
-<para><screen><userinput>cp /etc/lilo.conf $LFS/etc &&</userinput>
|
|
|
-<userinput>cp <kernel images> $LFS/boot</userinput></screen></para>
|
|
|
-
|
|
|
-<para>To find out which kernel images files are being used, look at the
|
|
|
-/etc/lilo.conf file and look for the lines starting with
|
|
|
-<emphasis>image=</emphasis>. If your host system has kernel files in
|
|
|
-other places than the /boot directory, make sure you update the paths
|
|
|
-in the $LFS/etc/lilo.conf file so that it does look for them in the
|
|
|
-/boot directory.</para>
|
|
|
+<para><screen><userinput>cp /etc/lilo.conf $LFS/etc &&
|
|
|
+cp $(grep "image=" /etc/lilo.conf | cut -f 2 -d "=") $LFS/boot</userinput></screen></para>
|
|
|
|
|
|
</sect1>
|
|
|
|