Solved

lilo problems

Posted on 2000-04-19
4
301 Views
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.
0
Comment
Question by:isilver
  • 2
4 Comments
 
LVL 1

Expert Comment

by:bcoleman
ID: 2732758
Did you try booting dos off a drive and formatting it or fdisk it and repartition it?
0
 
LVL 2

Accepted Solution

by:
modulus earned 100 total points
ID: 2732772
What you should have done was:
lilo -u /dev/sda
             ^^^
              |
          replace this with whatever
          device you had lilo installed
          on.

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

or if you have DR-DOS:

FDISK => Re-write Master Boot Record.

Best wishes,
modulus
0
 
LVL 2

Expert Comment

by:modulus
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.
0
 
LVL 1

Expert Comment

by:andrewljohn70
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.
Cheers!
-Andrew
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Fine Tune your automatic Updates for Ubuntu / Debian
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 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…

680 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