lilo.xml 735 B

123456789101112131415161718192021222324252627282930313233343536
  1. <sect1 id="ch08-lilo">
  2. <title>Adding an entry to LILO</title>
  3. <para>
  4. In order to being able to boot from this partition, we need to update our
  5. /etc/lilo.conf file. The following lines get added to lilo.conf by running:
  6. </para>
  7. <literallayout>
  8. <userinput>cat &gt;&gt; /etc/lilo.conf &lt;&lt; "EOF"</userinput>
  9. image=/boot/lfskernel
  10. label=lfs
  11. root=&lt;partition&gt;
  12. read-only
  13. <userinput>EOF</userinput>
  14. </literallayout>
  15. <para>
  16. &lt;partition&gt; must be replaced by the partition's designation (which
  17. would be /dev/hda5 in my case).
  18. </para>
  19. <para>
  20. Now the boot loader gets updated by running:
  21. </para>
  22. <blockquote><literallayout>
  23. <userinput>/sbin/lilo</userinput>
  24. </literallayout></blockquote>
  25. </sect1>