lilo problem

Kyle West sithii at hotmail.com
Mon Sep 25 18:49:15 PDT 2000


You have "default=linux" but then your "image=lfs" - either change your 
default to lfs, or your image to linux.  The default= is looking for the 
default image to use.


>From: "Peter Hood" <phood at bak.rr.com>
>Reply-To: lfs-discuss at linuxfromscratch.org
>To: <lfs-discuss at linuxfromscratch.org>
>Subject: RE: lilo problem
>Date: Mon, 25 Sep 2000 18:44:07 -0700
>MIME-Version: 1.0
>Received: from [216.29.174.31] by hotmail.com (3.2) with ESMTP id 
>MHotMailBB994A7600A9D820F399D81DAE1F068D0; Mon Sep 25 18:44:23 2000
>Received: from shadowfax (localhost.localdomain [127.0.0.1])by 
>shadowfax.linuxfromscratch.org (Postfix) with ESMTPid 29C4E36F21; Mon, 25 
>Sep 2000 21:45:48 -0400 (EDT)
>Received: with LISTAR (v0.129a; list lfs-discuss); Mon, 25 Sep 2000 
>21:45:48 -0400 (EDT)
>Received: from bkmls01.bak.rr.com (bkmls01.bak.rr.com [24.30.163.15])by 
>shadowfax.linuxfromscratch.org (Postfix) with ESMTP id 6322A36E4Cfor 
><lfs-discuss at linuxfromscratch.org>; Mon, 25 Sep 2000 21:45:47 -0400 (EDT)
>Received: from DUAL ([24.161.199.161]) by bkmls01.bak.rr.com          
>(Post.Office MTA v3.5.3 release 223          ID# 
>0-59787U250000L250000S0V35) with SMTP id com          for 
><lfs-discuss at linuxfromscratch.org>;          Mon, 25 Sep 2000 18:44:19 
>-0700
>From lfs-discuss-owner at linuxfromscratch.org Mon Sep 25 18:47:37 2000
>Message-ID: <NEBBLPPPLNNAIOFMGHAKAEDICAAA.phood at bak.rr.com>
>X-Priority: 3 (Normal)
>X-MSMail-Priority: Normal
>X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
>Importance: Normal
>X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
>In-Reply-To: <20000925211015.B17334 at shadowfax.linuxfromscratch.org>
>Sender: lfs-discuss-owner at linuxfromscratch.org
>Errors-To: lfs-discuss-owner at linuxfromscratch.org
>X-original-sender: phood at bak.rr.com
>Precedence: bulk
>
>My lilo.conf file:
>	boot=/dev/hda
>	map-/boot/map
>	install=/boot/boot.b
>	prompt
>	timeout=50
>	linear
>	default=linux
>
>
>	image=/boot/lfskernel
>	label=lfs
>	root=/dev/hda5     (my /mnt/lfs partition)
>	read-only
>
>when I run /sbin/lilo -v
>
>the message
>
>Reading boot sector from /dev/hda
>Merging with /boot/boot.b
>Boot image: /boot/lfskernel
>Added lfs
>Fatal: No images have been defined
>
>If I comment out the top 7 lines in lilo.conf (added by redhat) and run 
>same
>command I get
>Reading boot sector form current root
>Fatal: Can't put the boot sector on logical partition 0X305
>
>
>I am thinking that somehow (probably my error) lilo is somehow trying to 
>get
>to /dev/hda2 (the /root drive in the redhat installation)
>I am not sure how the files got into the lfs partition /boot but they are 
>as
>follows.
>
>System.map (copied from linux directory after rebuilding the kernel)
>boot-menu.b
>boot.0030
>boot.b
>chain.b
>lfskernel (copied from linux directory after rebuilding the kernel)
>map
>os2_d.b
>vmlinuz
>vmlinuz-2.2.14-5.0 (copied over from the redhat side)
>
>I don't think I copied the whole /boot directory from the redhat side in
>that part of the book but I am unsure how these items got put in this
>directory.
>
>Would it work to clear out this directory leaving the vmlinuz-2.2.14-5.0
>file and start over.  I would need to know what installations put the other
>things that are needed in this directory.
>
>help is very appreciated
>Peter
>
>   > -----Original Message-----
>   > From: gerard at shadowfax.linuxfromscratch.org
>   > [mailto:gerard at shadowfax.linuxfromscratch.org]On Behalf Of Gerard
>   > Beekmans
>   > Sent: Monday, September 25, 2000 6:10 PM
>   > To: lfs-discuss at linuxfromscratch.org
>   > Subject: Re: lilo problem
>   >
>   >
>   > > I then run /sbin/lilo and get an error "No images have been
>   > defined" and
>   > > adding lfs.
>   >
>   > That would seem like a faulty /etc/lilo.conf file. Run lilo with the 
>-v
>   > option to read verbose output and see if that gives you a better clue.
>   > If not, paste the output here and we can have a look at it.
>   >
>   > --
>   > Gerard Beekmans
>   > www.linuxfromscratch.org
>   >
>   > -*- If Linux doesn't have the solution, you have the wrong problem -*-
>   >
>   >
>   >
>
>
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.






More information about the lfs-dev mailing list