OK, your lilo.conf looks good to me.  You were saying that if you were to
delete the "1" after "boot=/dev/hda" on the second line of /etc/lilo.conf,
save the file, and run /sbin/lilo, then you get the error "Fatal:
Partition entry not found", correct?

As for fdisk, I haven't seen something like that since I overwrote my
partition table with /dev/random.  Tell me, what program did you use to
partition your drive?  Whatever it was, it doesn't seem to care much about
compatibility; leaving all these partitions beginning or ending in the
middle of a cylinder.

Does this look corrupted to anyone else?  I see fdisk apparently
contradicting itself... maybe.  Now, it starts off by giving us the
"logical" geometry for the disk:

> Disk /dev/hda: 240 heads, 63 sectors, 833 cylinders
> Units = cylinders of 15120 * 512 bytes

OK, so we have 833 cylinders total, for a size of ~6 GB.

>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1       412   3112798+  83  Linux
> Partition 1 has different physical/logical endings:
>      phys=(548, 179, 63) logical=(411, 179, 63)
> Partition 1 does not end on cylinder boundary:
>      phys=(548, 179, 63) should be (548, 239, 63)

Here, I see the partition ending before the cylinder: we've 240 logical
heads in this cylinder, and the partition ends on the 179th.  Now, Linux
shouldn't care about this, so as long as you're not trying to dual-boot,
you ought to be okay.

The next part I don't understand: fdisk thinks the physical geometry is
that the partition ends on the 179th head of the 548th cylinder.  I don't
know where this info is coming from.  It then seems to think that the
physical info is more reliable than the logical, and is applying the 240
heads it got to that.  Sounds like something is corrupted to me.

> /dev/hda2           412       824   3112830   83  Linux
> Partition 2 has different physical/logical beginnings (non-Linux?):
>      phys=(549, 0, 1) logical=(411, 180, 1)
> Partition 2 has different physical/logical endings:
>      phys=(1023, 179, 63) logical=(823, 119, 63)
> Partition 2 does not end on cylinder boundary:
>      phys=(1023, 179, 63) should be (1023, 239, 63)
> /dev/hda3           824       833     68040   82  Linux swap
> Partition 3 has different physical/logical beginnings (non-Linux?):
>      phys=(1023, 179, 63) logical=(823, 120, 1)
> Partition 3 has different physical/logical endings:
>      phys=(1023, 179, 63) logical=(832, 119, 63)
> Partition 3 does not end on cylinder boundary:
>      phys=(1023, 179, 63) should be (1023, 239, 63) 

Same problem on all the rest.  I don't know why this is happening.  I can
say the only way to fix it is to delete and remake the partitions.  If you
do that, you'll also lose and have to remake you filesystems, too.  

-Matt Stegman
<[EMAIL PROTECTED]>




Reply via email to