Restore Recovery HD partition from Yosemite downgrade

disk-utilityhard drivepartitionrecovery

I recently got back to Mavericks from Yosemite, everything went fine. As I normally do, I checked my HDD with the Disk Utility and found some trouble, then I boot on recovery mode to fix my HDD. I realize that the recovery partition was the Yosemite one (It's easy to see since the UI is different)

I want to get back my Mavericks recovery partition, so I followed along this instructions.

But my diskutil list output is a little different:

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage                         499.2 GB   disk0s2
   3:                  Apple_HFS EraseRecoveryHD         650.0 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Macintosh HD           *496.1 GB   disk1

I deleted my recovery partition successfully with the command:

diskutil eraseVolume HFS+ EraseRecoveryHD disk0s3

But when trying to merge using this command:

diskutil mergePartitions HFS+ "Untitled 1" disk0s2 disk0s3

I get the following:

The chosen disk does not support resizing.

I don't know why my disk0s2 does not have a name and why do I have a disk1

BTW, I tried to avoid this trouble just by using the recovery partition I have (from Yosemite), I ran the repair disk option on recovery mode, then I booted on Mavericks and the disk utility says my HDD has the same problem as when I first checked.

Best Answer

The simple solution is to reformat the whole disk and reinstall Mavericks from scratch. Doing so will get your Mavericks recovery partition back and you can migrate your data back from time machine. I get the feeling you don't want to do that however?