Solved

Can't install LILO, useless err msg

Posted on 1998-05-17
8
224 Views
Last Modified: 2013-12-15
I'm trying to install Linux RedHat 5.0 on a completely new system
and when I got to the dialog boxes for Lilo installation, I
told it to put Lilo on the MBR and gave it no special options
to pass to the kernel.  It came up with some entirely generic
error msg like "Can't install bootloader" with no further details.
The error dialog had options "previous", "menu" and "retry".
Eventually I tred "menu" and it came up with a list of things
to be done; all of them had asterisks next to them saying
they had been done except "Install bootloader".  When I
went through the steps again, it took me back to the same
menu.  "Install bootloader" was still not checked, but it
had given me *no*error*message*at*all*.

What caused this?

0
Comment
Question by:trovatore
8 Comments
 
LVL 3

Expert Comment

by:mhomann
Comment Utility
Hi,

with some more info about your system (type of Harddisk, type of controller, partition sizes), it would be easier to help you...

mfg
       Mathias

0
 
LVL 19

Accepted Solution

by:
xterm earned 30 total points
Comment Utility
This has happened to me several times, especially when installing
RH linux to a second drive & certain SCSI drives.

Simply boot off boot.img, type "linux root=/dev/xxx ramdisk=0"
(where xxx is the drive & partition where linux is - like hda1
for your first IDE drive/first partition) at the boot prompt.

Then when booted, login root and edit /etc/lilo.conf (you
may actually have to manually create it).  Then run
/sbin/lilo, and the next time you boot, you're in business.
0
 

Author Comment

by:trovatore
Comment Utility
Well, I'll have to try it before I can grade the answer, which could be a week or so --
my friend is off in the Valley.  What is "boot.img" and where do I find it?

0
 
LVL 19

Expert Comment

by:xterm
Comment Utility
boot.img is the kernel on the first floppy that you
use to install.  So just boot off your first disk.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:trovatore
Comment Utility
Oh yeah, and how do I find out what goes in /etc/lilo.conf ?

0
 
LVL 19

Expert Comment

by:xterm
Comment Utility
Below is a sample lilo.conf - it assumes that linux
is on the first partition of your first hard drive
in the example below.  If its not, just doctor it up
to suit your needs (ie. /dev/hda2 in the root= section
if its on the second partition of your first IDE drive)

#/etc/lilo.conf (don't include this line)
boot=/dev/hda    
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image=/boot/vmlinuz
        label=linux
        root=/dev/hda1
        read-only

0
 

Expert Comment

by:Thrice
Comment Utility
If Lilo is already configured correctly and it's still not booting properly, you might want to try making a /boot partition within the first 1024 cylinders of your harddrive. Some bioses cannot boot from partitions past the 1024th cylinder...I had the same problem you do and fixed it by trying this. Hope this helps. Good luck.
0
 

Author Comment

by:trovatore
Comment Utility
Thrice -- thanks for the effort, man.  But take a look at the dates:  The question is almost five years old.  I think my friend finally got Linux installed somehow, but I have no idea if the system in question is still even in operation.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now