Mark Hahn (hahn@xxxxxxxxxxxxxxxxxxx) wrote on 8 October 2005 15:09: >> I tried copying the partition table using sfdisk and it complained >> about "partition does not start at a cylinder boundary". After re-running >> with the --force flag (like a dd copy would do) and formatting the partition, >> the system went nuts. > >hmm, well, I guess you are coming from an older/non-LBA disk. I suppose >I should have mentioned that little caveat: don't try the dd trick >going from CHS to LBA. LBA->LBA should be OK Agreed. I've been using sfdisk without problems with various drives. I even usually start the first partition on sector 1... When I want to copy the partition table of one disk to the other I do sfdisk -d partitioned-disk | sfdisk --force new-disk. It works for drives of different sizes as well. Yesterday I tried this pipe with logical partitions and even with force it refused, complaining that an extended partition didn't start at a cylinder boundary. That's non-sense so I just did a # for i in each-of-the-disks; do sfdisk -uS /dev/sd$i << EOF partition info EOF done and all was well. The concept of cylinder et. al is history now. Only the manufacturer knows how the info is organized on the disk surface. - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html