LILO on a 3 drive system

LILO on a 3 drive system

Post by Kees den Harti » Wed, 30 Oct 1996 04:00:00



I have Redhat installed from CDROM onto a 1.1 gig quantum
which I installed as the primary of the second IDE port
od a P133. The first IDE port has 2 drives (DOS) the boot
drive being a 420 meg and the slave an 840 meg.

I can boot linux from the redhat boot disk I created
with the incantation linux ramdisk=0 root=/dev/hdc1
(hdc is partitioned into 4 partions including a swap)
hda and hdb are my dos drives of course.

Everything seems to function fine in both DOS and linux
but I want to install LILO

lilo complains about 0x82 bios drive may not be accessible
when I run it and a boot indicates the to common
LI
and hangs.

rebooting with the redhat bootdisk and the
linux boot incantation boots linux just fine.

What is wrong with this picture.
Am I not allowed to have linux on the master of a second
IDE port? What would the lilo.conf look like for this situation.

Any input would be appreciated.

--

System Administrator-Electrical and Computer Engineering    (   ) (   )
University of Alberta 238 Civil Elect    Voice (403)492-5421 \ (   ) /
http://www.ee.ualberta.ca/~kees          Fax   (403)492-1811  \_) (_/

 
 
 

LILO on a 3 drive system

Post by Geoff Alls » Sun, 03 Nov 1996 04:00:00



Quote:

>I have Redhat installed from CDROM onto a 1.1 gig quantum
>which I installed as the primary of the second IDE port
>od a P133. The first IDE port has 2 drives (DOS) the boot
>drive being a 420 meg and the slave an 840 meg.

>I can boot linux from the redhat boot disk I created
>with the incantation linux ramdisk=0 root=/dev/hdc1
>(hdc is partitioned into 4 partions including a swap)
>hda and hdb are my dos drives of course.

>Everything seems to function fine in both DOS and linux
>but I want to install LILO

>lilo complains about 0x82 bios drive may not be accessible
>when I run it and a boot indicates the to common
>LI
>and hangs.

>rebooting with the redhat bootdisk and the
>linux boot incantation boots linux just fine.

>What is wrong with this picture.
>Am I not allowed to have linux on the master of a second
>IDE port? What would the lilo.conf look like for this situation.

        Someone no doubt will correct me, but I believe lilo must find the
kernel image to boot on /dev/hda or /dev/hdb only.  If you put Linux on
/dev/hdc, I think you are stuck with boot floppies or loadlin from DOS.

Geoff

 
 
 

LILO on a 3 drive system

Post by Flemming Skovgaa » Tue, 05 Nov 1996 04:00:00




>    Someone no doubt will correct me, but I believe lilo must find the
>kernel image to boot on /dev/hda or /dev/hdb only.  If you put Linux on
>/dev/hdc, I think you are stuck with boot floppies or loadlin from DOS.
>Geoff

That's my experience as well.

i've made a small partition on /dev/hdb and installed /boot/* and a
kernel on it. Then I installed LILO in the partition boot record and
added i to OS/2 Bootmanager. Voila!

Your welcome to write for exact setup (I'm running OS/2 at the moment,
and can't access my linux partitions)

Regards

Flemming

 
 
 

LILO on a 3 drive system

Post by Paul Franci » Tue, 05 Nov 1996 04:00:00





> >       Someone no doubt will correct me, but I believe lilo must find the
> >kernel image to boot on /dev/hda or /dev/hdb only.  If you put Linux on
> >/dev/hdc, I think you are stuck with boot floppies or loadlin from DOS.

                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                        NOT TRUE !

Quote:

> >Geoff

> That's my experience as well.

    SEE BELOW

> i've made a small partition on /dev/hdb and installed /boot/* and a
> kernel on it. Then I installed LILO in the partition boot record and
> added i to OS/2 Bootmanager. Voila!

> Your welcome to write for exact setup (I'm running OS/2 at the moment,
> and can't access my linux partitions)

> Regards

> Flemming


All my kernels live on hdc1 which is mounted as /.  There appears to
be a problem with more than 2 EIDE drives.  The LINUX IDE driver does
not seem to find the correct disk geometry for hdc and hdd.  Also I
use the LINEAR option for LILO to get it to work.  LILO also blabbers
some Warnings about maybe not being able to access a drive, but still
boots OK.  I guess all these problems are the result of the old PC
BIOS and the generality that a piece of software like LIKO needs to
have, however it does work well.

--

PGP Public key available at http://www-swiss.ai.mit.edu/~bal/pks-toplev.html
Home Page http://www2.magmacom.com/~pfrancis

 
 
 

LILO on a 3 drive system

Post by caba.. » Fri, 08 Nov 1996 04:00:00




>>I have Redhat installed from CDROM onto a 1.1 gig quantum
>>which I installed as the primary of the second IDE port
>>od a P133. The first IDE port has 2 drives (DOS) the boot
>>drive being a 420 meg and the slave an 840 meg.

>>I can boot linux from the redhat boot disk I created
>>with the incantation linux ramdisk=0 root=/dev/hdc1
>>(hdc is partitioned into 4 partions including a swap)
>>hda and hdb are my dos drives of course.

>>Everything seems to function fine in both DOS and linux
>>but I want to install LILO

>>lilo complains about 0x82 bios drive may not be accessible
>>when I run it and a boot indicates the to common
>>LI
>>and hangs.

>>rebooting with the redhat bootdisk and the
>>linux boot incantation boots linux just fine.

>>What is wrong with this picture.
>>Am I not allowed to have linux on the master of a second
>>IDE port? What would the lilo.conf look like for this situation.

>    Someone no doubt will correct me, but I believe lilo must find the
>kernel image to boot on /dev/hda or /dev/hdb only.  If you put Linux on
>/dev/hdc, I think you are stuck with boot floppies or loadlin from DOS.

>Geoff

That's what the redhat book says.  But I've got slackware sitting on the
4th physical hard drive (7th partition, /dev/sdc).  Can slackware do it
but redhat not?
 
 
 

LILO on a 3 drive system

Post by Rob McIlharg » Wed, 27 Nov 1996 04:00:00






>>>I have Redhat installed from CDROM onto a 1.1 gig quantum
>>>which I installed as the primary of the second IDE port
>>>od a P133. The first IDE port has 2 drives (DOS) the boot
>>>drive being a 420 meg and the slave an 840 meg.

>>>I can boot linux from the redhat boot disk I created
>>>with the incantation linux ramdisk=0 root=/dev/hdc1
>>>(hdc is partitioned into 4 partions including a swap)
>>>hda and hdb are my dos drives of course.

>>>Everything seems to function fine in both DOS and linux
>>>but I want to install LILO

>>>lilo complains about 0x82 bios drive may not be accessible
>>>when I run it and a boot indicates the to common
>>>LI
>>>and hangs.

  Is your third drive an EIDE drive? If so you may have to add a couple more
lines to lilo.conf. I had the same problem trying to boot off of my 2.1GB
drive that was the master on a second controller. Just ignore the warning
message if your BIOS actually supports 2 IDE controllers.

The lines that I added were.
linear
disk = /dev/hdc
        bios = 0x82
        sectors = 63
        heads = 16
        cylinders = 4092

Change these lines to match your drive, but the 0x82 should be the same if
your trying to boot off of the third drive.

Quote:

> That's what the redhat book says.  But I've got slackware sitting on the
> 4th physical hard drive (7th partition, /dev/sdc).  Can slackware do it
> but redhat not?

  No, I can boot off my third drive with Lilo under Red Hat 4.0. It's only a
problem if your third and fourth drives are controlled by a controller
card and not the motherboard. I also had problems with Lilo.

--
Rob.

                 http://www.mccabe.com/

 
 
 

1. How to set up LILO on fisrt drive of 2 drive system?

How is LILO set up in the bootsector of the first drive??   Set up is
from RH4.2 CD.  Tried the install several times and finally put Linux
on partition first drive instead of all on second drive.

 I realize the boot sector can't be above the 1024 cylinder.

So at what stage / how is LILo installed on first drive?

Thanks
John

2. A working driver for Colorado Tape 8G??

3. two drives, two linux systems, lilo setup ?

4. FreeBSD 2.1.0 System Crashes often, please help.

5. Multiple systems on multiple drives and LILO?

6. How do I fix module for eth0 not loading?

7. Lilo/two drive system

8. Write a daemon

9. How to put Lilo 18 & 19 on old (lilo 17) system?

10. LILO + windows on a SCSI drive + linux on an IDE drive

11. LILO: Dual boot Linux drive+Win95 drive problem

12. LILO on drive 0 instead of Drive 1

13. Lilo & 2 SCSI Drives - Won't boot from 2nd drive