Go Back   MacRumors Forums > Apple Systems and Services > OS X

Reply
 
Thread Tools Search this Thread Display Modes
Old May 15, 2013, 11:10 AM   #1
petsk
macrumors regular
 
Join Date: Oct 2009
Unable to erase/partition external drive

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.

Quote:
/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:

Quote:
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 by petsk; May 15, 2013 at 11:18 AM.
petsk is offline   0 Reply With Quote
Old May 15, 2013, 11:22 AM   #2
Bear
macrumors G3
 
Join Date: Jul 2002
Location: 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.
__________________
-----Bear
Bear is offline   0 Reply With Quote
Old May 15, 2013, 11:24 AM   #3
petsk
Thread Starter
macrumors regular
 
Join Date: Oct 2009
Well that's the problem, I can't delete partitions and I can't erase them because the volumes are corrupted.
petsk is offline   0 Reply With Quote
Old May 15, 2013, 11:26 AM   #4
Bear
macrumors G3
 
Join Date: Jul 2002
Location: Sol III - Terra
Quote:
Originally Posted by petsk View Post
Well that's the problem, I can't delete partitions and I can't erase them because the volumes are corrupted.
Were you trying to erase them at the partition or disk level? Even corrupted ones should erase at the disk level.
__________________
-----Bear
Bear is offline   0 Reply With Quote
Old May 15, 2013, 11:31 AM   #5
Weaselboy
macrumors G5
 
Weaselboy's Avatar
 
Join Date: Jan 2005
Quote:
Originally Posted by petsk View Post
Does anyone have any good terminal commands on how to fix this?
Try the Terminal instructions in my old post here (quoted below).

Quote:
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.
Weaselboy is online now   1 Reply With Quote
Old May 15, 2013, 11:38 AM   #6
petsk
Thread Starter
macrumors regular
 
Join Date: Oct 2009
Quote:
Originally Posted by Weaselboy View Post
Try the Terminal instructions in my old post here (quoted below).
Thank you, Weaselboy! That sorted things out quickly
petsk is offline   1 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Late 2012 iMac - Boot camp windows unable to see mac partition as a drive Leonavice iMac 12 Sep 4, 2013 08:30 PM
Erase external drive DaveBlack iMac 7 Jul 27, 2013 12:54 PM
Can't erase the trash of my ntfs external hard drive audiomay Mac Basics and Help 0 Feb 2, 2013 11:22 AM
Is it possible to erase an external hard drive? a-m-k MacBook Pro 7 Jan 12, 2013 11:07 PM
External Hard Drive - Erase Content in Order to Back Up? leitmotif Mac Peripherals 1 Aug 13, 2012 09:20 AM

Forum Jump

All times are GMT -5. The time now is 05:35 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps