2001-01-24 00:31:17 +00:00
|
|
|
<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
|
2001-03-19 14:30:14 +00:00
|
|
|
/etc/lilo.conf file. The following lines get added to lilo.conf by running:
|
2001-01-24 00:31:17 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<literallayout>
|
|
|
|
|
|
|
|
<userinput>cat >> /etc/lilo.conf << "EOF"</userinput>
|
|
|
|
image=/boot/lfskernel
|
|
|
|
label=lfs
|
|
|
|
root=<partition>
|
|
|
|
read-only
|
|
|
|
<userinput>EOF</userinput>
|
|
|
|
|
|
|
|
</literallayout>
|
|
|
|
|
|
|
|
<para>
|
2001-03-19 14:30:14 +00:00
|
|
|
<partition> must be replaced by the partition's designation (which
|
2001-01-24 00:31:17 +00:00
|
|
|
would be /dev/hda5 in my case).
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2001-03-19 14:30:14 +00:00
|
|
|
Now the boot loader gets updated by running:
|
2001-01-24 00:31:17 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<blockquote><literallayout>
|
|
|
|
|
|
|
|
<userinput>/sbin/lilo</userinput>
|
|
|
|
|
|
|
|
</literallayout></blockquote>
|
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|