Adding an entry to LILO

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:


image=<currently used image>
   label=<label>
   root=<partition>
   read-only

Replace <currently used image> by the kernel image file that you are using to boot your normal Linux system. <label> can be anything you want it to be. I named the label "lfs" What you enter as <label> is what you enter at the LILO-prompt when you choose with system to boot. <partition> must be replaced by your partition's designation (which would be /dev/hda5 in my case).

Now run the lilo program to update the boot loader.