Solved

Can't install LILO, useless err msg

Posted on 1998-05-17
8
226 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
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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
i can not do linux commands in cygwin windows 10 6 75
Install Predefined Certificate on Ubunto 4 39
How to install Ubuntu 16 in DELL venue 8 pro 20 154
number in printf 13 27
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

810 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