Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Can't install LILO, useless err msg

Posted on 1998-05-17
8
Medium Priority
?
234 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 60 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
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
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.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month12 days, 9 hours left to enroll

971 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