Solved

Can't install LILO, useless err msg

Posted on 1998-05-17
8
229 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 3

Expert Comment

by:mhomann
ID: 1627182
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
ID: 1627183
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
ID: 1627184
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
Get Database Help Now w/ Support & Database Audit

Keeping your database environment tuned, optimized and high-performance is key to achieving business goals. If your database goes down, so does your business. Percona experts have a long history of helping enterprises ensure their databases are running smoothly.

 
LVL 19

Expert Comment

by:xterm
ID: 1627185
boot.img is the kernel on the first floppy that you
use to install.  So just boot off your first disk.
0
 

Author Comment

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

0
 
LVL 19

Expert Comment

by:xterm
ID: 1627187
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
ID: 8157772
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
ID: 8157797
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

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

632 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