Posted on 1997-05-09
I just installed Slackware Linux 3.2.0 w/ kernel 2.0.29 and I wanted to install LILO so I could boot from my hard drive. I ran liloconfig and told it all the things it needed to know (where to install, etc.) . I told it to install to the superblock of my root linux partition /dev/hda2. I want to install it to the superblock because i'm dual booting with Windows NT 4.0 and I use NT's boot loader ntdlr to boot. I added a choice in ntdlr's boot menu called Linux. ntdlr is installed in my MBR. So once I select Linux from the menu, in theory LILO would take over if it were installed. However, when I try to install it, it gives me an error message saying that there is a syntax error on the 8th line of my /etc/lilo.conf file. I take a look at it and I can't seem to find what's wrong with it; everything looks fine. In fact if i'm looking at the right line, the 8th line is just a parameter for the timeout delay so that doesn't make any sense what's wrong with it.
How do I get around this and install LILO and do I have my configuration setup properly to do this?
My hard drive looks like:
/dev/hda1 NTFS/HPFS 1200 MB
/dev/hda2 Linux native ex2fs 95 MB
here's what my /etc/lilo.conf looks like:
# LILO configuration file
# generated by 'liloconfig'
# Start LILO global section
append = "mount root=/dev/hda2"
# compact # faster, but won't work on all systems
delay = 300
vga = normal # force sane state
# ramdisk = 0 # paranoia setting
# End LILO global section
# LILO bootable partition config begins
image = /vmlinuz
root = /dev/hda2
label = Linux
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
Any help would be great.