Lilo Hangs at "LI" (I've tried everything)

Lilo Hangs at "LI" (I've tried everything)

Post by Scott Brady Drummond » Sun, 05 Aug 2001 10:54:20



Well, I've beat my head *y against the wall all afternoon trying to
figure this one out for myself.  Lilo hangs at boot with the letters LI on
the screen.  I've done a lot of reading so I think I have a fairly good idea
of why this is happening.  Yet, I still can't fix it.

Iteresting notes:
* I'm working from a RedHat 7.1 distribution.
* My computer is a new dual-P3 running Via's Apollo Pro 266 chipset with a
brand spanking new IBM 60 G hard drive.
* Any number of times I try running lilo from the command prompt there are
never any messages that would leave me to believe that there are any
problems (or disk geometry problems, for that matter).
* Because it seems to have solved so many other's problems, I've tried all
permutations of defining my drive geometry in lilo.conf with and without
'linear'.  Although it seems that 'linear' pre-empts the need for drive
geometry.  I've tried using the geometry on the drive as well as that
reported by fdisk from my rescue disk (both physical of 29437/16/255 and
logical 119150/16/63).
* I've tried monkeying with the size of the /boot partition from its
original size of 200M to a much smaller 32M.  Same problem.
* I've reinstalled the OS (yes, I know this is a crappy windows technique)
using my own partitions and the autoselected partitions but nothing has
changed.
* I tried playing around with rdev but don't really know what I'm doing.  It
hasn't affected things in any way. (but, as I said, I don't really have a
clue what's going on here.)

Can anyone give me some pointers of things that I haven't yet tried that I
should look into?  How can I coorce Lilo into giving me some more usefull
error/warning messages?  What drive geometry *should* I be using?  Does it
matter with 'linear' in lilo.conf?  Is there anything about my configuration
that might give problems?

Thanks in advance,
Scott

 
 
 

Lilo Hangs at "LI" (I've tried everything)

Post by David T. Ashle » Sun, 05 Aug 2001 12:07:03


Hi Scott,

Had the same thing happen once, can't remember exactly how I cured it.
Please search web for documentation on Lilo, particularly RedHat's site.

Lilo uses a plain text configuration file (forget where), and when you make
changes to the number of hard drives you have, how you've arranged
partitions and mount points, etc., you need to rerun a special utility that
translates this text file to a compacted form for Lilo.  I forget all the
details.  But changing files like FSTAB and then rebooting is all she
wrote--that is
suicide.

Other possibility is that MBR is corrupted.  Forget how you restore that,
but I believe this is in LILO documentaiton, too.

Key for you is finding the LILO docs.  I forget where I found them.

You will need to restart your system as disaster recovery using either CD or
disk, then you can either refresh the MBR and/or run that special utility
that reads the LILO configuration file.  Then you'll be set.

Sorry I don't know details, has been so long.

Dave.



Quote:> Well, I've beat my head *y against the wall all afternoon trying to
> figure this one out for myself.  Lilo hangs at boot with the letters LI on
> the screen.  I've done a lot of reading so I think I have a fairly good
idea
> of why this is happening.  Yet, I still can't fix it.

> Iteresting notes:
> * I'm working from a RedHat 7.1 distribution.
> * My computer is a new dual-P3 running Via's Apollo Pro 266 chipset with a
> brand spanking new IBM 60 G hard drive.
> * Any number of times I try running lilo from the command prompt there are
> never any messages that would leave me to believe that there are any
> problems (or disk geometry problems, for that matter).
> * Because it seems to have solved so many other's problems, I've tried all
> permutations of defining my drive geometry in lilo.conf with and without
> 'linear'.  Although it seems that 'linear' pre-empts the need for drive
> geometry.  I've tried using the geometry on the drive as well as that
> reported by fdisk from my rescue disk (both physical of 29437/16/255 and
> logical 119150/16/63).
> * I've tried monkeying with the size of the /boot partition from its
> original size of 200M to a much smaller 32M.  Same problem.
> * I've reinstalled the OS (yes, I know this is a crappy windows technique)
> using my own partitions and the autoselected partitions but nothing has
> changed.
> * I tried playing around with rdev but don't really know what I'm doing.
It
> hasn't affected things in any way. (but, as I said, I don't really have a
> clue what's going on here.)

> Can anyone give me some pointers of things that I haven't yet tried that I
> should look into?  How can I coorce Lilo into giving me some more usefull
> error/warning messages?  What drive geometry *should* I be using?  Does it
> matter with 'linear' in lilo.conf?  Is there anything about my
configuration
> that might give problems?

> Thanks in advance,
> Scott


 
 
 

Lilo Hangs at "LI" (I've tried everything)

Post by Charles Sulliva » Sun, 05 Aug 2001 12:34:32


I don't know whether this relates to your problem, but since you
mention a new drive:

I recently purchased a Western Digital 30 Gb ATA-100 drive as a 2nd
drive on my system, to be connected to a Promise ATA-66 controller.

I found I had to use the provided Western Digital software to disable
ATA-100 mode and enable ATA-66, else I saw some strange things when
I tried to fdisk the drive.  No error messages, but fdisk didn't show
the LBA geometry as it does with the original drive.  (I never went as
far as installing Lilo before disabling ATA-100.)



Quote:> Well, I've beat my head *y against the wall all afternoon trying to
> figure this one out for myself.  Lilo hangs at boot with the letters LI on
> the screen.  I've done a lot of reading so I think I have a fairly good
idea
> of why this is happening.  Yet, I still can't fix it.

> Iteresting notes:
> * I'm working from a RedHat 7.1 distribution.
> * My computer is a new dual-P3 running Via's Apollo Pro 266 chipset with a
> brand spanking new IBM 60 G hard drive.
> * Any number of times I try running lilo from the command prompt there are
> never any messages that would leave me to believe that there are any
> problems (or disk geometry problems, for that matter).
> * Because it seems to have solved so many other's problems, I've tried all
> permutations of defining my drive geometry in lilo.conf with and without
> 'linear'.  Although it seems that 'linear' pre-empts the need for drive
> geometry.  I've tried using the geometry on the drive as well as that
> reported by fdisk from my rescue disk (both physical of 29437/16/255 and
> logical 119150/16/63).
> * I've tried monkeying with the size of the /boot partition from its
> original size of 200M to a much smaller 32M.  Same problem.
> * I've reinstalled the OS (yes, I know this is a crappy windows technique)
> using my own partitions and the autoselected partitions but nothing has
> changed.
> * I tried playing around with rdev but don't really know what I'm doing.
It
> hasn't affected things in any way. (but, as I said, I don't really have a
> clue what's going on here.)

> Can anyone give me some pointers of things that I haven't yet tried that I
> should look into?  How can I coorce Lilo into giving me some more usefull
> error/warning messages?  What drive geometry *should* I be using?  Does it
> matter with 'linear' in lilo.conf?  Is there anything about my
configuration
> that might give problems?

> Thanks in advance,
> Scott

 
 
 

Lilo Hangs at "LI" (I've tried everything)

Post by r0gu » Sun, 05 Aug 2001 12:59:47



> Well, I've beat my head *y against the wall all afternoon trying to
> figure this one out for myself.  Lilo hangs at boot with the letters LI on
> the screen.  I've done a lot of reading so I think I have a fairly good idea
> of why this is happening.  Yet, I still can't fix it.

> Iteresting notes:
> * I'm working from a RedHat 7.1 distribution.
> * My computer is a new dual-P3 running Via's Apollo Pro 266 chipset with a
> brand spanking new IBM 60 G hard drive.
> * Any number of times I try running lilo from the command prompt there are
> never any messages that would leave me to believe that there are any
> problems (or disk geometry problems, for that matter).
> * Because it seems to have solved so many other's problems, I've tried all
> permutations of defining my drive geometry in lilo.conf with and without
> 'linear'.  Although it seems that 'linear' pre-empts the need for drive
> geometry.  I've tried using the geometry on the drive as well as that
> reported by fdisk from my rescue disk (both physical of 29437/16/255 and
> logical 119150/16/63).
> * I've tried monkeying with the size of the /boot partition from its
> original size of 200M to a much smaller 32M.  Same problem.
> * I've reinstalled the OS (yes, I know this is a crappy windows technique)
> using my own partitions and the autoselected partitions but nothing has
> changed.
> * I tried playing around with rdev but don't really know what I'm doing.  It
> hasn't affected things in any way. (but, as I said, I don't really have a
> clue what's going on here.)

> Can anyone give me some pointers of things that I haven't yet tried that I
> should look into?  How can I coorce Lilo into giving me some more usefull
> error/warning messages?  What drive geometry *should* I be using?  Does it
> matter with 'linear' in lilo.conf?  Is there anything about my configuration
> that might give problems?

> Thanks in advance,
> Scott

More than likely a crapped MBR.  If you can boot into linux from floppy,
you can /sbin/lilo to rewrite the MBR.
 
 
 

Lilo Hangs at "LI" (I've tried everything)

Post by David T. Ashle » Sun, 05 Aug 2001 15:11:09


Have thought about this more.

I remember my problem--same thing "LI" then nothing.

I'm fairly sure this is an MBR problem.

Try using /sbin/lilo (you'll need the docs) to rewrite the MBR.

Dave.



> Hi Scott,

> Had the same thing happen once, can't remember exactly how I cured it.
> Please search web for documentation on Lilo, particularly RedHat's site.

> Lilo uses a plain text configuration file (forget where), and when you
make
> changes to the number of hard drives you have, how you've arranged
> partitions and mount points, etc., you need to rerun a special utility
that
> translates this text file to a compacted form for Lilo.  I forget all the
> details.  But changing files like FSTAB and then rebooting is all she
> wrote--that is
> suicide.

> Other possibility is that MBR is corrupted.  Forget how you restore that,
> but I believe this is in LILO documentaiton, too.

> Key for you is finding the LILO docs.  I forget where I found them.

> You will need to restart your system as disaster recovery using either CD
or
> disk, then you can either refresh the MBR and/or run that special utility
> that reads the LILO configuration file.  Then you'll be set.

> Sorry I don't know details, has been so long.

> Dave.



> > Well, I've beat my head *y against the wall all afternoon trying to
> > figure this one out for myself.  Lilo hangs at boot with the letters LI
on
> > the screen.  I've done a lot of reading so I think I have a fairly good
> idea
> > of why this is happening.  Yet, I still can't fix it.

> > Iteresting notes:
> > * I'm working from a RedHat 7.1 distribution.
> > * My computer is a new dual-P3 running Via's Apollo Pro 266 chipset with
a
> > brand spanking new IBM 60 G hard drive.
> > * Any number of times I try running lilo from the command prompt there
are
> > never any messages that would leave me to believe that there are any
> > problems (or disk geometry problems, for that matter).
> > * Because it seems to have solved so many other's problems, I've tried
all
> > permutations of defining my drive geometry in lilo.conf with and without
> > 'linear'.  Although it seems that 'linear' pre-empts the need for drive
> > geometry.  I've tried using the geometry on the drive as well as that
> > reported by fdisk from my rescue disk (both physical of 29437/16/255 and
> > logical 119150/16/63).
> > * I've tried monkeying with the size of the /boot partition from its
> > original size of 200M to a much smaller 32M.  Same problem.
> > * I've reinstalled the OS (yes, I know this is a crappy windows
technique)
> > using my own partitions and the autoselected partitions but nothing has
> > changed.
> > * I tried playing around with rdev but don't really know what I'm doing.
> It
> > hasn't affected things in any way. (but, as I said, I don't really have
a
> > clue what's going on here.)

> > Can anyone give me some pointers of things that I haven't yet tried that
I
> > should look into?  How can I coorce Lilo into giving me some more
usefull
> > error/warning messages?  What drive geometry *should* I be using?  Does
it
> > matter with 'linear' in lilo.conf?  Is there anything about my
> configuration
> > that might give problems?

> > Thanks in advance,
> > Scott

 
 
 

Lilo Hangs at "LI" (I've tried everything)

Post by thunde » Sun, 05 Aug 2001 15:46:43




> Well, I've beat my head *y against the wall all afternoon
> trying to figure this one out for myself.  Lilo hangs at boot with
> the letters LI on the screen.  I've done a lot of reading so I
> think I have a fairly good idea of why this is happening.  Yet, I
> still can't fix it.

Don't know if this will help, but from a lilo doc:

LI The first stage boot loader was able to load the second stage
loot loader, but has failed to execute it. This can either be caused
by a geometry mismatch or by moving /boot/boot.b without running the
map installer.

 
 
 

Lilo Hangs at "LI" (I've tried everything)

Post by Jacob Josep » Sun, 05 Aug 2001 17:16:42


You've probably already tried this, but it solved the "LI" problem for me on
one of my machines.  In the BIOS, try setting the drive to NORMAL instead of
LBA or LARGE.  I frankly have no idea about the details of what exactly this
changes for LILO, but I can say it worked for me.

Good luck,
Jacob Joseph



Quote:> Well, I've beat my head *y against the wall all afternoon trying to
> figure this one out for myself.  Lilo hangs at boot with the letters LI on
> the screen.  I've done a lot of reading so I think I have a fairly good
idea
> of why this is happening.  Yet, I still can't fix it.

> Iteresting notes:
> * I'm working from a RedHat 7.1 distribution.
> * My computer is a new dual-P3 running Via's Apollo Pro 266 chipset with a
> brand spanking new IBM 60 G hard drive.
> * Any number of times I try running lilo from the command prompt there are
> never any messages that would leave me to believe that there are any
> problems (or disk geometry problems, for that matter).
> * Because it seems to have solved so many other's problems, I've tried all
> permutations of defining my drive geometry in lilo.conf with and without
> 'linear'.  Although it seems that 'linear' pre-empts the need for drive
> geometry.  I've tried using the geometry on the drive as well as that
> reported by fdisk from my rescue disk (both physical of 29437/16/255 and
> logical 119150/16/63).
> * I've tried monkeying with the size of the /boot partition from its
> original size of 200M to a much smaller 32M.  Same problem.
> * I've reinstalled the OS (yes, I know this is a crappy windows technique)
> using my own partitions and the autoselected partitions but nothing has
> changed.
> * I tried playing around with rdev but don't really know what I'm doing.
It
> hasn't affected things in any way. (but, as I said, I don't really have a
> clue what's going on here.)

> Can anyone give me some pointers of things that I haven't yet tried that I
> should look into?  How can I coorce Lilo into giving me some more usefull
> error/warning messages?  What drive geometry *should* I be using?  Does it
> matter with 'linear' in lilo.conf?  Is there anything about my
configuration
> that might give problems?

> Thanks in advance,
> Scott

 
 
 

Lilo Hangs at "LI" (I've tried everything)

Post by thunde » Sun, 05 Aug 2001 17:23:52




> Well, I've beat my head *y against the wall all afternoon
> trying to figure this one out for myself.  Lilo hangs at boot with
> the letters LI on the screen.  I've done a lot of reading so I
> think I have a fairly good idea of why this is happening.  Yet, I
> still can't fix it.

> Iteresting notes:
> * I'm working from a RedHat 7.1 distribution. * My computer is a
> new dual-P3 running Via's Apollo Pro 266 chipset with a brand
> spanking new IBM 60 G hard drive. * Any number of times I try
> running lilo from the command prompt there are never any messages
> that would leave me to believe that there are any problems (or disk
> geometry problems, for that matter). * Because it seems to have
> solved so many other's problems, I've tried all permutations of
> defining my drive geometry in lilo.conf with and without 'linear'.
> Although it seems that 'linear' pre-empts the need for drive
> geometry.  I've tried using the geometry on the drive as well as
> that reported by fdisk from my rescue disk (both physical of
> 29437/16/255 and logical 119150/16/63).
> * I've tried monkeying with the size of the /boot partition from
> its original size of 200M to a much smaller 32M.  Same problem. *
> I've reinstalled the OS (yes, I know this is a crappy windows
> technique) using my own partitions and the autoselected partitions
> but nothing has changed.
> * I tried playing around with rdev but don't really know what I'm
> doing.  It hasn't affected things in any way. (but, as I said, I
> don't really have a clue what's going on here.)

> Can anyone give me some pointers of things that I haven't yet tried
> that I should look into?  How can I coorce Lilo into giving me some
> more usefull error/warning messages?  What drive geometry *should*
> I be using?  Does it matter with 'linear' in lilo.conf?  Is there
> anything about my configuration that might give problems?

> Thanks in advance,
> Scott

I'm curious.  It might be helpful if you posted your lilo.conf.
Does running /sbin/lilo -v provide any additional info?
 
 
 

Lilo Hangs at "LI" (I've tried everything)

Post by Scott Brady Drummond » Mon, 06 Aug 2001 06:37:42


Thank you to everyone that responded to my original post.  I've fixed the
problem and would like to post the solution here for posterity.  ;)

My solution was born from a response to my original plea for help that
recommended I look into how the BIOS was addressing the hard drive.  I had
allowed my BIOS to "auto" select the access method and this was successful
only through installation. Obviously, I had problems with LILO from here on
out.

So, first I went back to change my BIOS from "auto" to "lba".  LILO then
correctly booted the system the first try.  Just for experimental purposes,
I then changed the BIOS from "lba" to "large".  The system would not boot.
I tried reinstalling the OS with "large" selected as the drive access
method.  Now RedHat would not install!  It gave me some bizarre message
(that I did not write down :( ) about there being no partition that it could
install to. It would not let me repartition or reformat the drive.

Back to the BIOS, I selected "lba".  Because I had made the existing
installation with "auto" selected, I decided to reinstall to be sure the
drive geometry matched the parition and format.  The installation was
successful, and the system is now running.

Thank you everyone for your many helpful replies!

Scott



Quote:> Well, I've beat my head *y against the wall all afternoon trying to
> figure this one out for myself.  Lilo hangs at boot with the letters LI on
> the screen.  I've done a lot of reading so I think I have a fairly good
idea
> of why this is happening.  Yet, I still can't fix it.

> Iteresting notes:
> * I'm working from a RedHat 7.1 distribution.
> * My computer is a new dual-P3 running Via's Apollo Pro 266 chipset with a
> brand spanking new IBM 60 G hard drive.
> * Any number of times I try running lilo from the command prompt there are
> never any messages that would leave me to believe that there are any
> problems (or disk geometry problems, for that matter).
> * Because it seems to have solved so many other's problems, I've tried all
> permutations of defining my drive geometry in lilo.conf with and without
> 'linear'.  Although it seems that 'linear' pre-empts the need for drive
> geometry.  I've tried using the geometry on the drive as well as that
> reported by fdisk from my rescue disk (both physical of 29437/16/255 and
> logical 119150/16/63).
> * I've tried monkeying with the size of the /boot partition from its
> original size of 200M to a much smaller 32M.  Same problem.
> * I've reinstalled the OS (yes, I know this is a crappy windows technique)
> using my own partitions and the autoselected partitions but nothing has
> changed.
> * I tried playing around with rdev but don't really know what I'm doing.
It
> hasn't affected things in any way. (but, as I said, I don't really have a
> clue what's going on here.)

> Can anyone give me some pointers of things that I haven't yet tried that I
> should look into?  How can I coorce Lilo into giving me some more usefull
> error/warning messages?  What drive geometry *should* I be using?  Does it
> matter with 'linear' in lilo.conf?  Is there anything about my
configuration
> that might give problems?

> Thanks in advance,
> Scott

 
 
 

Lilo Hangs at "LI" (I've tried everything)

Post by Timothy Murp » Mon, 06 Aug 2001 09:32:59



Quote:>So, first I went back to change my BIOS from "auto" to "lba".  LILO then
>correctly booted the system the first try.  

It is a very bad aspect of LILO that it does not suggest what you should try
if you get LI or even LIL.
There is no reason why it cannot give a proper error message.

--
Timothy Murphy  

tel: 086-233 6090
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

 
 
 

Lilo Hangs at "LI" (I've tried everything)

Post by jcwe.. » Mon, 06 Aug 2001 11:34:20




>>So, first I went back to change my BIOS from "auto" to "lba".  LILO then
>>correctly booted the system the first try.  

>It is a very bad aspect of LILO that it does not suggest what you should try
>if you get LI or even LIL.
>There is no reason why it cannot give a proper error message.

>--
>Timothy Murphy  

>tel: 086-233 6090
>s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

YOU ARE ABOSITIVLY, POSITUTLY WRIGHT!!!!!

I NOMINATE YOU TO GO THROUGH THE SOURCE CODE AND MODIFY IT TO  TO GIVE
PROPER ERROR MESSAGES.  WE  WILL  ALL BE WAITING.

(Caps lock were on because I was shouting)

Quote:>/<

 
 
 

Lilo Hangs at "LI" (I've tried everything)

Post by Villy Kru » Tue, 07 Aug 2001 15:57:39


On Sun, 05 Aug 2001 02:34:20 GMT,



>>>So, first I went back to change my BIOS from "auto" to "lba".  LILO then
>>>correctly booted the system the first try.  

>>It is a very bad aspect of LILO that it does not suggest what you should try
>>if you get LI or even LIL.
>>There is no reason why it cannot give a proper error message.

>>--
>>Timothy Murphy  

>>tel: 086-233 6090
>>s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
>YOU ARE ABOSITIVLY, POSITUTLY WRIGHT!!!!!

>I NOMINATE YOU TO GO THROUGH THE SOURCE CODE AND MODIFY IT TO  TO GIVE
>PROPER ERROR MESSAGES.  WE  WILL  ALL BE WAITING.

>(Caps lock were on because I was shouting)
>>/<

Due to space restrictions in the boot sectore there is no room for
error messages.  Therfore you have to look up the codes in the file
/usr/doc/lilo-0.20/README (Redhat system, other system may put the
file elsewhere).

  (<nothing>)  No part of LILO has been loaded. LILO either isn't installed
    or the partition on which its boot sector is located isn't active.
   L <error> ...   The first stage boot loader has been loaded and started,
    but it can't load the second stage boot loader. The two-digit error
    codes indicate the type of problem. (See also section "Disk error
    codes".) This condition usually indicates a media failure or a geometry
    mismatch (e.g. bad disk parameters, see section "Disk geometry").
   LI   The first stage boot loader was able to load the second stage boot
    loader, but has failed to execute it. This can either be caused by a
    geometry mismatch or by moving /boot/boot.b without running the map
    installer.
   LIL   The second stage boot loader has been started, but it can't load
    the descriptor table from the map file. This is typically caused by a
    media failure or by a geometry mismatch.
   LIL?   The second stage boot loader has been loaded at an incorrect
    address. This is typically caused by a subtle geometry mismatch or by
    moving /boot/boot.b without running the map installer.
   LIL-   The descriptor table is corrupt. This can either be caused by a
    geometry mismatch or by moving /boot/map without running the map
    installer.
   LILO   All parts of LILO have been successfully loaded.

This currectly points out geometry mismatch is one of the possible reasons.
Changing BIOS disk settings will in most cases cause geometry mismatch,
so if you change this you might need to completely blank the disk and
start with a fresh fdisk table.  

The file /usr/doc/HOWTO/mini/Large-Disk contains quite a lot of details
about disk geometry and how you can have several different disk geometries
in play at the same time, none of them reflecting the real physical disk
geometry.

Villy

 
 
 

1. Red Hat Huricane 5.0 hangs with "LI" at boot, tried everything, help!

Using CD's RedHat 5.0 (hurricane) and have not
yet been able to boot off the Hard Disk.

We have rebuilt the Kernel,  run "/sbin/lilo -r /",  reinstalled,
done "fdisk /mbr" , set the partition with linux to be "Active"
with fdisk from a win98 boot floppy, etc.

Have never made Linux boot.... always comes up with "LI",
searches the floppy, then the cd, then hangs

We have a 16Meg/486/DX2-66/500 meg hd Orchid Prodesigner
II system w./a VESA motherboard, not using any VESA cards
tho...

I am at my wits end. I knew that this install would be troublesome,
but wasnt expecting this many problems, I figured that
RedHat 5.0 had been out for a while and there would be a FAQ
for everything that could go wrong.  Does anyone have any
other suggestions or know of a web page with a good FAQ
for this LI(lo) problem?

Thanks,

Matt


2. Can't allocate color ??

3. hang up while booting with "L020202020.." and "LI..."

4. Max open files?

5. No "LILO", just "LI" ?

6. Aztech Waverider

7. lilo hangs at "li..."????

8. Compiling kbiff under RedHat 8.0?

9. lilo hangs at "LI" while booting from extra HD in Laptop

10. Lilo hangs up after "LI"

11. I've tried several ways, but..can't get booted "correctly"

12. LILO hangs at "LI" problem

13. Lilo hangs with the words "LI"