I cant reinstall os x because it says my lion HD is locked (in recovery mode) How do I unlock???

Hi, I recently had trouble with my macbook pro as it use to shut down un expectedly at 40 percent battery, after a while it wouldnt boot up so i rebooted in revovery mode. I ran disk utility and tried to repair my internal HD and it said "can not repair hard drive, back up as many files as you can and erase the hd and reinstall" so i tried an alternative by trying to reinstall os x yosemite. I failed as it said your HD is locked???? Is this because its corrupted? or could i get around this? I dont have a back up either as it was stolen overseas. PLEASE HELP!!!!

I hope you have your files backed up. Here's the solution:
You need to be able to boot the computer from another device such as a bootable DVD, a bootable USB flash drive. or if  you computer is a 2011 model or later then you can boot from a network drive by restarting the computer and after the chime press and hold down the COMMAND-OPTION-R keys until you see a spinning globe appear. You need to have an Internet connection. I recommend using Ethernet because it is faster and more reliable than Wi-Fi. It may take upwards of 15-20 minutes to startup in the network Recovery HD. After the Utilities Menu appears you can select Terminal from the Utilities menu in the screen's menubar.
$ diskutil list
Should show something like this:
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            120.5 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *64.0 GB    disk1
   1:                        EFI                         209.7 MB   disk1s1
   2:          Apple_CoreStorage                         63.2 GB    disk1s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3
Then format the disk in question. In this case, disk1.
$ diskutil eraseDisk JHFS+ name disk1
You should see this:
Started erase on disk1
Unmounting disk
Creating the partition map
Waiting for the disks to reappear
Formatting disk1s2 as Mac OS Extended (Journaled) with name name
Initialized /dev/rdisk1s2 as a 59 GB HFS Plus volume with a 8192k journal
Mounting disk
Finished erase on disk1
Select Reinstall OS X from the Utilities Menu and click the Continue button.

Similar Messages

Maybe you are looking for