mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
6370fa6cff
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@14 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
37 lines
724 B
Plaintext
37 lines
724 B
Plaintext
<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. Add the following lines to lilo.conf by running:
|
|
</para>
|
|
|
|
<literallayout>
|
|
|
|
<userinput>cat >> /etc/lilo.conf << "EOF"</userinput>
|
|
image=/boot/lfskernel
|
|
label=lfs
|
|
root=<partition>
|
|
read-only
|
|
<userinput>EOF</userinput>
|
|
|
|
</literallayout>
|
|
|
|
<para>
|
|
<partition> must be replaced by your partition's designation (which
|
|
would be /dev/hda5 in my case).
|
|
</para>
|
|
|
|
<para>
|
|
Now update the boot loader by running:
|
|
</para>
|
|
|
|
<blockquote><literallayout>
|
|
|
|
<userinput>/sbin/lilo</userinput>
|
|
|
|
</literallayout></blockquote>
|
|
|
|
</sect1>
|
|
|