[Q] LILO will not install
Hello,
I have problems installing LILO, namely I don't know how to specify
the disk geometry in the /etc/lilo.conf. Here is my situation:
I have one UDMA disk connected to Promise Ultra33 controler,
the controler shows up as ide2, the disk as /dev/hde.
The log output from the boot message is bellow.
I have the root partition /dev/hde1 (~50MB) which should be bellow
1024 cylinder. The output from `fdisk' is bellow. The problems is
that LILO can't handle device /dev/hde1 when trying to install.
According the LILO's user's manual the explicit disk geometry has
to be specified in /etc/lilo.conf, however, when I use:
disk = /dev/hde
bios = 0x80
sectors = 63
heads = 128
cylinders = 847
partition = /dev/hde1
start = 1
boot=/dev/hde
map=/boot/map
install=/boot/boot.b
prompt
linear
timeout=50
image=/boot/vmlinuz-2.0.36-0.7
label=linux
root=/dev/hde1
read-only
then LILO installs but then it makes only up to `LI' when trying
to boot. I think the value for `start' paramater above is wrong.
The documentation says that the value specifies the zero-based
number of the start sector of the partition (/dev/hde1 in this case).
I do not know what is meant by `zero-based number'. Perhaps, someone
could explain that to me. Also, what should be the value for the
partition /dev/hde2?
Here is the extract from /var/log/messages:
Feb 8 20:18:51 comlab3 kernel: ide: Promise Technology IDE Ultra-DMA 33
on PCI bus 0 function 104
Feb 8 20:18:51 comlab3 kernel: ide: Enabling DMA for Promise Technology IDE
Ultra-DMA 33 on PCI bus 0 function 104, port 0xff80
Feb 8 20:18:51 comlab3 kernel: ide2: BM-DMA at 0xff80-0xff87
Feb 8 20:18:51 comlab3 kernel: ide3: BM-DMA at 0xff88-0xff8f
Feb 8 20:18:51 comlab3 kernel: hdc: FX001DE, ATAPI CDROM drive
Feb 8 20:18:51 comlab3 kernel: hde: FUJITSU MPA3035ATU, 3337MB w/0kB Cache,
CHS=6781/16/63, UDMA
Then it gives different CHS:
Feb 8 20:18:51 comlab3 kernel: Partition check:
Feb 8 20:18:51 comlab3 kernel: hde: [PTBL] [847/128/63] hde1 hde2 hde3 hde4
< hde5 hde6 hde7 hde8 hde9 >
This is the extract from `fdisk -l /dev/hde':
Disk /dev/hde: 128 heads, 63 sectors, 847 cylinders
Units = cylinders of 8064 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hde1 1 13 52384+ 83 Linux native
/dev/hde2 * 14 313 1209600 6 DOS 16-bit >=32M
/dev/hde3 314 329 64512 82 Linux swap
etc.
this is from `fdisk -l -u /dev/hde':
Disk /dev/hde: 128 heads, 63 sectors, 847 cylinders
Units = sectors of 1 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hde1 63 104831 52384+ 83 Linux native
/dev/hde2 * 104832 2524031 1209600 6 DOS 16-bit >=32M
/dev/hde3 2524032 2653055 64512 82 Linux swap
etc.
Thank you,
Jozef Skvarcek _______________________________________________________________
Dept. of Physics and Astronomy | jozef@fatra.ph.hunter.cuny.edu
Hunter College, City University of New York | 212-772-4032
Reply to: