accidentaly wiped partition using fdisk
Posted: 20 Sep 2019, 10:53
Hey,
So i stupidly used fdisk on the wrong hard drive. I deleted the existing NTFS partition, then recreated the gpt partition table (with g) and wrote the changes. I went back into fdisk and created a new partition using the default settings, though this time it was not ntfs, it was the linux default. After rebooting I realised my screw up and went back in and deleted the ext partition and recreated a single NTFS partition with the default settings.
How badly have I screwed up? Is there any hope? Ideally I would be able to get everything back, but specifically I have some photos that I need. Apart from this fdisk stuff I haven't copied or written anything to the drive. I created a disk image of the drive also.
photorec initially found some images, but I had to stop the search (can't remember why, it was a few days ago). After trying it again it hasn't been able to find anything. I can't remember what (if anything) I changed between then and now.
testdisk is running a scan and so far this is what it is giving:
I'm not sure what any of this means. What should I do once testdisk finishes?
So i stupidly used fdisk on the wrong hard drive. I deleted the existing NTFS partition, then recreated the gpt partition table (with g) and wrote the changes. I went back into fdisk and created a new partition using the default settings, though this time it was not ntfs, it was the linux default. After rebooting I realised my screw up and went back in and deleted the ext partition and recreated a single NTFS partition with the default settings.
How badly have I screwed up? Is there any hope? Ideally I would be able to get everything back, but specifically I have some photos that I need. Apart from this fdisk stuff I haven't copied or written anything to the drive. I created a disk image of the drive also.
photorec initially found some images, but I had to stop the search (can't remember why, it was a few days ago). After trying it again it hasn't been able to find anything. I can't remember what (if anything) I changed between then and now.
testdisk is running a scan and so far this is what it is giving:
Code: Select all
Disk /dev/sde - 4000 GB / 3726 GiB - CHS 486401 255 63
Analyse cylinder 331398/486400: 68%
Warning: number of sectors per track mismatches 2 (NTFS) != 63 (HD)
MS Data 5166068747 5166074920 6174
Warning: number of heads/cylinder mismatches 16 (NTFS) != 255 (HD)
Warning: number of sectors per track mismatches 2 (NTFS) != 63 (HD)
MS Data 5166074920 5166081093 6174 [Boot]
Warning: number of heads/cylinder mismatches 2 (FAT) != 255 (HD)
Warning: number of sectors per track mismatches 18 (FAT) != 63 (HD)
MS Data 5167230668 5167233547 2880 [EFISECTOR]
Warning: number of heads/cylinder mismatches 2 (FAT) != 255 (HD)
Warning: number of sectors per track mismatches 18 (FAT) != 63 (HD)
MS Data 5167233548 5167236427 2880 [EFISECTOR]
Warning: number of heads/cylinder mismatches 2 (FAT) != 255 (HD)
Warning: number of sectors per track mismatches 18 (FAT) != 63 (HD)
MS Data 5182286948 5182289827 2880 [EFISECTOR]
Warning: number of heads/cylinder mismatches 2 (FAT) != 255 (HD)
Warning: number of sectors per track mismatches 18 (FAT) != 63 (HD)
MS Data 5182289828 5182292707 2880 [EFISECTOR]
check_FAT: Unusual number of reserved sectors 4 (FAT), should be 1.
Warning: number of heads/cylinder mismatches 64 (FAT) != 255 (HD)
Warning: number of sectors per track mismatches 32 (FAT) != 63 (HD)
MS Data 5182455844 5182586915 131072 [ARCHISO_EFI]
check_FAT: Unusual number of reserved sectors 4 (FAT), should be 1.
Warning: number of heads/cylinder mismatches 64 (FAT) != 255 (HD)
Warning: number of sectors per track mismatches 32 (FAT) != 63 (HD)
MS Data 5183526948 5183658019 131072 [ARCHISO_EFI]
check_FAT: Unusual media descriptor (0xf8!=0xf0)
Warning: number of heads/cylinder mismatches 64 (FAT) != 255 (HD)
Warning: number of sectors per track mismatches 32 (FAT) != 63 (HD)
MS Data 5184691760 5184692591 832 [NO NAME]
Bad root_cluster
Warning: number of heads/cylinder mismatches 2 (FAT) != 255 (HD)
Warning: number of sectors per track mismatches 18 (FAT) != 63 (HD)
MS Data 5184704403 5184707282 2880 [NO NAME]
check_FAT: Unusual media descriptor (0xf8!=0xf0)
Warning: number of heads/cylinder mismatches 64 (FAT) != 255 (HD)
Warning: number of sectors per track mismatches 32 (FAT) != 63 (HD)
MS Data 5190104084 5190109011 4928 [NO NAME]