- Timestamp:
- Jul 11, 2006, 10:38:09 AM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 73b6cdfe
- Parents:
- 3df6c70
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/x86_64-64/lilo.xml
r3df6c70 r37efcbc 30 30 xpointer="xpointer(//*[@os='b'])"/> 31 31 32 <para os="c">If you have multiple systems on your machine using a different 33 bootloader such as GRUB, you may prefer to use that instead - consult the 34 appropriate documentation. The rest of this section assumes you are going 35 to use Lilo.</para> 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../../bootable/x86_64-64/lilo.xml" 34 xpointer="xpointer(//*[@os='c'])"/> 35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../../bootable/x86_64-64/lilo.xml" 38 xpointer="xpointer(//*[@os='c'])"/> 36 39 37 40 <para os="d">Earlier, we compiled and installed the Lilo boot loader software … … 42 45 dvdrtools) as a test and as a backup.</para> 43 46 44 <para os="e">Normally, you interact with Lilo by using the cursor and enter 45 keys to select from the available option(s), but sometimes it is necessary to 46 add other boot options, such as e.g. 'init=/bin/bash' to debug boot failures. 47 The more your keyboard layout differs from the US qwerty layout, the harder 48 it will be to type boot options unless Lilo knows about your keyboard layout. 49 So, we will create a key table for Lilo (.ktl) file - at one point in the 50 documentation these are referred to as .klt files, which may be a typo, but 51 has been followed by some distros. The name, and location, are not important 52 but it is conventional to put these in /boot with the name representing the 53 key layout. For a British keyboard layout, the following command will 54 achieve this:</para> 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 48 href="../../bootable/x86_64-64/lilo.xml" 49 xpointer="xpointer(//*[@os='e'])"/> 55 50 56 51 <screen os="f" role="nodump"><userinput>keytab-lilo.pl uk >i${CLFS}/boot/uk.ktl</userinput></screen> 57 52 58 < para os="g">The argument to the command is the name of the keymap, or if59 necessary you can specify the full path to the keymap. Use whatever60 is appropriate for your keyboard.</para>53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 54 href="../../bootable/x86_64-64/lilo.xml" 55 xpointer="xpointer(//*[@os='g'])"/> 61 56 62 <para os="i">The next step is to create /etc/lilo.conf</para> 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 58 href="../../bootable/x86_64-64/lilo.xml" 59 xpointer="xpointer(//*[@os='i'])"/> 63 60 64 61 <screen os="j" role="nodump"><userinput>cat > ${CLFS}/etc/lilo.conf << "EOF" … … 89 86 90 87 91 <para os="k">Replace <bootdisk> with the name of the disk (or 92 partition) on which the boot sector is to be written, e.g. sda. Replace 93 <keytable> with the name of the keytable file you created, and 94 <partition> with the name of the root partition for the new 95 system. 96 </para> 88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 89 href="../../bootable/x86_64-64/lilo.xml" 90 xpointer="xpointer(//*[@os='k'])"/> 97 91 98 92 <warning os="l"> … … 105 99 </warning> 106 100 107 <para os="m">Run Lilo:</para> 101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 102 href="../../bootable/x86_64-64/lilo.xml" 103 xpointer="xpointer(//*[@os='m'])"/> 108 104 109 105 <screen os="n" role="nodump"><userinput>/tools/bin/lilo-static -v</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.