I have been having trouble installing OS X Mavericks and I think I found the problem. It told me I couldn't boot up with Macintosh HD, so I verified my disk and I got this error: This disk doesn't contain an EFI system partition

So I figured out I can create one like this (tell me if I'm wrong): sudo gpt add -b 40 -i 1 -s 409600 -t C12A7328-F81F-11D2-BA4B-00A0C93EC93B disk0 from this question, but they also said the "index" must be 1, so I can't have anything at that index.

I ran diskutil list and this is the output:

   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *250.1 GB   disk0
   1:                  Apple_HFS Macintosh HD            233.0 GB   disk0s1
   2:                 Linux Swap                         4.0 GB     disk0s2

So I need to figure out how to move the indexes of Macintosh HD and that Linux Swap thing to indexes 2 and 3 instead of 1 and 2.

I don't know if this can be done without wiping and formatting my hard drive which I don't want to do, but if it can I would love to know how. Thanks!

By the way I'm on OS X mountain lion

1 Answer 1


Usually EFI is on your Macintosh HD. It's likely still there, but not used due to messed up settings. This very easy to fix:

  • Boot into a Recovery partition, DVD, or USB drive. Using the installation media that came with your device will suffice.
  • Once loaded, you'll be presented an interface like:

Recovery Mode Utilities

  • Close this window, and you'll be prompted to choose between Startup disk, Cancel, and Restart.
  • Select Startup Disk. The mere act of opening this utility with run the appropriate bless command in the background, repairing your EFI setup.
  • Select Macintosh HD
  • Restart
  • Come back to Ask Different and up vote this successful answer :D
  • I accidently deleted my startup partition... (Ya I know that was dumb) so how to I make a DVD? Can it just be a normal mountain lion installer?
    – addison
    Jun 9, 2014 at 0:33
  • I also have a Linux 13.04 install dvd that I could enter some commands on if necessary but I doubt that'd help. I think the Linux partition I used to have messed the EFI up.
    – addison
    Jun 9, 2014 at 0:35
  • Yes, any OS X install media or recovery media will work
    – Alexander
    Jun 9, 2014 at 0:42
  • Sorry I now see you said it could be an installer, but my computer came installed with snow leopard, so do I have to use that or should I use mountain lion (which I am using I fixed that in the question) or does it not matter? Sorry that I'm making this confusing, I will defiantly up vote your answer if this works and select it as successful
    – addison
    Jun 9, 2014 at 0:45
  • As far as I recall, all modern OS X versions have nearly identical installation/recovery modes, so your SL disk will work.
    – Alexander
    Jun 9, 2014 at 2:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .