source: BOOK/boot/x86_64-64/lilo.xml@ 2d83034

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 2d83034 was 4e60ea5, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Updated GRUB to 1.98

  • Property mode set to 100644
File size: 4.0 KB
RevLine 
[48b28ab]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[48b28ab]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-boot-lilo">
9 <?dbhtml filename="lilo.html"?>
10
[fb40919]11 <title>Making the CLFS System Bootable</title>
[48b28ab]12
13 <indexterm zone="ch-boot-lilo">
14 <primary sortas="a-Lilo">Lilo</primary>
15 <secondary>configuring</secondary>
16 </indexterm>
17
[4e60ea5]18<!--
[407772b]19 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
20 href="../../final-system/x86/grub.xml"
21 xpointer="xpointer(//*[@os='n1'])"/>
[4e60ea5]22-->
[407772b]23
[48b28ab]24 <para os="a">You are nearly ready to boot to the new temporary system.
25 One of the last things to do is to ensure that the system can be booted.
[3df6c70]26 The instructions below apply only to x86_64 machines on which Lilo is going
27 to be installed. Information on using a pre-installed GRUB on machines
[48b28ab]28 currently running as x86 or x86_64 multilib should be available in the
29 usual resource-specific locations for those architectures. If you have
[3df6c70]30 installed an x86 version of Lilo, these instructions should be modified
[48b28ab]31 to refer to the <command>lilo</command> and <command>keytab-lilo.pl
32 </command> commands you installed on the host system.</para>
33
[4e60ea5]34<!--
[48b28ab]35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="../x86/grub.xml"
37 xpointer="xpointer(//*[@os='b'])"/>
[4e60ea5]38-->
[48b28ab]39
[37efcbc]40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
41 href="../../bootable/x86_64-64/lilo.xml"
42 xpointer="xpointer(//*[@os='c'])"/>
43
[48b28ab]44 <para os="d">Earlier, we compiled and installed the Lilo boot loader software
45 in preparation for this step. The procedure involves writing a boot image to
46 a specific location on the hard drive. If you have a floppy disk drive, or
[087aba98]47 if you have installed a CD recording program, we highly recommend using
48 <command>mkrescue</command> to create a Lilo boot floppy, or CD (using e.g.
49 <command>dvdrecord</command> from dvdrtools) as a test and as a backup.</para>
[48b28ab]50
[37efcbc]51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
52 href="../../bootable/x86_64-64/lilo.xml"
53 xpointer="xpointer(//*[@os='e'])"/>
[48b28ab]54
[e990786d]55<screen os="f" role="nodump"><userinput>keytab-lilo.pl uk >${CLFS}/boot/uk.ktl</userinput></screen>
[48b28ab]56
[37efcbc]57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58 href="../../bootable/x86_64-64/lilo.xml"
59 xpointer="xpointer(//*[@os='g'])"/>
[48b28ab]60
[37efcbc]61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62 href="../../bootable/x86_64-64/lilo.xml"
63 xpointer="xpointer(//*[@os='i'])"/>
[48b28ab]64
[3f76cac]65<screen os="j" role="nodump"><userinput>cat &gt; ${CLFS}/etc/lilo.conf &lt;&lt; "EOF"
[48b28ab]66<literal># Begin /etc/lilo.conf
67# lilo.conf
68#
69# global options
70boot=/dev/&lt;bootdisk&gt;
71keytable=/boot/&lt;keytable&gt;
72lba32
73map=/boot/map
74prompt
75
76# set the name of the default image to boot
[3f76cac]77default=clfs
[48b28ab]78
79# define an image
[b32999c]80image=/boot/clfskernel&linux-version;
[3f76cac]81 label=clfs
[48b28ab]82 root=/dev/&lt;partition&gt;
83 read-only
84# optionally add parameters to pass, e.g.
85# append="video=radeonfb:1024x768-16@70"
86
87# if you had an existing system, you could
88# add its details here.
89EOF</literal></userinput></screen>
90
91
[37efcbc]92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
93 href="../../bootable/x86_64-64/lilo.xml"
94 xpointer="xpointer(//*[@os='k'])"/>
[48b28ab]95
96 <warning os="l">
97 <para>The following command will overwrite any current boot loader.
98 Do not run the command if this is not desired. If you have
99 cross-compiled on a different machine from the target, you must
100 install the bootloader on the target machine, the installed boot
101 block is not a file which can be copied with <command>tar</command>.
102 </para>
103 </warning>
104
[37efcbc]105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
106 href="../../bootable/x86_64-64/lilo.xml"
107 xpointer="xpointer(//*[@os='m'])"/>
[48b28ab]108
[4bf670f1]109<screen os="n" role="nodump"><userinput>/tools/bin/lilo.static -v -C ${CLFS}/etc/lilo.conf</userinput></screen>
[48b28ab]110
111 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
112 href="../../bootable/x86_64-64/lilo.xml"
113 xpointer="xpointer(//*[@os='o'])"/>
114
115</sect1>
Note: See TracBrowser for help on using the repository browser.