aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/lilo.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08/lilo.xml')
-rw-r--r--chapter08/lilo.xml46
1 files changed, 27 insertions, 19 deletions
diff --git a/chapter08/lilo.xml b/chapter08/lilo.xml
index 98c4363fb..6abec4e89 100644
--- a/chapter08/lilo.xml
+++ b/chapter08/lilo.xml
@@ -18,24 +18,28 @@ the host system or the LFS system).
First we'll exit chroot and copy the lfskernel file to the host system:
</para>
-<blockquote><literallayout>
- <userinput>logout</userinput>
- <userinput>cp $LFS/boot/lfskernel /boot</userinput>
-</literallayout></blockquote>
+<para>
+<screen>
+<userinput>logout</userinput>
+<userinput>cp $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>
-<literallayout>
- <userinput>cat &gt;&gt; /etc/lilo.conf &lt;&lt; "EOF"</userinput>
- image=/boot/lfskernel
- label=lfs
- root=&lt;partition&gt;
- read-only
- <userinput>EOF</userinput>
-</literallayout>
+<para>
+<screen>
+<userinput>cat &gt;&gt; /etc/lilo.conf &lt;&lt; "EOF"</userinput>
+image=/boot/lfskernel
+ label=lfs
+ root=&lt;partition&gt;
+ read-only
+<userinput>EOF</userinput>
+</screen>
+</para>
<para>
&lt;partition&gt; must be replaced by the LFS partition's designation.
@@ -45,19 +49,23 @@ choose LFS when booting the computer:
Now the boot loader gets updated by running:
</para>
-<blockquote><literallayout>
- <userinput>/sbin/lilo</userinput>
-</literallayout></blockquote>
+<para>
+<screen>
+<userinput>/sbin/lilo</userinput>
+</screen>
+</para>
<para>
The last step is syncing the host system lilo config. files with the
LFS system:
</para>
-<blockquote><literallayout>
- <userinput>cp /etc/lilo.conf $LFS/etc &amp;&amp;</userinput>
- <userinput>cp &lt;kernel images&gt; $LFS/boot</userinput>
-</literallayout></blockquote>
+<para>
+<screen>
+<userinput>cp /etc/lilo.conf $LFS/etc &amp;&amp;</userinput>
+<userinput>cp &lt;kernel images&gt; $LFS/boot</userinput>
+</screen>
+</para>
<para>
To find out which kernel images files are being used, look at the