The answer to your question is YES, you can reinstall LILO manually;
the other part of your question (which you didn't ask) is how to get
LILO working properly as it currently exists (which is the more important,
potentially, question!).

Have you tried running adding LBA32 to your /etc/lilo.conf and rerunning
lilo?  If you have a large partition (>8 GB) it won't boot from LILO without
it.  I would suggest that you try to find WHY LILO isn't working... 
RH7.0 came with the LBA32 optionable LILO, no upgrade required.

Put it in after prompt and before timeout, e.g.

prompt
lba32
timeout=50

You may also need to remove the word linear.  As in all changes to system
files MAKE A COPY FIRST!

Then run lilo:

/sbin/lilo -v

and you should be fixed.  You should also double check (first!) that you
have specified the Win98 partition.  This may look like this, although
you should correct it for your system:

image=/dev/hda
        label=Win98
        
Which needs to be added to the /etc/lilo.conf.  So, in total, you need
a lilo.conf something like this, minimum:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
lba32
timeout=50
default=Linux
image=/boot/vmlinuz-2.2.16-22
        label=Linux
        initrd=/boot/initrd-2.2.16-22.img
        read-only
        root=/dev/hda2
image=/dev/hda1
        label=Win98

Then run /sbin/lilo -v and that should do it, I think (though I'm 
sure that someone will correct me if I've made a mistake;  I'm 
doing this off the top of my head, and haven't had to do this 
in 5 months, so I could use a jog in the elbow if I've messed 
something up!)

Bill Ward
-----Original Message-----
From: K Old [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 3:51 PM
To: [EMAIL PROTECTED]
Subject: Reinstall LILO manually?


Hello all,

I was wondering if I could reinstall LILO manually without having to go 
through the reinstall process for RH 7.0.  For some reason LILO did not take

control of my MBR and the only way I can get into RH7 is to boot from a 
floppy.  I almost lost the floppy the other day, but was lucky and found it.

  So to keep from being dependent upon a floppy I've decided to get to the 
bottom of this problem.  I have edited the lilo.conf file and tried to test 
it by starting lilo, but I get an error message....something to do with 
memory...if I need the specific error message I can provide it.  Should I 
use another boot loader?  If so, are they easy to configure.  I basically 
want the option to be able to boot into either Win98 or RH.

Thanks,
Kevin
[EMAIL PROTECTED]



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to