LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-06-2001, 09:50 AM   #1
ShadyCraig
LQ Newbie
 
Registered: Jan 2001
Location: UK - Midlands
Distribution: Redhat various
Posts: 29

Rep: Reputation: 15
Red face


I have recently installed RedHat 7 on my PC at work. The installation went smoothly and without a hitch :-)
Unfortunatly on reboot lilo failed to load properly, giving the "L" error message.
I have tried re-installing LILO and different configurations as suggested by the HOW-TO, to no avail.
I am beginning to beleive that the problem is due to my disk size (aprox 15GB), however, the large-disk how-to says that RH7 should know how to deal with this.
Fortunatly I can boot from floppy, this works perfectly but is clearly not practical.

My system:
hda1=primary boot (24MB)
hda5=logical root (15GB)
hda6=logical swap (70MB)

Any suggestions please?

Craig
 
Old 02-06-2001, 05:41 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Can we see what your /etc/lilo.conf file looks like?

 
Old 02-07-2001, 03:25 AM   #3
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
If it is a problem with your Large disk size then you need to inform LILO of the parameters of your disk. This includes how many heads, cylinders, and sectors which are present.

You will find this info when you boot up and the screen displays all the info on your comp.
 
Old 02-07-2001, 04:37 AM   #4
ShadyCraig
LQ Newbie
 
Registered: Jan 2001
Location: UK - Midlands
Distribution: Redhat various
Posts: 29

Original Poster
Rep: Reputation: 15
/etc/lilo.conf :


boot=/dev/hda1
timeout=500
linear
prompt
vga=normal
root=/dev/hda5
read-only
image=/boot/vmlinuz-2.2.16-22
label=linux
 
Old 02-07-2001, 03:55 PM   #5
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
To tell the LILO about the size of your hard drive you need to add the following:

disk=/dev/hda
bios=0x80
sectors=??
heads=??
cylinders=??

This of course depends on the fact that it is the master drive of the first IDE port or the first two lines would be different.

You may be able to get away with using linear in the lilo file. This specifies that LILO doesn't need 3D address and geometry of the HD. However it doesn't work with floppy's or with compact in the file aswell.

Remember to type LILO every time you have altered it so that the effects can take place.
 
Old 02-08-2001, 06:11 PM   #6
cawaker
LQ Newbie
 
Registered: Jan 2001
Posts: 13

Rep: Reputation: 0
lilo.conf syntax?

I thought lilo had to have a certain syntax like

boot=/dev/hda1
timeout=500
linear
prompt
vga=normal
image=/boot/vmlinuz-2.2.16-22
root=/dev/hda5
label=linux
read-only

maybe its just that way on mine to make it more organized?
i dont know just a thought.
 
Old 02-12-2001, 09:19 AM   #7
ShadyCraig
LQ Newbie
 
Registered: Jan 2001
Location: UK - Midlands
Distribution: Redhat various
Posts: 29

Original Poster
Rep: Reputation: 15
I tried adding the disk= line as you (CragStar) suggested, unfortunatly it doesn't appear to have made any differance. If I use this option would the "linear" option have to be removed? using this option ignores the disk geometry I beleive.
Would installing LILO on the partition instead of the MBR make any difference?
 
Old 02-12-2001, 01:12 PM   #8
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
Installing LILO will not allow you to automatically boot Linux, thats the job of the MBR. Putting it into a partition will allow you to use a boot manager such as Syscommander to boot Linux from within that boot manager (what a mouth full!).

I would not use linear and compact together, and I wouldn't use linear as well as specifying your disk geometry (like you said). If your problem persists, then you may want to try GRUB.
 
Old 02-13-2001, 07:26 AM   #9
ShadyCraig
LQ Newbie
 
Registered: Jan 2001
Location: UK - Midlands
Distribution: Redhat various
Posts: 29

Original Poster
Rep: Reputation: 15
Just by chance i happenned to look at a partitioning howto, it states that /boot cannot be over 16Mb oops! One repartition later and everything is working.
Thanks for all the helpful suggestions!

Over and out
Craig
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lilo problems and sound server problems duhasst0 Slackware 12 08-02-2004 01:14 AM
lilo problems in 9.1 osc Slackware 2 02-19-2004 07:57 AM
lilo problems! Kjetil4455 Slackware 15 08-04-2003 08:18 AM
Lilo Problems eForce Linux - Newbie 0 11-16-2002 03:32 PM
lilo problems..... vcheah Linux - Software 3 12-05-2001 10:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:41 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