[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Lilo with cylinder>1024 on TP?




   Hi,
   I'm sure this is a FAQ-Question, but I can't solve it...
   I have a hard disk with at least 1047 cylinders, and LinuX starts well if 
   I use loadlin with DOS. But if I try to use LILO, it just brings me 'LI' 
   and the a lot of '0101010101', but nothing more.
   What have I to do?
   fdisk sais, the hard disk has 1047 cylinder, 16 heads, and 63 sectors.
   -----cut fdisk-----
   Disk /dev/hda: 16 heads, 63 sectors, 1047 cylinders
   Units = cylinders of 1008 * 512 bytes
      Device Boot  Begin   Start     End  Blocks   Id  System
   /dev/hda1   *       1       1     508  256000+   6  DOS 16-bit >=32M
   Partition 1 does not end on cylinder boundary:
	phys=(253, 31, 63) should be (253, 15, 63)
   /dev/hda2         509     509    1016  256032   83  Linux native
   /dev/hda3        1017    1017    1047   15624   82  Linux swap
   ----cut fdisk-----
   any suggestions?

I think the problem is that Linux is configuring your disk with a
different number of cylinders than is DOS.  My experience with DOS is
that it will simulate a different geometry in order to keep the
number of cylinders below 1024; in your case I bet it is using 523
cylinders, 32 heads, and 63 sectors (check this using DOS fdisk).  If
you force Linux to use the same geometry, it will work; you can do
this with a Lilo command line parameter: "hd=523,32,63".