Imaging Computers Encrypted with FileVault 2 doesn't work with 10.8.3 and Disk Utility Version 13 (444)

Macintosh_HD
New Contributor

Followed these steps https://jamfnation.jamfsoftware.com/article.html?id=228 and it appears Apple has disable the ability of erasing the encrypted drive.

5 REPLIES 5

Macintosh_HD
New Contributor

This works: diskutil corestorage delete

Macintosh_HD
New Contributor

two scripts to fix it:

Apple script that calls a bash script.

Disk utility apple script:

tell application "Terminal" activate do script "sudo ~/Documents/diskutlityfix.sh"

end tell

Bash script that deletes the core storage

#!/bin/bash
#----------------------------------------------
# Disk Utility FileVault 2 - Version 2
# Javier Arzaga
#----------------------------------------------

LVG=$(diskutil corestorage list | egrep "Logical Volume Group" | awk '{print $5}')

echo "Are you sure you want to erase the drive? Type: Yes, followed by [ENTER]:"; read answer

if [ "$answer" == "Yes" ] || [ "$answer" == "yes" ]; then diskutil corestorage delete $LVG echo "The corestorage drive: $LVG was deleted" else echo "Have a good, Day!"
fi

nkalister
Valued Contributor

I'm having no trouble erasing encrypted disks with that version of Disk Utility. Maybe post a screenshot of what you're seeing in Disk Utility?

sgrall-pfg
Contributor

Are you referring to the inability to erase encrypted disks without knowing the password? This was a "feature" added by Apple in 10.8.2, and is considered normal behavior now. If you attach the Mac in target disk mode to another Mac and try again, it will allow you to erase the disk without needing the password for the drive.

cstout
Contributor III
Contributor III

Have a good, Day!