aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/lilo.xml
blob: c998387b25e761d6aeb2dfc5ad1cfea285ca76a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<sect1 id="ch08-lilo">
<title>Adding an entry to LILO</title>

<para>
In order to being able to boot from this partition, we need to update our
/etc/lilo.conf file. The following lines get added to lilo.conf by running:
</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>
&lt;partition&gt; must be replaced by the partition's designation (which
would be /dev/hda5 in my case).
</para>

<para>
Now the boot loader gets updated by running:
</para>

<blockquote><literallayout>

	<userinput>/sbin/lilo</userinput>

</literallayout></blockquote>

</sect1>