Iam trying to get lilo working from a compact flash
on an i386 SBC board.However LILO freezes at "LI" and Iam stuck bad at this
point, could use some help.
As per the bootloader error codes, this seems
to be due a mismatch in the disk geometry. However I could not figure out any
mismatch for CF from my BIOS/ fdisk settings.
I have listed down all the related settings which
could be a problem source with disk geometry.
The BIOS(award) AUTO detects my IDE hard disk (hda)
as Primary Master & 32 MB compact flash (detected as IDE drive secondary
master -hdc).
Here is the BIOS listing from bootup :
Pri. Master Disk: LBA, ATA 66,
40022MB ( CHS= 19158,16,255)
Pri. Slave Disk : CDROM,
PIO 4
Sec. Master disk: CHS, PIO 2,
32MB (CHS= 496,4,32)
Sec. Slave Disk :
None
Some mails citing similar problems seem to
emphasize on setting the BIOS into LBA mode. How do i set that???
It seems to be auto detecting addressing patterns
here.
Currently Iam able to boot via hdd1 , with the
other drive still connected but with all the other drives disabled in the BIOS
settings. LILO however stops at "LI".With the IDE drive removed, should have
been able to boot using hdd0, however can see only some numbers scroll fast on
the display.
Could there be a problem with booting from
secondary master???
I have the following kernel filesystem
on the boot partition of of my compact flash:
/bzImage-2.2.16-22
/bdlilo.conf
/boot/boot.b
/boot/map
/dev/hdc1
/dev/hdc3
/dev/null
I run lilo -v -C bdlilo.conf , which executes
smoothly writing the MBR. It only issues one warning saying /dev/hdc is not my
first disk.
The partition table for the compact flash is
as follows:
Disk
/dev/hdc: 4 heads, 32 sectors, 496 cylinders
Units = cylinders of 128 * 512 bytes Device
Boot Start
End Blocks Id System
/dev/hdc1 * 1 81 5168 83 Linux /dev/hdc2 82 114 2112 82 Linux swap /dev/hdc3 115 483 23616 83 Linux The partition table for my normal IDE drive (hda-primary
master)
Disk
/dev/hda: 255 heads, 63 sectors, 4865 cylinders
Units = cylinders of 16065 * 512 bytes Device
Boot Start
End Blocks Id System
/dev/hda1 * 1 255 2048256 b Win95 FAT32 /dev/hda2 256 778 4200997+ 83 Linux /dev/hda3 779 4865 32828827+ 5 Extended /dev/hda5 779 795 136521 82 Linux swap There seem to be a mismatch in the CHS values for
/dev/hda. But this drive boots up fine using LILO, looks like a shuffle between
the CH ratio. Does'nt look I need to try changing CHS using fdisk
??
Here are the contents of bdlilo.conf(
/dev/hdc):
boot = /dev/hdc
map = /boot/map
install = /boot/boot.b
disk=/dev/hdc
bios=0x81
read-only
backup = /dev/null
image = bzImage
label = bootdisk
root = /dev/hdc3
I tried using both the options , with/without
"linear" option in bdlilo.conf, but to the same effect.
Is there something amiss here???
Any help???
Thanking in anticipation,
Regards,
-Anita
|