LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   LILO Help Si' vous plait (https://www.linuxquestions.org/questions/linux-general-1/lilo-help-si-vous-plait-18260/)

theruiner 04-11-2002 01:43 AM

LILO Help Si' vous plait
 
I recently deleted my Linux partitions.:tisk: All was going good (shut down and resterted several times) untill I started installing a new sound card. Long story short when I went to restart I got the LIL- error code. Pulled out the card at first before I knew what the code was... Found out what it means and now am trying to fix it. Any help would be greatly appreciated.:) Thanks.

Aussie 04-11-2002 01:49 AM

Do you want to remove it or repair it?

theruiner 04-11-2002 01:59 AM

Remove for now. Reinstall later.

Aussie 04-11-2002 02:45 AM

You can restore the windows mbr with "fdisk/mbr" in dos.

Thymox 04-11-2002 11:10 AM

Be wary of this, though. It will only work if you only installed Linux the once.

With this example, doing an fdisk /mbr will restore:

Installed Windows (or comp came with it).
Install Linux.
Uninstall Linux.

In this example, doing an fdisk /mbr will not restore it:

Installed Windows (or comp came with it).
Install Linux.
..fiddle & cock-up...
Re-install Linux.
Uninstall Linux.

Basically, when the MBR is overwritten, a copy of the last one is kept. When you do an fdisk /mbr it replaces the current one with the copy...but in the 2nd example both the current one and the copy contain LiLo so it wouldn't be effective.

If all else fails, you can try XOSL to get things going.

theruiner 04-11-2002 01:01 PM

Ok. I'll try XOSL. But I can't figure out how to get to dos. It just comes up with the LIL- and I can't enter anything.

Thymox 04-11-2002 01:03 PM

A Windows boot floppy? Obviously you'll also have to set your BIOS to boot from the floppy before the harddisk, if it's not already setup like that.

theruiner 04-11-2002 02:01 PM

Well anyway, I booted off the XP cdrom and went to the recovery console and ran fixmbr... In the process of reinstalling windows now, Linux later. Thanks everyone.:Pengy:


All times are GMT -5. The time now is 08:03 AM.