testdisk - Bad jump in FAT partition
Posted: 06 Sep 2015, 07:03
Hi all...
I've got a bad drive with no partition. It's a mac drive, HFS
I've run test disk and got the following result:
Disk /dev/disk2 - 2000 GB / 1863 GiB - 3907029168 sectors
Partition Start End Size in sectors
HFS 3516034640 3906766983 390732344
check_FAT: Bad jump in FAT partition
I've tried to fix it using this:
sudo pdisk /dev/rdisk1
pdisk: No valid block 1 on '/dev/rdisk1'
Edit /dev/rdisk1 -
Command (? for help): i
A physical block is 512 bytes:
A logical block is 512 bytes:
size of 'device' is 1951908304 blocks (512 byte blocks):
new size of 'device' is 1951908304 blocks (512 byte blocks)
Command (? for help): c
First block: 3516034640
Length in blocks: 390732344
Name of partition: blah
requested base and length is not within an existing free partition
another error I've gotten is 'Map is not big enough'.
I've then used the following, which has apparently created a GPT partition:
Ashleys-MacBook-Pro:~ Ashley$ sudo gpt create -f /dev/rdisk2
gpt create: /dev/rdisk2: error: device already contains a GPT
can anyone help? I'm totally lost now! Should I try to delete the partition created with get create? the finder can't see it.
I've got a bad drive with no partition. It's a mac drive, HFS
I've run test disk and got the following result:
Disk /dev/disk2 - 2000 GB / 1863 GiB - 3907029168 sectors
Partition Start End Size in sectors
HFS 3516034640 3906766983 390732344
check_FAT: Bad jump in FAT partition
I've tried to fix it using this:
sudo pdisk /dev/rdisk1
pdisk: No valid block 1 on '/dev/rdisk1'
Edit /dev/rdisk1 -
Command (? for help): i
A physical block is 512 bytes:
A logical block is 512 bytes:
size of 'device' is 1951908304 blocks (512 byte blocks):
new size of 'device' is 1951908304 blocks (512 byte blocks)
Command (? for help): c
First block: 3516034640
Length in blocks: 390732344
Name of partition: blah
requested base and length is not within an existing free partition
another error I've gotten is 'Map is not big enough'.
I've then used the following, which has apparently created a GPT partition:
Ashleys-MacBook-Pro:~ Ashley$ sudo gpt create -f /dev/rdisk2
gpt create: /dev/rdisk2: error: device already contains a GPT
can anyone help? I'm totally lost now! Should I try to delete the partition created with get create? the finder can't see it.