Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

petsk

macrumors 6502
Original poster
Oct 13, 2009
477
417
My external, encrypted drive got corrupted when I was going to install bootcamp.

Now I can't delete any partitions on the drive.

Does anyone have any good terminal commands on how to fix this? I've tried a few commands but I'm not really getting anywhere.

§diskutil list gives me the following and /dev/disk2 and /dev/disk3 is the external HDD that I want to erase.

/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI 209.7 MB disk0s1
2: Apple_CoreStorage 120.5 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD *120.1 GB disk1
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk2
1: Microsoft Basic Data PARTITION3 209.7 MB disk2s1
2: Apple_CoreStorage 461.7 GB disk2s2
/dev/disk3
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *461.4 GB disk3
1: DOS_FAT_32 PARTITON1 461.4 GB disk3s1

If I click "Repair Disk" in disk utility I get this:

Verifying and repairing partition map for “Ext Hard Disk Media”
Checking prerequisites
Checking the partition list
Adjusting partition map to fit whole disk as required
Checking for an EFI system partition
Problems were encountered during repair of the partition map
Error: This disk doesn’t contain an EFI system partition. If you want to start up your computer with this disk or include it in a RAID set, back up your data and partition this disk.

Verify and Repair volume “PARTITION3”
Checking file system** /dev/disk2s1
** Phase 1 - Preparing FAT
** Phase 2 - Checking Directories
** Phase 3 - Checking for Orphan Clusters
111 files, 200409 KiB free (400819 clusters)
Volume repair complete.Updating boot support partitions for the volume as required.

Verify and Repair volume “eGo”
Checking storage systemChecking volume.
disk2s2: Scan for Volume Headers
disk2s2: Scan for Disk Labels
Logical Volume Group C8370B1B-6BAD-4498-BB14-931D67612C11 on 1 device
disk2s2: Scan for Metadata Volume
Logical Volume Group has a 16 MB Metadata Volume with double redundancy
Start scanning metadata for a valid checkpoint
Load and verify Segment Headers
Load and verify Checkpoint Payload
Load and verify Transaction Segment
Incorporate 0 newer non-checkpoint transactions
Load and verify Virtual Address Table
Load and verify Segment Usage Table
Load and verify Metadata Superblock
Load and verify Logical Volumes B-Trees
Logical Volume Group contains 1 Logical Volume
Load and verify FF59832C-7853-4A7A-94B1-37F3436001CE
Load and verify 1A88854E-5A1E-42B7-B9FC-0A3E3E61125A
Load and verify Freespace Summary
Load and verify Block Accounting
Load and verify Live Virtual Addresses
Unable to bootstrap transaction group 4322: inconsistent crosscheck
Continue scanning metadata for an older checkpoint
Load and verify Segment Headers
Load and verify Checkpoint Payload
Load and verify Transaction Segment
Incorporate 0 newer non-checkpoint transactions
Load and verify Virtual Address Table
Load and verify Segment Usage Table
Load and verify Metadata Superblock
Load and verify Logical Volumes B-Trees
Logical Volume Group contains 1 Logical Volume
Load and verify FF59832C-7853-4A7A-94B1-37F3436001CE
Load and verify 1A88854E-5A1E-42B7-B9FC-0A3E3E61125A
Load and verify Freespace Summary
Load and verify Block Accounting
Load and verify Live Virtual Addresses
Unable to bootstrap transaction group 4321: inconsistent crosscheck
Continue scanning metadata for an older checkpoint
Load and verify Segment Headers
Load and verify Checkpoint Payload
Load and verify Transaction Segment
Incorporate 0 newer non-checkpoint transactions
Load and verify Virtual Address Table
Load and verify Segment Usage Table
Load and verify Metadata Superblock
Load and verify Logical Volumes B-Trees
Logical Volume Group contains 1 Logical Volume
Load and verify FF59832C-7853-4A7A-94B1-37F3436001CE
Load and verify 1A88854E-5A1E-42B7-B9FC-0A3E3E61125A
Load and verify Freespace Summary
Unable to bootstrap transaction group 4320: invalid field value
Continue scanning metadata for an older checkpoint
Load and verify Segment Headers
Load and verify Checkpoint Payload
Load and verify Transaction Segment
Incorporate 0 newer non-checkpoint transactions
Load and verify Virtual Address Table
Load and verify Segment Usage Table
Load and verify Metadata Superblock
Load and verify Logical Volumes B-Trees
Logical Volume Group contains 1 Logical Volume
Load and verify FF59832C-7853-4A7A-94B1-37F3436001CE
Load and verify 1A88854E-5A1E-42B7-B9FC-0A3E3E61125A
Load and verify Freespace Summary
Unable to bootstrap transaction group 4319: invalid field value
No valid commit checkpoint found
The volume C8370B1B-6BAD-4498-BB14-931D67612C11 was found corrupt and can not be repaired.
Error: Disk Utility can’t repair this disk. Back up as many of your files as possible, reformat the disk, and restore your backed-up files.
 
Last edited:

Bear

macrumors G3
Jul 23, 2002
8,088
5
Sol III - Terra
If you don't care about the data on the volume, you could try selecting the disk in question in Disk Utility and then selecting erase. This should wipe out what's on the disk.
 

petsk

macrumors 6502
Original poster
Oct 13, 2009
477
417
Well that's the problem, I can't delete partitions and I can't erase them because the volumes are corrupted.
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,137
15,601
California
Does anyone have any good terminal commands on how to fix this?

Try the Terminal instructions in my old post here (quoted below).

Based on that video, and what you are showing us here, I think you goofed in the last step there and selected Journaled Encrypted instead of plain Journaled. What that did is make your entire disk into a logical core storage volume.

Do this. Quit Disk Util and start Terminal (still from your recovery key).

Now enter "diskutil cs list" (without the quotes). You will get a screen showing the UUID of each drive/volume. It will look something like "Logical Volume Group 54DF1D19-281F-46DE-815F-845382E606F2". Now run the command "diskutil cs delete 54DF1D19-281F-46DE-815F-845382E606F2" (without the quotes and using the your real UUID string from the first cs list command). Do this for each logical volume you see in the list.

That should free up the partitions so they can he manipulated in Disk Util. Once you are done with the Terminal commands, start Disk Util again and select the drive name (like Seagate 500GB) and make one partition as Mac OS Extended.

Goes without saying here, but any data on there is toast. Hopefully you have a backup.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.