Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

"An error occurred while formatting the disk"

Hello, I am trying to install windows via boot camp, but I keep on getting the message, "An error occurred while formatting the disk".

I am using a 5tb Seagate hard drive and a late 2014 iMac with retina display.

I have unmounted every iso, and the hard drive is in ExFAT. I have tried to format it to MS-DOS (Fat) but it would always create a disk3s2 in one partisan (or without. Just one volume). I have tried creating multiple partisan, which would work with MS-DOS, but that would result in the same error.

The iso is on my main drive.

Would I have to change the usb device I am using or could I still use my current hard drive?

iMac with Retina 5K display, OS X Yosemite (10.10.3), late 2014 version

Posted on Jun 29, 2015 8:40 AM

Reply
9 replies

Jun 29, 2015 8:46 AM in response to Direct527

1. Is the drive external or internal?

2. Drives larger than 2TB create partitioning issues for BCA.

3. Can you post the output of the following Terminal commands?


diskutil list

diskutil cs list

sudo gpt -vv -r show /dev/disk0

sudo fdisk /dev/disk0


The "sudo" commands will prompt for your password, and it will not be echoed back. You may also see a warning about improper use of "sudo" and potential data loss due to "abuse" of the command.

Jun 29, 2015 9:13 AM in response to Loner T

Here are the answers to your questions.

1. The drive is external.

3.

A. Diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *121.3 GB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_CoreStorage 121.0 GB disk0s2

3: Apple_Boot Boot OS X 134.2 MB disk0s3

/dev/disk1

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *1.0 TB disk1

1: EFI EFI 209.7 MB disk1s1

2: Apple_CoreStorage 999.3 GB disk1s2

3: Apple_Boot Recovery HD 650.1 MB disk1s3

/dev/disk2

#: TYPE NAME SIZE IDENTIFIER

0: Apple_HFS Macintosh HD *1.1 TB disk2

Logical Volume on disk0s2, disk1s2

AB225C8E-464D-4219-8BA4-5D8B47E20A95

Unencrypted Fusion Drive

/dev/disk3

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *5.0 TB disk3

1: EFI EFI 314.6 MB disk3s1

2: Microsoft Basic Data Untitled 1 5.0 TB disk3s2

/dev/disk6

#: TYPE NAME SIZE IDENTIFIER

0: J_CCSA_X64FRE_EN-US... *4.0 GB disk6


B. Diskutil cs list

CoreStorage logical volume groups (1 found)

|

+-- Logical Volume Group 96AF5E69-0F60-403A-A302-AFC93E86D4AB

=========================================================

Name: Macintosh HD

Status: Online

Size: 1120333864960 B (1.1 TB)

Free Space: 0 B (0 B)

|

+-< Physical Volume 1AFE3854-4D76-4564-9689-E26B47A1B114

| ----------------------------------------------------

| Index: 0

| Disk: disk0s2

| Status: Online

| Size: 120988852224 B (121.0 GB)

|

+-< Physical Volume DAD3FCBB-D4CE-4E8A-8765-C8EFDEDF57C0

| ----------------------------------------------------

| Index: 1

| Disk: disk1s2

| Status: Online

| Size: 999345012736 B (999.3 GB)

|

+-> Logical Volume Family 5B8AB772-722C-4658-A0A7-C3CB04BB6896

----------------------------------------------------------

Encryption Status: Unlocked

Encryption Type: None

Conversion Status: NoConversion

Conversion Direction: -none-

Has Encrypted Extents: No

Fully Secure: No

Passphrase Required: No

|

+-> Logical Volume AB225C8E-464D-4219-8BA4-5D8B47E20A95

---------------------------------------------------

Disk: disk2

Status: Online

Size (Total): 1114478608384 B (1.1 TB)

Conversion Progress: -none-

Revertible: No

LV Name: Macintosh HD

Volume Name: Macintosh HD

Content Hint: Apple_HFS


C. sudo gpt -vv -r show /dev /disk0

gpt show: /dev/disk0: mediasize=121332826112; sectorsize=512; blocks=236978176

gpt show: /dev/disk0: PMBR at sector 0

gpt show: /dev/disk0: Pri GPT at sector 1

gpt show: /dev/disk0: Sec GPT at sector 236978175

start size index contents

0 1 PMBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

409640 236306352 2 GPT part - 53746F72-6167-11AA-AA11-00306543ECAC

236715992 262144 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

236978136 7

236978143 32 Sec GPT table

236978175 1 Sec GPT header


D. sudo fdisk /dev /disk0

usage: fdisk [-ieu] [-f mbrboot] [-c cyl -h head -s sect] [-S size] [-r] [-a style] disk

-i: initialize disk with new MBR

-u: update MBR code, preserve partition table

-e: edit MBRs on disk interactively

-f: specify non-standard MBR template

-chs: specify disk geometry

-S: specify disk size

-r: read partition specs from stdin (implies -i)

-a: auto-partition with the given style

-d: dump partition table

-y: don't ask any questions

-t: test if disk is partitioned

`disk' is of the form /dev/rdisk0.

auto-partition styles:

boothfs 8Mb boot plus HFS+ root partition (default)

hfs Entire disk as one HFS+ partition

dos Entire disk as one DOS partition

raid Entire disk as one 0xAC partition


I hope I did this right. If anything is wrong, feel free to ask for me to change it.

Jun 29, 2015 9:22 AM in response to Loner T

1. Disk: /dev/disk0 geometry: 14751/255/63 [236978176 sectors]

Signature: 0xAA55

Starting Ending

#: id cyl hd sec - cyl hd sec [ start - size]

------------------------------------------------------------------------

1: EE 1023 254 63 - 1023 254 63 [ 1 - 236978175] <Unknown ID>

2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused


2.

Device Identifier: disk3

Device Node: /dev/disk3

Part of Whole: disk3

Device / Media Name: Seagate Backup+ Desk Media


Volume Name: Not applicable (no file system)


Mounted: Not applicable (no file system)


File System: None


Content (IOContent): GUID_partition_scheme

OS Can Be Installed: No

Media Type: Generic

Protocol: USB

SMART Status: Not Supported


Total Size: 5.0 TB (5000981073920 Bytes) (exactly 9767541160 512-Byte-Units)

Volume Free Space: Not applicable (no file system)

Device Block Size: 4096 Bytes


Read-Only Media: No

Read-Only Volume: Not applicable (no file system)

Ejectable: Yes


Whole: Yes

Internal: No

OS 9 Drivers: No

Low Level Format: Not supported


3. The 5 Tb drive is connected via usb. I believe it is 3.0. And yes, I do have a 1 Tb Fusion disk, just for confirmation.

Jun 29, 2015 9:38 AM in response to Loner T

I'm sorry, but I think you misunderstood. I didn't want to install windows to my external hard drive, I was going to use it for the Flash drive part. I don't have flash drives lying around, so I was trying to use the hard drive I got recently to download Windows on my Mac.


Or did you mean I can't use the hard drive for that purpose.


Sorry if I didn't give enough info.

"An error occurred while formatting the disk"

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.