Click to See Complete Forum and Search --> : Bugger, how do I remove LILO?


Linuxneophyte
06-28-2001, 04:01 PM
I was playing around last night. I had Win98 and Redhat on my harddrive using LILO to switch between them. I wanted to delete Redhat, so I just completely removed the partition and formatted it. I guess that wasn't too kosher or something. So now when I boot it hangs up at LI.

So how do I clear my MBR (Master boot record right?) so I can reinstall Win98 and then reinstall Linux w/ a new LILO installation.

ille_pugil42
06-28-2001, 04:04 PM
either fdisk /mbr or format /mbr will "reflash" the master boot record back into windows. Or you can also reinstall windows. Run those commands from the command prompt (duh) in windows.

bdg1983
06-28-2001, 06:05 PM
Just in case you need to delete the linux partition again, you can remove lilo first.

/sbin/lilo -u

sean9182
06-28-2001, 07:20 PM
Well just for the record, LI means that LILO has loaded, and it can locate the second stage boot loader (/boot/boot.b), but this second stage loader won't run. Was Linux your default OS?

-sean9182

ille_pugil42
06-29-2001, 08:01 AM
if you're that far already, just repartition, reboot with win98 cd or floppy, reinstall windows (which wipes the mbr), and go from there.