Reinstallation of LILO

I use both windows98 and RedHat Linux6.1 in my machine.
I dual boot my machine using LILO. Some days back my windows98 got currupted and I reinstalled it. Now I don't get LILO boot at the system startup. I didn't created the
boot disk at the time of installing Linux.

What should I do to get my LILO boot again.

Note : Please don't tell me to re-install Linux again.

Regards
Pankaj
 
pankajAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dan_2228593Commented:
no, you don't have to reinstall linux again - win98 has (conveniently...) overwritten the MBR (stuff that loads lilo) with it's own so you'll somehow need to get back into your linux partition in order to get lilo to write back to the MBR again.

you should create a boot disk with rawrite.exe, boot.img and rescue.img on the redhat CD (in dosutils and images respectively)

e.g.
d:\dosutils\rawrite
(enter) d:\images\boot.img
(enter) a:
give it an empty floppy

do the same for d:\images\rescue.img

(assuming a: is your floppy drive, and d: your cdrom drive)

boot with the bootdisk, do a rescue, and you should be able to just run lilo again to rewrite the MBR.

hope that helps
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pankajAuthor Commented:
Hi Dan,

Thanks for your reply.

Pankaj
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.