On Fri, Oct 15, 1999 at 04:28:28PM -0400, Robert Findlay wrote:

> The problem is that unless we get identical C/H/S values for the two hard
> drives we are bothered by having to reset the BIOS parameters for each swap.
> 
> My question is:
> "Is there a way to avoid this with the Linux OS? ie. leave the BIOS set for
> the QNX drive and have the different Linux drive also boot without having
> to enter the BIOS and change things"  
> 
> The more I discover about the Linux boot sequence "onion" the closer I
> think I'm coming to an answer.  I recently came across the lilo.conf
> "append" parameter which in conjunction with the "hd=" bootparam should be
> able to do the trick.   The problem is that without the correct BIOS C/H/S
> values my machines never seem to get anywhere near lilo.

Lilo uses the bios to initially load the kernel from disk; therefore if your
bios is misconfigured, it won't work.  Once lilo loads the kernel, the
kernel ignores your bios settings so you probably don't even need to reset
the bios or provide special options for it to work.

One thing you can do is put your Linux system on a _secondary_ IDE drive,
and leave your QNX drive always present.  Then put only the kernel and lilo
on the _primary_ IDE (your QNX drive), and tell the kernel to find its root
filesystem on the second drive.  This may require you to repartition the
primary drive, though, if there aren't any Linux-writable partitions there
yet.  (Linux 2.2.12 claims to support the QNX filesystem, but write support
is still experimental.)

Have fun,

Avery


--
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>.

Reply via email to