boot your live disk
mount sda1 and rbind mount dev proc and sys and then chroot
Code:
mount /dev/sda1 /mnt
for i in dev proc sys;do
mount --rbind /${i} /mnt/${i}
done
chroot /mnt
edit lilo.conf to point at sda
run/install lilo
I suppose the live disk might be consuming the available ram
so you may need a live env. with a smaller footprint