Quote:
|
Originally Posted by bmcclint
Anyone know what the deal is?
|
The Fedora 12 fdisk is using cylinders as the unit, and the Fedora 14 fdisk is using sectors. The fdisk default is now to use sectors instead of cylinders. See
fdisk --help in each system and you'll probably see what I mean. To make the new system's fdisk display with cylinders, try this...
Code:
su
fdisk -l -u=cylinders
Anyway, your first partition starts at cylinder 1 which starts at sector 63. Very normal. Nothing is wrong. It's apparently something new about fdisk to get used to. I have to admit that I hadn't really noticed until you mentioned it. I often would make the old version display sectors with this...
So I'm already quite used to seeing 63 or 2048 as the beginning of the first partition in an fdisk output. I didn't really notice that it is now the fdisk default.
Quote:
|
Originally Posted by bmcclint
My backups were all made on an FC12 install and when I restored from an FC12 boot CD all is well.
|
Well, when you made your backups with dd, I'm sure you didn't concern yourself with the starting and ending sectors of partitions that you backed up. You probably designated the partition to be backed up as /dev/sdaX. So dd still did the right thing backing up and restoring, and fdisk just reported the partitions in different units in the two systems. Nothing to fix.
P.S.: I wonder if we now also will stop seeing fdisk report partitions not ending on cylinder boundaries because that standard went away quite a while ago. Only fdisk still cared about it. In fact, that may even by the reason for the change in the default unit. Lately, it has been common in an fdisk output to see a partition end in one cylinder and the next partition start in the very same cylinder. Displaying that situation in sectors instead will make more sense when partitions don't start and end at cylinder boundaries.
P.P.S.: In a legacy hard drive, the first sector is the master boot record (sector 0). The first partition starts in sector 63. Those 62 sectors between the master boot record and the first partition are known as the DOS Compatibility Region. It's normally not used for anything and was intended to satisfy the DOS requirement for partitions to begin on cylinder boundaries. Some applications will stick things in there. For example, it's the place where legacy GRUB writes stage1.5. GRUB for DOS will put code there, too. There is one other that I used to know about, but I can't remember it now.