| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 | <sect2><title>Configuring Lilo</title><para>We're not going to create lilo's configuration file from scratch, but we'lluse the file from your normal Linux system. This file is different on everymachine and thus I can't create it here. Since you would want to have thesame options regarding lilo as you have when you're using your normal Linuxsystem you would create the file exactly as it is on the normal system.</para><para>Copy the Lilo configuration file and kernel images that Lilo uses byrunning the following commands from a shell on your normal Linux system.Don't execute these commands from your chroot'ed shell.</para><blockquote><literallayout>	<userinput>cp /etc/lilo.conf $LFS/etc</userinput>	<userinput>cp /boot/<kernel images> $LFS/boot</userinput></literallayout></blockquote><para>Before you can execute the second command you need to know the names ofthe kernel images. You can't just copy all files from the /bootdirectory. The /etc/lilo.conf file contains the names of the kernelimages you're using. Open the file and look for lines like this:</para><blockquote><literallayout>	image=/boot/vmlinuz</literallayout></blockquote><para>Look for all <emphasis>image</emphasis> variables and their valuesrepresent the name and location of the image files. These files willusually be in /boot but they might be in other directories as well,depending on your distribution's conventions.</para></sect2>
 |