Hello.
I recently installed Linux (Debian woody) on a P4 machine that has two SCSI
disks. Linux installed well on the second disk (/dev/sdb) which is an IBM
Ultrastar 18GB SCSI disk. Everything seemed perfectly fine with the system
until I attempted to look at the partitions with PartitionMagic.
PartitionMagic reported that the Linux partition had an error. So, I booted
Linux, ran fdisk and received the following report from "fdisk -l /dev/sdb":
----
Disk /dev/sdb: 1 heads, 35565080 sectors, 1 cylinders
Units = cylinders of 35565080 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1 17652064+ 83 Linux
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(0, 1, 1) logical=(0, 0, 64)
Partition 1 has different physical/logical endings:
phys=(1023, 255, 63) logical=(0, 0, 35304192)
Partition 1 does not end on cylinder boundary:
phys=(1023, 255, 63) should be (1023, 0, 35565080)
----
I never noticed this before, so I decided to run cfdisk. It showed the
partition as being correct:
---
sdb1 Boot Primary Linux ext2
18075.75
---
and the cfdisk table print produced:
---
Partition Table for /dev/sdb
---Starting--- ----Ending---- Start Number of
# Flags Head Sect Cyl ID Head Sect Cyl Sector Sectors
-- ----- ---- ---- ---- ---- ---- ---- ---- -------- ---------
1 0x80 1 1 0 0x83 255 63 1023 63 35304129
2 0x00 0 0 0 0x00 0 0 0 0 0
3 0x00 0 0 0 0x00 0 0 0 0 0
4 0x00 0 0 0 0x00 0 0 0 0 0
---
My big question is why are fdisk and cfdisk reporting different information.
Which is correct? My Linux installation is working, but this anomaly in the
partition table bothers me. Might anyone have any information on why this
is occuring?
Many thanks for your time.
Pete Willemsen
University of Utah