External HDD cannot be mounted

external-diskpartition

I really have a problem with my HDD. I was working on it, it was my local HDD installed on a MacBook 2009 but some day my Mac turned off suddenly and it didn't work again.

I installed OS X on a new disk and tried to attach the other in an external case but the volume doesn't mount.

The now broken disk contained one visible volume and OS X 10.10 Yosemite was installed.

Here are the partition infos I can see:

arturoperez$ diskutil list

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *250.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS New Mac                 99.5 GB    disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
   4:                  Apple_HFS Datos                   149.6 GB   disk0s4
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *159.3 GB   disk1
   1:                       0xEE                         159.3 GB   disk1s1

arturoperez$ diskutil info /dev/disk1s1

   Device Identifier:        disk1s1
   Device Node:              /dev/disk1s1
   Part of Whole:            disk1
   Device / Media Name:      Untitled 1

   Volume Name:              Not applicable (no file system)

   Mounted:                  Not applicable (no file system)

   File System:              None

   Partition Type:           0xEE
   OS Can Be Installed:      No
   Media Type:               Generic
   Protocol:                 USB
   SMART Status:             Not Supported

   Total Size:               159.3 GB (159307878400 Bytes) (exactly 311148200 512-Byte-Units)
   Volume Free Space:        Not applicable (no file system)
   Device Block Size:        4096 Bytes

   Read-Only Media:          No
   Read-Only Volume:         Not applicable (no file system)
   Ejectable:                Yes

   Whole:                    No
   Internal:                 No

The output of sudo gpt -r show /dev/disk1 and sudo fdisk /dev/disk1:

arturoperez$ sudo gpt -r show /dev/disk1

     start      size  index  contents
         0         1         PMBR
         1  38893525         


arturoperez$ sudo fdisk /dev/disk1

Disk: /dev/disk1    geometry: 2421/255/63 [38893526 sectors]
Sector size: 4096 bytes
Signature: 0xAA55
         Starting       Ending
#: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
1: EE 1023 254  63 - 1023 254  63 [         1 -  312581807] <Unknown ID>
2: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
3: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
4: 00    0   0   0 -    0   0   0 [         0 -          0] unused

Apparently it doesn´t have an active partition but I tried by different ways to fix it and i couldn´t.

Is there anyone who can help me with this? I have important information there and I need to restore it asap.

Update 1

After trying to follow the instructions in klanomath's answer, I get this message when I try to create a new GPT.

arturoperez$ diskutil unmountDisk disk1
Unmount of all volumes on disk1 was successful
arturoperez$ sudo gpt -r show /dev/disk1
     start      size  index  contents
         0         1         PMBR
         1  38893525         
arturoperez$ sudo gpt create disk1
arturoperez$ sudo gpt add -b 40 -i 1 -s 409600 -t C12A7328-F81F-11D2-BA4B-00A0C93EC93B disk1
gpt add: disk1: error: no primary GPT header; run create or recover

Update 2

I tried to make an image with TestDisk, it took 3 days to finish… I changed the disk geometry and then I analyzed it again. This is the result:

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/disk1 - 160 GB / 149 GiB - CHS 19457 255 63

     Partition                  Start        End    Size in sectors
  1 P EFI System                    40     409639     409600 [EFI System Partiti
> 2 P Mac HFS                   409640  311312231  310902592 [Sin t ulo]
  3 P Mac Boot               311312232  312581767    1269536 [Recovery HD]

Now i'm stuck because i don't know what is the next step.

Best Answer

A good option is to try DiskWarrior:

Everything just disappeared after your Mac went haywire. All your work documents. The music you most enjoy. The movie of your kid's first steps. It's your life and it's gone. Don't panic! DiskWarrior will recover your documents, photos, music and any other files when disaster strikes and you lose access to your files.

It may not be suitable depending on your original disk format but TestDisk can also recover damaged partitions:

TestDisk is powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software: certain types of viruses or human error (such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy.