LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-11-2002, 01:43 AM   #1
theruiner
LQ Newbie
 
Registered: Apr 2002
Posts: 4

Rep: Reputation: 0
LILO Help Si' vous plait


I recently deleted my Linux partitions. 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.
 
Old 04-11-2002, 01:49 AM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Do you want to remove it or repair it?
 
Old 04-11-2002, 01:59 AM   #3
theruiner
LQ Newbie
 
Registered: Apr 2002
Posts: 4

Original Poster
Rep: Reputation: 0
Remove for now. Reinstall later.
 
Old 04-11-2002, 02:45 AM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
You can restore the windows mbr with "fdisk/mbr" in dos.
 
Old 04-11-2002, 11:10 AM   #5
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
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.
 
Old 04-11-2002, 01:01 PM   #6
theruiner
LQ Newbie
 
Registered: Apr 2002
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 04-11-2002, 01:03 PM   #7
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
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.
 
Old 04-11-2002, 02:01 PM   #8
theruiner
LQ Newbie
 
Registered: Apr 2002
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 04:50 PM
Made a bootdisk with RedHat 7.1 to boot: Gave me SYSLINUX, not LILO:Want to use LILO Colonel Panic Linux - Software 0 08-17-2001 06:21 PM
Problem with Lilo not updating (yes I ran lilo after changing the conf) webguy Linux - General 2 06-24-2001 07:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration