Re: [opensuse] Partition 1 does not end on cylinder boundary

I just upgraded my 160GB hdd to 500GB on my ThinkPad T60
and everything was fine with my original 2 distros.
fdisk -l listed with no errors.
I installed 5 new distros including OpenSuse 11.3
Suse works fine but now:
# fdisk -l now reads:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 6374 51196288+ 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 6374 7167 6365520 c W95 FAT32 (LBA)
Partition 2 does not end on cylinder boundary.
/dev/sda3 7167 8670 12073320 c W95 FAT32 (LBA)
Partition 3 does not end on cylinder boundary.
/dev/sda4 8670 60802 418751369+ f W95 Ext'd (LBA)
/dev/sda5 8670 8798 1028128+ 82 Linux swap / Solaris
/dev/sda6 8798 13897 40960048+ 83 Linux
/dev/sda7 13897 18996 40960048+ 83 Linux
/dev/sda8 18996 19379 3076888+ 83 Linux
/dev/sda9 19379 23204 30723808+ 83 Linux
/dev/sda10 23204 27029 30723808+ 83 Linux
/dev/sda11 27030 27794 6144831 83 Linux
/dev/sda12 27795 28559 6144831 83 Linux
/dev/sda13 28560 29324 6144831 83 Linux

sda6, sda7, sda8, and sda9 end at cylinder and the next
partition starts at same cylinder as the previous cylinder.
The next partition should start at the next cylinder as
sda10,sda11,sda12 and sda13.

How can I correct this?
Does testdisk correct this, is it safe to use?


I doubt that you have a problem. Those are all calculated values; Linux does not use CHS. Partition boundaries are logical, not physical. I have a disk like yours, where the primaries were created with Windows and the logicals all with Linux. SuSE's Partitioner sees all the partitions with a 1 cylinder ending/starting offset. By contrast, fdisk sees the Windows created partitions with the first two ending/starting on +1 cylinder while it sees the second/third as ending/starting on the same cylinder. Windows, depending on the version, will write to the table using DOS CHS values or it will use LBA calculated values ignoring CHS (as Linux does). I suggest reading the fdisk man page as it discusses this in a bit more detail, and the cfdisk (which is more reliable than fdisk) man page as well. The short of it is that it is possible for there to be minor variations in how the table is reported, depending not only on OS but even which tool is being used; this does not necessarily indicate a problem (although that can arise when manipulating a partition table entry with a different OS than what was used to initially create that entry). Manipulating these table values manually is extremely high risk. If Linux and Windows are all able to read the partition table and write to their partitions, you are probably fine.
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

Relevant Pages

  • Re: Debian in a VMware VM and LVM
    ... First I had a look at the current disk layout using fdisk -l ... Partition 1 does not end on cylinder boundary. ...
  • Re: Partition Size & BIOS 1024 Cylinder Limit
    ... when I was about to resize the C: partition in order to increase ... > The PM7 disk map bar diagram shows the C: ... PM7 shows the 1024 BIOS limit to be at ... > PS- The info in the PM7 help File notes on the BIOS 1024 Cylinder Limit, ...
  • Re: [SLE] Problems mounting Windows drive/partition
    ... able to work with the drive under FreeDOS but not under Linux. ... (e.g., DOS FDISK, OS/2 FDISK) ... Partition 1 does not end on cylinder boundary. ...
  • Re: Command Line Partitioning
    ... fdisk: Doesn't seem to have a batch/script mode and I'd have to calculate sizes in megabytes from cylinder info ... +1000M for the end of the partition. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
  • Re: Kein MOUNT unter KNOPPIX 6.01
    ... Disk identifier: 0x4975d009 ... Partition 1 has different physical/logical endings: ... Partition 1 does not end on cylinder boundary. ...