LinuxQuestions.org
Help answer threads with 0 replies.
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 08-25-2002, 08:34 PM   #1
chem1
Member
 
Registered: Jun 2002
Location: White House, Washignton DC
Distribution: Red Hat 9
Posts: 270

Rep: Reputation: 30
Angry LILO Problems.......LIL-


Hello Linux Gurus,
This morning , when I booted my dual-boot PC, and tried to load Linux all that I got was

LIL-


I wonder what this means. I have read somewhere that this is a problem with LILO....but I have no clue what it is and how to solve it.

PLease remebr that I have NOT installed anything and that until last night my PC was working OK. Also I can run W2K and there is no problem with it. My MBR is set up for W2K and I have Linux on my secondary master drive

Thankx in advance...
 
Old 08-25-2002, 08:50 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you need to install lilo in the mbr and configure it for dual boot

first use a bootdisk to get into linux

then setup the lilo.conf file


then run lilo
 
Old 08-25-2002, 08:53 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
So if everything is correct then this means you just need to run lilo

And that windows has screwed up another perfectly good linux installation
 
Old 08-26-2002, 10:55 AM   #4
abrakadabra
Member
 
Registered: Apr 2002
Location: Denver
Distribution: SuSe,RedHat,Mandrake,
Posts: 109

Rep: Reputation: 16
Hi chem1,
Here is a rundown on the stages of LILO

LILO Description
Prompt
Display

L The first stage boot loader started, but it was unable to load the second stage. This usually indicates a media failure.

LI The first stage and the second stage of the boot loader have successfully run. This typically means that LILO cannot find the kernel.

LIL Can't read the data fro the map file. Usually caused by a media error.

LIL? The secodn stage boot loader was loaded but at an incorrecto address.

LIL- The descriptor table is corrupt.


LILO LILO has successfully completed.


Since you are getting LIL- I'd try to run LILO to try correcting the Problem.

Good luck!

 
Old 08-26-2002, 11:26 AM   #5
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Grrr. The mighty grub steps in again.

I'll presume you're using Redhat because everyone else does.

Download the RPM from here and install it:

# rpm -i grub-0.90-11.i386.rpm

Next, as root, run it:

# grub

then install it on a blank floppy:

grub-install '/dev/fd0'

and you have a boot disk. If you're happy with it:

grub-install '/dev/hda'

if you have an IDE.

Bert
 
Old 08-26-2002, 03:02 PM   #6
jetblackz
Member
 
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
My guess would be you didn't install any bootloader on /dev/hdb1. You should do so either in rescue or via boot floppy.

If you want NT bootloader to take care of Linux, here goes:
# After you installed 2K on /dev/hda1
# & Linux with lilo on /dev/hda2
#
# Replace /dev/hdb1 if need be
#
Boot Linux & open terminal
dd if=/dev/hdb1 of=boot.lnx bs=512 count=1
cp boot.lnx /mnt/floppy
Boot 2K
copy boot.lnx c:\
edit boot.ini
After multi(0)..., add a new line
C:\boot.lnx="linux"
Reboot
 
Old 08-27-2002, 11:17 PM   #7
chem1
Member
 
Registered: Jun 2002
Location: White House, Washignton DC
Distribution: Red Hat 9
Posts: 270

Original Poster
Rep: Reputation: 30
OK...
I have booted using a Rescue Floppy and here is my LILO.CONF
**********************************************************
prompt
timeout="60"
default=Linux
boot="/dev/hdc1"
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear
#image=/boot/vmlinuz-2.4.18-3
# label=Linux.bak
# initrd=/boot/initrd-2.4.18-3.img
# read-only
# root=/dev/hdc2
# append="hdd=ide-scsi"
vga="771"

other=/dev/hda1
optional
label="NT"

image="/dev/hda1"

image="/dev/hda1"
root="/dev/hdc2"
initrd="/boot/initrd-2.4.18-5.img"
append="hdd=ide-scsi"

image="/dev/hda1"

image="/boot/vmlinuz-2.4.18-5"
label="Linux"
root="/dev/hdc2"
append="hdd=ide-scsi"
read-only
initrd="/boot/initrd-2.4.18-5.img"

