Thread: Trying to recover partition table with testdisk
i accidentally deleted partition table. used dd ... bs=512 instead of bs=440 while trying remove grub.. doh
anyway thought easy testdisk find partitions, looks found 2 partitions weren't partitions, think backup files created dd/fsarchiver/etc.. tried deep search too.
suggested change heads per cylinders 8. trying looks it's not finding partitions.
@ time accidentally deleted partition table this:
<unpartitioned space>
<ext4 partition>
<ntfs partition>
<extended>
<...>
i'm wondering if unpartitioned space in beginning throwing testdisk off. maybe if find first ext4 partition starts create partition position 0 - beginning of ext4 partition.
i'm thinking of creating bash script search ext4 magic bytes, if else has more knowledge or else try first
there chance gpart work better? (haven't tried yet, each try takes couple of hours, drive 1tb).
testdisk should scan disk, that's why takes long. so, having unpartitioned space in front shouldn't matter.
wonder if not having partition table @ (zeroed out) throwing off. it's bit risky, if create new partition table, , deep search lost partitions?
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [SOLVED] Trying to recover partition table with testdisk
Ubuntu
Comments
Post a Comment