LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-06-2003, 10:12 PM   #1
Radicalm16
Member
 
Registered: Jan 2003
Location: Venezuela
Distribution: Debian, Ubuntu
Posts: 75

Rep: Reputation: 15
Unhappy Lilo installation Problems


I edited my lilo.conf in this way:

prompt
timeout=50
default=RedHat_7.3
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32

image=/boot/vmlinuz-2.4.18-3
label=RedHat_7.3
initrd=/boot/initrd-2.4.18-3.img
read-only
root=/dev/hda5

image=/boot/vmlinuz-2.4.19
label=LFS
read-only
root=/dev/hda8


Then, I did execute lilo ($lilo -v) and rebooted it,
all worked o.k., but when loged on my LFS system and
ran lilo from it (I took special care to copy the
kernel file and initrd file of my old distro onto my
LFS /boot directory) it seemed to be o.k., but when
the machine was booting a lot of 40s and then a not
ended sequence of Ls appeared on the screen. I used a
boot disk and ran lilo again inside my old distro (by
the way It is RedHat 7.3) to fix my boot record.

Then, I rebooted the machine and loaded LFS, after a
while looking for a diference, I noticed that the size
of the boot.b file into the LFS's /boot directory is 0
(zero). I tried to run it copiying a boot.b file from
my old distro's /boot dir but lilo gives an error
saying that it is a file of and older version (21.4)
and It was expecting 22.2, Also, I tried to do it (run
lilo) using a bootfile named boot-bmp.b but in booting
time the same error occurred.

Ok. It seems to be hapenning because the boot.b file
that comes with the lilo package is damaged. Now, Is
it possible to happen??? How could happen it?? and It
is not, What is wrong then???


Francisco Moreno.

ps.
I think it is obvious that English is not my native
language. My apologise for my errors.
 
Old 03-06-2003, 10:21 PM   #2
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
If your boot.b and other such files are zero size, you can recreate them simply by reinstalling LILO. Boot into LFS, and use the chapter 6 instructions for lilo, everything should be ok then.
 
Old 03-06-2003, 10:31 PM   #3
Radicalm16
Member
 
Registered: Jan 2003
Location: Venezuela
Distribution: Debian, Ubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
I did it, and the LILO's Installation rename all my old .b files to .b.old and then put on the /boot directory the new files, BUT the newer boot.b file still given 0 (zero) bytes.
 
Old 03-06-2003, 10:35 PM   #4
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
/boot/boot.b is a symlink to something else, probably /boot/boot-menu.b

Does that file exist?
 
Old 03-06-2003, 10:42 PM   #5
Radicalm16
Member
 
Registered: Jan 2003
Location: Venezuela
Distribution: Debian, Ubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
Yes, it does....

So, I'll try erasing boot.b and remaking the sym link.
 
Old 03-06-2003, 10:47 PM   #6
Radicalm16
Member
 
Registered: Jan 2003
Location: Venezuela
Distribution: Debian, Ubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
It didn't work... Could my ln command working wrong??

I'll try setting boot-menu.b directly onto the lilo.conf 's install option.
 
Old 03-06-2003, 10:52 PM   #7
Radicalm16
Member
 
Registered: Jan 2003
Location: Venezuela
Distribution: Debian, Ubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
It didn't work... the same 40s and Ls are appearing....
 
Old 03-07-2003, 03:56 PM   #8
Radicalm16
Member
 
Registered: Jan 2003
Location: Venezuela
Distribution: Debian, Ubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
I'd download from freshmeat.net the most recent version, compiled and installed it again..., but the samething is happening....
 
  


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.conf help for new installation simcox1 Slackware - Installation 7 05-06-2005 05:23 PM
Lilo = gone, installation of a new one? jasone Linux - General 7 04-04-2005 10:44 AM
Lilo installation error Nikon01 Slackware 5 08-31-2004 10:28 AM
Grub and Lilo problems on Gentoo 2004.1 Installation p00ties Linux - Software 5 07-03-2004 10:02 AM
LILO installation problems miketwalker Linux - Software 0 05-17-2004 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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