***************************************************
and here is the error that I get when I try to run /sbin/lilo

*********************************
Warning:/dev/hdc1 is not on the first hard disk
Added NT
Fatal: Kernel does not support Initial RAM Disks
************************************************************

Any ideas whats happening here
One more point...
I commented out the previous Kernel 2.4.18-3 since I upgraded to 2.4.18-5 using the Red Hat update agent

Thankx in advance...
 
Old 08-28-2002, 06:25 AM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
the kernel does not support initrd..

this means you need to rebuild the kernel to use initrd
 
Old 08-28-2002, 04:42 PM   #9
chem1
Member
 
Registered: Jun 2002
Location: White House, Washignton DC
Distribution: Red Hat 9
Posts: 270

Original Poster
Rep: Reputation: 30
I f I got it right, what u r saying is that I enable initrd in the kernel ( If you can guide me to that , it will be a great help) and then the problem will go away

Am I correct?

Thankx in advance...
 
Old 08-28-2002, 10:43 PM   #10
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
you need the kernel source, check and see if you have it. It will be in /usr/src/

then you just need to follow the kernel howto and when you go through the configuration you will see the ram disk setting
 
Old 08-29-2002, 05:28 PM   #11
chem1
Member
 
Registered: Jun 2002
Location: White House, Washignton DC
Distribution: Red Hat 9
Posts: 270

Original Poster
Rep: Reputation: 30
hUm,
Let me try...then I will let you know...I guess I can achieve the using the KDE Kernel COnfigurator

Thankx in advance...
 
Old 08-29-2002, 07:49 PM   #12
chem1
Member
 
Registered: Jun 2002
Location: White House, Washignton DC
Distribution: Red Hat 9
Posts: 270

Original Poster
Rep: Reputation: 30
OK, I have checked and Linux Kernel Configurator in KDE says that Initial RAM Disks are supported in the Kernel (2.1.18-5)

Now what do I do

Thankx in advance...
 
Old 08-29-2002, 10:49 PM   #13
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You can clean out your lilo.conf a little more by removing the lines in bold print.

prompt
timeout="60"
default=Linux
boot="/dev/hdc1"
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear
#image=/boot/vmlinuz-2.4.18-3
# label=Linux.bak
# initrd=/boot/initrd-2.4.18-3.img
# read-only
# root=/dev/hdc2
# append="hdd=ide-scsi"
vga="771"

other=/dev/hda1
optional
label="NT"

image="/dev/hda1"

image="/dev/hda1"
root="/dev/hdc2"
initrd="/boot/initrd-2.4.18-5.img"
append="hdd=ide-scsi"

image="/dev/hda1"


image="/boot/vmlinuz-2.4.18-5"
label="Linux"
root="/dev/hdc2"
append="hdd=ide-scsi"
read-only
initrd="/boot/initrd-2.4.18-5.img"


Then run /sbin/lilo again. How are you booting linux? Are you using w2k's boot loader? If you are, you'll probably have to make a new copy of the linux boot sector ( hdc1 ).
 
Old 08-29-2002, 11:05 PM   #14
chem1
Member
 
Registered: Jun 2002
Location: White House, Washignton DC
Distribution: Red Hat 9
Posts: 270

Original Poster
Rep: Reputation: 30
WOW!
Just by removing these lines ....LILO runs perfectly.....now I will check and try to reboot the system with this new Cofiguration

Thankx a bunch...
 
Old 08-31-2002, 05:46 AM   #15
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You're welcome.
 
  


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
LILO boots "LIL" Riallin Linux - General 10 07-07-2005 01:34 PM
1x Linksys v5.1 NIC, 1x PCI slot, and LIL w/o the O and VGA problems on slackware 10 shinystuffrox Linux - Hardware 0 01-03-2005 12:17 AM
how do i fix lilo when i get a LIL- while booting saqres Linux - General 6 10-07-2004 03:34 PM
lilo error :lil- domeili Linux - Newbie 1 10-28-2003 08:35 AM
LILO problem (LIL-) w/Rh7.1 rfgrove Linux - General 3 11-20-2001 08:19 AM

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

All times are GMT -5. The time now is 02:57 AM.

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