We help IT Professionals succeed at work.

LILO problem. System doesn't boot.

kirill
kirill asked
on
Medium Priority
246 Views
Last Modified: 2013-12-15
  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.

Comment
Watch Question

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

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
How can I restore MBR to work under Win'95?
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.