lfs/chapter08/lilo.xml
Thomas Balu Walter 53b5ccf173 You
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@336 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2001-03-19 14:30:14 +00:00

37 lines
735 B
XML

<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>