Restoring partition table.
Hello,
bad news for me - I lost partition table in my 1Tb hard drive. All what
I have it's fdisk output of working drive:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00087837
Device Boot Start End Blocks Id System
/dev/sda1 1 973 7811072 82 Linux swap / Solaris
Partition 1 does not end on cylinder boundary.
/dev/sda2 973 2189 9765888 8e Linux LVM
/dev/sda3 2189 42715 325529600 8e Linux LVM
Swap isn't changed, but I can't create manually sda2 and sda3
partitions - when I set count of cylinders, count of blocks is not equal
with original table (I think because I used different versions of fdisk
for installation and restoring).
Can I convert fdisk output to sfdisk dump? How to convert count of
blocks to number of sectors for using with sfdisk?
What can I do in this situation?
Excuse me for my bad English.
Reply to: