OS X testdisk vs. pdisk "size" numbers - trying to fix parti
Posted: 13 Jul 2015, 07:42
Hey all,
First time here,
Running a mac pro with 4 drives, multiple partitions - 2 drives for mac partitions and 2 for windows partitions,
Finally got around to trying to repair an unbootable windows installation using windows system restore.
well, windows system restore failed and in the process it seems to have initialized all my mac partitions to showing unmounted partitions named as "disk1s2", etc.
i found instructions online to use testdisk and then pdisk to fix the partition.
(http://perrohunter.com/repair-a-mac-os- ... ion-table/)
in the online instructions, he shows an example of typing in the same numbers from testdisk partition size output (sectors?) in pdisk (blocks?) and it seemed to work for him.
HOWEVER
I am getting a different "device" size of 42949672295 blocks, rather than 7814037127 sectors. This doesn't make sense, and when i try his approach I get "map is not big enough"
I should think this could be a difference in blocks vs sectors. I have a decent understanding of what blocks are, but not so much with sectors.
Does someone know how this really should work? should I and Is there a way to convert sector numbers to blocks?
Or could someone provide some information or instruction on how to proceed?
Any help would be appreciated!
Cheers,
Tom
(btw, his screencaps show he was using TestDisk 6.1, I have 7.0)
First time here,
Running a mac pro with 4 drives, multiple partitions - 2 drives for mac partitions and 2 for windows partitions,
Finally got around to trying to repair an unbootable windows installation using windows system restore.
well, windows system restore failed and in the process it seems to have initialized all my mac partitions to showing unmounted partitions named as "disk1s2", etc.
i found instructions online to use testdisk and then pdisk to fix the partition.
(http://perrohunter.com/repair-a-mac-os- ... ion-table/)
in the online instructions, he shows an example of typing in the same numbers from testdisk partition size output (sectors?) in pdisk (blocks?) and it seemed to work for him.
HOWEVER
I am getting a different "device" size of 42949672295 blocks, rather than 7814037127 sectors. This doesn't make sense, and when i try his approach I get "map is not big enough"
I should think this could be a difference in blocks vs sectors. I have a decent understanding of what blocks are, but not so much with sectors.
Does someone know how this really should work? should I and Is there a way to convert sector numbers to blocks?
Or could someone provide some information or instruction on how to proceed?
Any help would be appreciated!
Cheers,
Tom
(btw, his screencaps show he was using TestDisk 6.1, I have 7.0)