?
Solved

Reinstallation of LILO

Posted on 1999-12-07
2
Medium Priority
?
346 Views
Last Modified: 2010-04-20
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
 
0
Comment
Question by:pankaj
2 Comments
 

Accepted Solution

by:
dan_2228593 earned 150 total points
ID: 2264079
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
 

Author Comment

by:pankaj
ID: 2268343
Hi Dan,

Thanks for your reply.

Pankaj
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
This installment of Make It Better gives Media Temple customers the latest news, plugins, and tutorials to make their Grid shared hosting experience that much smoother.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to moveā€¦
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question