Lost password on Mac OS Extended (Journaled, Encrypted) Drive. Want to reformat it

disk-format

I am using a Seagate Free Agent Desk external drive as my Time Machine on a modern iMac running Lion. I made the mistake of encrypting the drive, and I do not remember the password. I dont mind losing the data on the disk, and I just want to reformat it if possible in order to use it as a non encrypted drive. Any ideas on how to do this?

Best Answer

The encrypted volume's password is not required for erasing the disk, only to mount the encrypted volume on the disk. It's unclear whether you're being asked for the password only when connecting the disk, or when you attempt to erase it.

In Lion, you can use Disk Utility to erase an encrypted volume, but not in Mountain Lion. However, you can erase the encrypted volume with the diskutil cs delete command (see Terminal section below) in both versions.


Disk Utility (Lion only)

The following steps should work in Lion:

  1. Connect the disk to your Mac.

  2. When prompted to "Enter the password for the disk 'your disk'," click "Cancel". You don't need to mount the encrypted volume to erase the disk. enter image description here

  3. Open Disk Utility and locate your external disk on the left side. Its name will likely start with its capacity and include "Seagate" or "Free Agent" in the name. You should see your encrypted volume directly under the disk. The volume will be indented and grayed out.
    Disk Utility: List of disks and volumes

  4. Select the disk on the left side, not the volume.
    enter image description here

  5. Click the "Erase" tab, found between the "First Aid" and "Partition" tabs. If you don't see the "Partition" tab, and all the buttons under the "Erase" tab are grayed out, double-check that you've selected the disk on the left side, and not the disk's volume.

  6. Choose a format and enter a name, then click "Erase".

If this doesn't work, let us know which step is not working and how.


Terminal (Lion & Mountain Lion)

  1. With the encrypted disk connected, launch Terminal and enter the following command

    diskutil cs list

    You should see output describing the encrypted disk, starting with info about the Logical Volume Group:

    CoreStorage logical volume groups (1 found)
    |
    +-- Logical Volume Group 109FC023-5F18-438A-AF3D-14FF60334A0C
        =========================================================
        Name:         Le Disque
        Size:         68375502848 B (68.4 GB)
        Free Space:   0 B (0 B)
        |
    …
    

    If you have more than one encrypted disk, locate the Logical Volume Group with the name of the disk you want to erase.

  2. Copy the UUID which follows the words "Logical Volume Group". In this example this is the UUID for the disk named "Le Disque":

    109FC023-5F18-438A-AF3D-14FF60334A0C
    
  3. Warning The next command will erase the disk specified by the UUID you enter. Make sure you've copied the correct Logical Volume Group UUID for the disk you want to erase, especially if you have more than one encrypted disk connected.

    Enter the following command to erase the encrypted disk, replacing copiedUUID with the UUID you copied:

    diskutil cs delete copiedUUID
    
  4. When complete, the disk will be partitioned with one volume mounted, called "Untitled". You can then start using it or repartition or encrypt it in Disk Utility as needed.