Boot from the live CD, then do something like this in a console window:
Code:
sudo bash
mount -w /dev/hda1 /mnt/hda1
chroot  /mnt/hda1
lilo
exit