r1970 - / trunk/BOOK/boot/x86_64-64 trunk/BOOK/bootable/x86_64-64

jim at linuxfromscratch.org jim at linuxfromscratch.org
Tue Jul 11 12:46:39 PDT 2006

Author: jim
Date: 2006-07-11 13:46:38 -0600 (Tue, 11 Jul 2006)
New Revision: 1970

 r4492 at server (orig r2071):  chris at beaker67.com | 2006-07-11 10:38:09 -0700
 Updated lilo page in boot section to use xincludes

Property changes on: 
Name: svk:merge
   - b6734a72-470d-0410-b049-f317dca95413:/:2070
   + b6734a72-470d-0410-b049-f317dca95413:/:2071

Modified: trunk/BOOK/boot/x86_64-64/lilo.xml
--- trunk/BOOK/boot/x86_64-64/lilo.xml	2006-07-11 19:46:25 UTC (rev 1969)
+++ trunk/BOOK/boot/x86_64-64/lilo.xml	2006-07-11 19:46:38 UTC (rev 1970)
@@ -29,11 +29,14 @@
-  <para os="c">If you have multiple systems on your machine using a different
-  bootloader such as GRUB, you may prefer to use that instead - consult the
-  appropriate documentation.  The rest of this section assumes you are going
-  to use Lilo.</para> 
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../bootable/x86_64-64/lilo.xml"
+  xpointer="xpointer(//*[@os='c'])"/>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../bootable/x86_64-64/lilo.xml"
+  xpointer="xpointer(//*[@os='c'])"/>
   <para os="d">Earlier, we compiled and installed the Lilo boot loader software
   in preparation for this step. The procedure involves writing a boot image to
   a specific location on the hard drive. If you have a floppy disk drive, or
@@ -41,25 +44,19 @@
   mkrescue to create a Lilo boot floppy, or CD (using e.g. dvdrecord from
   dvdrtools) as a test and as a backup.</para>
-  <para os="e">Normally, you interact with Lilo by using the cursor and enter
-  keys to select from the available option(s), but sometimes it is necessary to
-  add other boot options, such as e.g. 'init=/bin/bash' to debug boot failures.
-  The more your keyboard layout differs from the US qwerty layout, the harder
-  it will be to type boot options unless Lilo knows about your keyboard layout.
-  So, we will create a key table for Lilo (.ktl) file - at one point in the
-  documentation these are referred to as .klt files, which may be a typo, but
-  has been followed by some distros.  The name, and location, are not important
-  but it is conventional to put these in /boot with the name representing the
-  key layout.  For a British keyboard layout, the following command will
-  achieve this:</para> 
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../bootable/x86_64-64/lilo.xml"
+  xpointer="xpointer(//*[@os='e'])"/>
 <screen os="f" role="nodump"><userinput>keytab-lilo.pl uk >i${CLFS}/boot/uk.ktl</userinput></screen>
-  <para os="g">The argument to the command is the name of the keymap, or if
-    necessary you can specify the full path to the keymap.  Use whatever
-    is appropriate for your keyboard.</para>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../bootable/x86_64-64/lilo.xml"
+  xpointer="xpointer(//*[@os='g'])"/>
-  <para os="i">The next step is to create /etc/lilo.conf</para>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../bootable/x86_64-64/lilo.xml"
+  xpointer="xpointer(//*[@os='i'])"/>
 <screen os="j" role="nodump"><userinput>cat > ${CLFS}/etc/lilo.conf << "EOF"
 <literal># Begin /etc/lilo.conf
@@ -88,12 +85,9 @@
-  <para os="k">Replace <bootdisk> with the name of the disk (or
-    partition) on which the boot sector is to be written, e.g. sda. Replace
-    <keytable> with the name of the keytable file you created, and
-    <partition> with the name of the root partition for the new
-    system.
-  </para>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../bootable/x86_64-64/lilo.xml"
+  xpointer="xpointer(//*[@os='k'])"/>
   <warning os="l">
     <para>The following command will overwrite any current boot loader.
@@ -104,7 +98,9 @@
-  <para os="m">Run Lilo:</para>
+  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+  href="../../bootable/x86_64-64/lilo.xml"
+  xpointer="xpointer(//*[@os='m'])"/>
 <screen os="n" role="nodump"><userinput>/tools/bin/lilo-static -v</userinput></screen>

Modified: trunk/BOOK/bootable/x86_64-64/lilo.xml
--- trunk/BOOK/bootable/x86_64-64/lilo.xml	2006-07-11 19:46:25 UTC (rev 1969)
+++ trunk/BOOK/bootable/x86_64-64/lilo.xml	2006-07-11 19:46:38 UTC (rev 1970)
@@ -67,7 +67,7 @@
     bootloader, or defective configuration file, may render the system
-    <para os="i">The next step is to create /etc/lilo.conf</para>
+    <para os="i">The next step is to create /etc/lilo.conf:</para>
 <screen os="j" role="nodump"><userinput>cat > /etc/lilo.conf << "EOF"
 <literal># Begin /etc/lilo.conf

More information about the cross-lfs mailing list