Re: Lilo cannot be installed on the secondary disk

Justin Fretwell <[email protected]> Thu, 24 Apr 2003 08:07:37 +0100
Newsgroups gmane.linux.embedded
Organization Akhter Computers Ltd.
Message-ID <[email protected]>
On Thursday 24 April 2003 06:38, hossein sadat wrote:
> I tried to make my linux system installation on a 210M hard disk, so I put
> in in the secondary IDE and as master.
> I made my minimal system and made the root file system and copied them into
> the hard disk. Then I ran lilo with this configuration:

apart from the changes that i have said below when you run lilo do you chroot 
to the '/' of the disk that you are trying to install the bootloader to?  you 
dont actually *have* to you can use the '-b' option but it means changing the 
lilo.conf again.  If i were you i'd mount your harddrive you are trying to 
boot from and then run the command: chroot /mnt/drive /bin/sh and run lilo 
from there.

>
>
> disk=/dev/hdc bios=0x80

put the bios line on a seperate line.  try and keep things consistent.

> boot=/dev/hdc
> map=/boot/map
> install=/boot/boot.b
>
> prompt
> timeout=10
> image=/boot/bzImage
> label=linux
>
> root=/dev/hda1

this line; shouldnt it read: root=/dev/hdc1

>
> read-only
>
> When I place this second hard disk on the primary IDE, the following
> appears and nothing else happens:
>
> LI
>
> I think the problem is that, LILO cannot find out that I'm installing it on
> the secondary disk. Probably the map and boot locations are the source of
> problem.
>
> Please help me resolve this. Thanks for your help.
>
>
>
>
>
> _________________________________________________________________
> The new MSN 8: smart spam protection and 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>
> --
> To unsubscribe from this list, send a message to [email protected]
> with the command "unsubscribe linux-embedded" in the message body.
> For more information, see <http://waste.org/mail/linux-embedded>.



************************************************************************
DISCLAIMER:
-----------
The information in this E-mail and in any attachments is confidential
and is intended solely for the original addressee.  It should not be
used by anyone who is not an original intended recipient.  Access,
copying or use of information in it by anyone else is unauthorised and
may be illegal.  If you are not the intended recipient please contact
the sender by replying to them and then delete the message.

Akhter Computers Ltd cannot accept liability for statements made which
are clearly the sender's own and are not made on behalf of Akhter
Computers Ltd.  No statement shall be construed as giving
industrial/confidential advice within/outside the UK.
************************************************************************

--
To unsubscribe from this list, send a message to [email protected]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.