LILO problem. System doesn't boot.

  Could anyone help me? I tried to install Linux Slackware on my hard disk with MS-DOS file system (Windows'95). When I was asled about the place where LILO should be installed, I chose ROOT.Then I rebooted my machine... but only one thing I can see is:"Loading: dos" (dos is the name I gave when LILO asked me about it) and after some time again "Loading: dos" ang again, and again. System doesn't boot. I have no Linux boot disk. When I tried to work with computer using Win'95 boot disk I got a message "Incorrect media type
drive C:" :(. So now I can't access my disk.
  How can I make both Linux and Win'95 work properly? Where was my mistake during installation?

Thanks a lot.
Kirill.

kirillAsked:
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.

sauronCommented:
You installed LILO to the MBR - this is why the Win95 boot disk
will not recognize the partition type, and gives you an Incorrect Media error.

When you get the LILO prompt, at bootup, hit tab. This will give you a list of bootable systems - hopefully Linux should be among them. If you can boot into Linux, you can edit your /etc/lilo.conf, and fix the problem, otherwise you'll need to get a linux boot disk from somewhere. You could easily download a RedHat setup disk image, and write it to a floppy with rawrite - these are all bootable, and have LILO on them. When it gives you a boot prompt, you type 'linux root=/de/hda1' or whatever your root partition is, and the system should come up. Then you can fix the LILO config, and rerun /sbin/lilo.
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
kirillAuthor Commented:
How can I restore MBR to work under Win'95?
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.