123456789101112131415161718192021222324252627282930313233343536 |
- <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 >> /etc/lilo.conf << "EOF"</userinput>
- image=/boot/lfskernel
- label=lfs
- root=<partition>
- read-only
- <userinput>EOF</userinput>
- </literallayout>
- <para>
- <partition> 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>
|