LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-09-2002, 10:32 PM   #1
Daruma
LQ Newbie
 
Registered: Jan 2002
Distribution: Debian
Posts: 8

Rep: Reputation: 0
Question lilo problems: stops at LI


Greetings...

I've been working hard to make my Debian 2.0.36 kernel boot from the hard disk. I have been through many edits of my lilo.conf file and checked (and rechecked) my BIOS settings.

Here is my current lilo.conf:

boot=/dev/hda
install=/boot/boot.b
map=/boot/map
vga=normal
delay=20
image=/boot/vmlinuz-2.0.36
label=Linux
root=/dev/hda5
read-only

Here's a chunk from my fstab:

/dev/hda5 / ext2 defaults,errors=remount-ro 0 1
/dev/hda6 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/hda1 /boot ext2 defaults 0 2
/dev/hdc1 /usr ext2 defaults 0 2
/dev/hdc5 /home ext2 defaults 0 2
/dev/hdc6 /var ext2 defaults 0 2

when I run
# /sbin/lilo -v -v -v
I get the following: (edited for brevity)

Caching device /dev/hda (0x0300)
Caching device /dev/hda1 (0x0301)
Caching device /dev/hda2 (0x0302)
Caching device /dev/hda3 (0x0303)
Caching device /dev/hda4 (0x0304)
Caching device /dev/hda5 (0x0305)
Caching device /dev/hda6 (0x0306)
Caching device /dev/hda7 (0x0307)
lots more of this...
and then:
Reading boot sector from /dev/hda
Merging with /boot/boot.b
Device 0x0301: BIOS drive 0x80, 255 heads, 256 cylinders,
63 sectors. Partition offset: 63 sectors.
Secondary loader: 8 sectors.
Device 0x0301: BIOS drive 0x80, 255 heads, 256 cylinders,
63 sectors. Partition offset: 63 sectors.
Boot image: /boot/vmlinuz-2.0.36
Device 0x0301: BIOS drive 0x80, 255 heads, 256 cylinders,
63 sectors. Partition offset: 63 sectors.
Setup length is 9 sectors.
Mapped 1399 sectors.
Added Linux *
<dev=0x80,hd=32,cyl=0,sct=29>
"ro root=305 BOOT_FILE=/boot/vmlinuz-2.0.36"
/boot/boot.0300 exists - no backup copy made.
Map file size: 10752 bytes.
Writing boot sector.

After looking at the verbose lilo output, I don't see anything particularly wrong with it. Am I missing something?

Many thanks,
-CJ
 
Old 01-10-2002, 02:38 AM   #2
unmadindu
LQ Newbie
 
Registered: Jun 2001
Location: India
Distribution: Red Hat 8.0
Posts: 12

Rep: Reputation: 0
Talking

hmmm..let's see..aahh..this is the famous 1024 cylinder voodoo
just add the line lba32 to ur /etc/lilo.conf
my lilo.conf is a sample

boot=/dev/hdc
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
lba32
default=dos

image=/boot/bzImage
label=linux
read-only
root=/dev/hdc3
vga=792


other=/dev/hdc1
optional
label=dos
 
Old 01-10-2002, 05:21 AM   #3
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
This error message indicate that both the first and second part of the boot loader was able to load but the second part wasn't able to execute.
This site http://fan.nb.ca/~aa126/troubleshoot-LILO.html indicates that it might be a geometry mismatch.

<dev=0x80,hd=32,cyl=0,sct=29>
This geometry looks very strange, no heads at all???
What size is your hard disk and what geometry is it?
What processor do you have?
 
Old 01-10-2002, 11:04 PM   #4
Daruma
LQ Newbie
 
Registered: Jan 2002
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
unmadindu:

Thanks... I'm home now and I've tried the lba32 line in lilo.conf...

when I run

# /sbin/lilo

it generates a syntax error on that line... I am running lilo version 21, Copyright 1992-1998 by Werner Almesberger

Are you running the same version?

Also, I'm on Debian kernel 2.0.36...
 
Old 01-10-2002, 11:09 PM   #5
Daruma
LQ Newbie
 
Registered: Jan 2002
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
ugge:

Thanks...

I need to twiddle bits in my BIOS a wee bit more, apparently... I must resist the temptation to change more than one thing at a time before testing...

Can anyone reply with a copy of their output (the end of it at least) from:

# /sbin/lilo -v -v -v

One way to do this is:

# /sbin/lilo -v -v -v &> ~/lilo.out

Then copy and paste the ~/lilo.out file to your reply...

Thanks!!

-CJ
 
Old 01-11-2002, 03:02 AM   #6
Daruma
LQ Newbie
 
Registered: Jan 2002
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
Thumbs up problem resolved!!

Thanks, ugge!!

I twiddled bits in my BIOS until I came up with the right result!!

I'm now using LILO and can load several kernels!

I resolved the problem by making my primary master drive an LBA drive instead of a NORMAL one (in my BIOS).

The interesting thing is, however, that when I run

# /sbin/lilo -v -v -v

I still see the line:

<dev=0x80,hd=32,cyl=0,sct=29>

in the output...

I'm happy and my problem is solved, so I won't delve deeper into the mysteries of lilo vs. disk geometry...

Thanks for the help!!

-CJ
 
Old 01-11-2002, 05:26 AM   #7
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
You can specify your geometry in the lilo.conf file.
 
Old 01-11-2002, 08:08 AM   #8
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Rep: Reputation: 30
Common user error :-)
 
Old 01-15-2002, 10:33 PM   #9
cj2
LQ Newbie
 
Registered: Jan 2002
Location: in the basement
Distribution: winlinux 2001
Posts: 2

Rep: Reputation: 0
Lightbulb

my comp stops at LI also but the reply's on here have not worked for me. so if anyone has any more solutions please let me know.
thanx cj2
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lilo stops at startup - mdk10.1 alainhenry Mandriva 22 04-03-2005 02:29 PM
Lilo Stops at L Woes vulgrin Mandriva 14 07-25-2004 04:30 AM
Lilo error just printing LI and stops araldit Linux - Newbie 3 03-10-2004 02:34 PM
VNC Works then stops! Reboot fixes but then it stops again! Leethal Linux - Software 1 02-26-2004 08:57 AM
RH9 Upgrade from 7.3. LILO stops at LI - boots from boot disk ok zevious Linux - Software 4 04-17-2003 08:07 PM


All times are GMT -5. The time now is 03:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration