LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   RH7 Lilo Question... (https://www.linuxquestions.org/questions/linux-software-2/rh7-lilo-question-640/)

Shai 01-21-2001 05:05 PM

Install went well till the reboot - LILO error eturned:
L

Below detail my newbie detective work, any thoughts appreciated.

~

Executing the command /sbin/lilo returns the following message:

Warning: BIOS drive 0x82 may not be accessible.
This is repeated 5 times then...
Added linux *
Added dos

Return to prompt.

Attempting a restart. The following LILO error is returned:

L

Thats as far as it goes. I can then 'fdisk /mbr' to return to "normal".

Booting from fd0 works like a dream.


**********Files to look at*************
-------fdisk of 20G Windows Primary Master IDE HD-------
Disk /dev/hda: 255 heads, 63 sectors, 2494 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 375 3012156 b Win95 FAT32
/dev/hda2 376 2494 17020867+ f Win95 Ext'd (LBA)
/dev/hda5 376 1729 10875973+ b Win95 FAT32
/dev/hda6 1730 2494 6144831 b Win95 FAT32

-----fdisk of 6G Linux Secondary Slave IDE HD------
Disk /dev/hdd: 255 heads, 63 sectors, 784 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 * 1 17 136521 83 Linux
/dev/hdd2 18 784 6160927+ 5 Extended
/dev/hdd5 18 751 5895823+ 83 Linux
/dev/hdd6 752 784 265041 82 Linux swap

----------lilo.conf----------
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=linux

image=/boot/vmlinuz-2.2.16-22
label=linux
initrd=/boot/initrd-2.2.16-22.img
read-only
root=/dev/hdd5

other=/dev/hda1
label=dos

*************************************************
After reading the LILO users guide it appears my BIOS (Intel CC82010A.006.P04) does not support more that 2 HDD - Linux is Slave of Secondary IDE (4th Drive). So I updated the BIOS (CC82010A.015.P09).

Still no joy.

Should I move the drives around and if so where to. Should I make my HDD primary master & slave, or primary master & secondary master? If I do this will I still see my CDROM? IS there a better solution and I am missing something REAL obvious :) ?

Thanks in advance for the help.

jeremy 01-21-2001 05:15 PM

Try putting a line like this in your lilo.conf.
Quote:

disk=/dev/diskyouarehavingtroublewith
*** bios=0x82

Shai 01-22-2001 04:44 PM

Jeremy,

thx for your post. That stopped the errors when executing the /sbin/lilo, and I thought all my dreams had come true. Alas fate decided to kick me in the teeth :)

Apon a restart lilo returned the same error:

L

at boot :(

Any further advice is greatly appreciated (again)

Shai 01-24-2001 11:44 PM

Well I think I will be playing swap the HDD around tonight. Can anyone tell me which drives are considered 1,2,3 and 4 in IDE.

As in:

1 = Primary Master(PM)
2 = Primary Slave(PS)
3 = Secondary Master(SM)
4 = Secondary Slave(SS)

or

1 = PM
2 = SM
3 = PS
4 = SS

or some other combination - My gut feeling is Option One, as controller should come before device, but a definate would be nice so I dont have to play "untangle the cables" all nite :)

Thx ppl.

[Edited by Shai on 01-25-2001 at 12:46 AM]

jeremy 01-25-2001 07:31 PM

The first one was indeed correct.

hda -> Primary Master
hdb -> Primary Slave
hdc -> Secondary Master
hdd -> Secondary Slave


All times are GMT -5. The time now is 12:25 PM.