lilo problems

Posted on 2000-04-19
Medium Priority
Last Modified: 2010-04-20
Here's what I did.  I installed redhat linux 6.0 and with it I installed lilo.  Now I uninstalled linux without uninstalling lilo.  

I still am coming up with the lilo bootup screen and I would like to know how to get rid of it because it is freezing my computer.  When it starts up it said li.  That's it.  How do I uninstall it without installing linux again.
Question by:isilver
  • 2

Expert Comment

ID: 2732758
Did you try booting dos off a drive and formatting it or fdisk it and repartition it?

Accepted Solution

modulus earned 300 total points
ID: 2732772
What you should have done was:
lilo -u /dev/sda
          replace this with whatever
          device you had lilo installed

What you can do NOW if you have MS-DOS is:

or if you have DR-DOS:

FDISK => Re-write Master Boot Record.

Best wishes,

Expert Comment

ID: 2732829
In order to get DOS, go to your bios and tell it that the boot order is from the floppy and stick in a dos boot disk.

Alternatively you may have an emergency boot floppy  and a root floppy that you made during your linux installation depending on the distro.  They may have fdisk on them, if not then you can overwrite the master boot record with the original boot record if you saved that during your install?  You can do this with

dd if=XXXXX of=/dev/hda bs=445 count=1
       ^^^^     ^^^^^^^
         |         this name should
      name of      be for the device
      original     you installed lilo
      boot record  on

Whichever you do you stand a good chance of losing your partition table.  Take your time.

Expert Comment

ID: 2733861
Hi jsilver,
a very simple solution to the problem is

boot to windows and go to the MSDOS prompt.

type the following at prompt

fdisk /MBR

Then try to reboot your computer.
Tell us if this solves your problem.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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.

Join & Write a Comment

Fine Tune your automatic Updates for Ubuntu / Debian
This article explains how to use the rsync command to create backups and sync data across hosts. Rsync is a very useful command that is often used to copy data, make backups, migrate hosts, and bridge the gap between site staging and production envi…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

627 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