Questions tagged [disk-utility]

Apple's built-in disk management utility for the mac. Erases, formats, and restores volumes and drives.

Filter by
Sorted by
Tagged with
2
votes
1answer
467 views

Restore main APFS container to full disk

I tried installing Windows 10 on my Macbook Pro with Bootcamp on Mojave, but through a series of manipulations, I broke my Windows installation and Bootcamp would not let me restore my system as it ...
2
votes
1answer
757 views

Accidentally used dd on my main OSX drive

I've made a bit of a balls up... When attempting to create a bootable Ubuntu usb drive I accidentally ran dd on my main system drive :( sudo dd if=/path/to/image.img of=/dev/rdisk1 bs=1m I realised ...
1
vote
1answer
390 views

Partition of harddisk lost/unusable

I'm using OS X Yosemite - version 10.10.2. I have 1.12 TB fusion drive on my system. Recently I wanted to make a partition on my system, while making the partition on the system using disk utility ...
1
vote
1answer
619 views

Bootcamp Error: The startup disk cannot be partitioned or restored to a single partition (not a duplicate)

I am running Mojave, trying to install the latest version of Windows 10. I had this error, so followed the instructions here: Bootcamp issue: The startup disk cannot be partitioned or restored to ...
1
vote
1answer
427 views

Extand main APFS partition on MacOS Mojave 10.14.3

As it can be seen from the screenshot below my APPLE SSD is of size 500GBs, but my Apple_APFS Container disk1 is of size 450GBs. There was a Container disk 2 of size 50GBs before but I successfully ...
0
votes
1answer
248 views

Need help deciphering TestDisk results to fix HDD

Background - While trying to use asr in terminal to copy a failing HDD's contents to empty external HD #1, I facepalm set the target as BACKUP HD #2. When I hit enter, asr went through it's normal ...
0
votes
1answer
2k views

Missing Space on Drive using Core Storage after Boot Camp Assistant Failure

Using Boot Camp Assistant, I started to create a 50 GB partition, but it hung on partitioning. After waiting about 30 minutes without the progress bar moving, I quit the Boot Camp Assistant, thinking ...
0
votes
0answers
29 views

How can I recover my external hard drive's free space? [duplicate]

I had these partitions on an external hard drive: /dev/disk2 (external, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme ...
0
votes
1answer
2k views

Yet another corrupted partition table on macOS Mojave

I've seen a couple of posts on here addressing similar issues. Since I don't have in-depth understanding of what went wrong I have to describe what happened in my case and hope you'll help me. Thanks. ...
0
votes
2answers
6k views

Failed bootcamp partition, now can't remove it

Tried to set up Windows 10 on my Macbook Pro 15" (Mid 2014). Running El Capitan 10.11.3. Windows refused to install (GPT partition only problem?). I followed steps elsewhere to remove and reformat the ...
0
votes
1answer
851 views

Failed paritiong resizing partition in Mojave via Disk Utility (Planning to add it to Bootcamp) [duplicate]

(Using Mojave 10.14.1 on MBP Mid-2012) I was trying to resize my AFPS partition to add it later to my Bootcamp partition (in Windows) but the operation failed. What I did was to use Disk Utility's ...
56
votes
1answer
100k views

No partition scheme option when erasing a USB disk in MacOS High Sierra?

In previous versions of MacOS, I recall that Disk Utility provided an option to select the partition scheme (GUID, MBR, or Apple). If I formatted the USB key without changing the scheme to MBR, I ...
26
votes
8answers
158k views

Disk Utility won't Unmount HD for formatting

I have two internal drives in my 27" iMac (10.8.5). An SSD system disk and a 1TB SATA drive. The HDD has been acting up recently, very slow performance, bad behavior etc. Tech Tool Pro and Disk ...
17
votes
4answers
49k views

How can I mount an encrypted disk from the command line?

When I type diskutil mount disk3 in the terminal, it says Volume(s) mounted successfully. However, the disk is not mounted and I can confirm this by opening the GUI of Disk Utility.app and also the ...
15
votes
5answers
48k views

Remove “Windows” Entry from Mac Boot Loader

Background A while back, I installed Windows 8 on my MacBook Air (mid 2013 model) using Bootcamp. It never really worked, (it would freeze all the time, the WiFi would cut in and out, etc.) so I got ...
9
votes
1answer
8k views

How to kill the popup in OS X when a disk can't be ejected

With ZFS-OSX, sometimes when I try to force eject my HDD and it's failing, the following popup appears on my screen – floating on the top with all the buttons grayed out – and no possibility to close ...
9
votes
2answers
9k views

How can I make my computer believe a disk image is a hardware disk?

I'm trying to do some research on TimeMachine right now. I don't want to purchase an external hard drive, just to learn about some software, and so I'd like to be able to tinker with the settings, by ...
19
votes
5answers
56k views

OS X can't unmount disk

My 1TB LaCie Rugged THB decided it was a good idea to stop working all of a sudden. If I open it in disk util I sometimes see an actual name of a partition, but most likely it's not the real name. In ...
17
votes
7answers
62k views

Can't reformat SD card (Yosemite)

I have a 2 GB SD card that I can't reformat. It seems pretty corrupted. If I go into Disk Utility, I get these various error messages for each option: Repair Disk: Disk Utility can’t repair this ...
4
votes
1answer
10k views

OS X Yosemite Hard Disk Errors even after Repairing them

Basically, I do a lot of C programming (for class) so I use gcc a lot on my mac. Recently since two days, whenever I ran it, the entire computer is getting frozen, and a force restart is necessary to ...
22
votes
3answers
4k views

How do I get the password hint for an encrypted disk?

I created an encrypted disk on a USB drive the other day, and added a password hint. I don't remember what the password is. (I have a scheme for mapping hints to passwords, so when there's a hint ...
14
votes
2answers
86k views

How do I force a partition and format on a USB key in OS X Mountain Lion Disk Utility or from CLI diskutil?

I have a brand new Memorex TravelDrive 64GB USB disk which is being troublesome. It's formatted FAT16 on MBR, which is not so nice, and I'd like to put it on HFS+. I've tried to do this through ...
12
votes
2answers
15k views

How to create a disk image from the command line

Currently part of my build process is as follows; Start Utilities/Disk Utility Select New Image Set Save As to widget Set Name to widget Set Size to custom size 50 mb Set Format Mac OS Extended ...
7
votes
3answers
16k views

Replace a failed disk in a Disk Utility RAID 1

I have LaCie 2big thunderbolt 2-disk device configured as a RAID1 from Disk Utility. One of the drives appears as "failed", so I unmounted the raid, replaced the drive and plugged it all back in. Now ...
6
votes
1answer
12k views

Reformat exFat with specific Device Block Size and Cluster Size

I have an 512 GB SSD on my MacBook Retina with one of the volumes disks0s6 formatted with exFat to use it on both Mac and Windows. diskutil info disk0s6: Device Identifier: disk0s6 ...
6
votes
1answer
12k views

APFS: fsroot tree is invalid after Time Machine backup - how to recover and avoid in the future?

System MacBook Pro, late 2013, 1 TB SSD (brand new, recently replaced by Apple), APFS (no journaling, case insensitive), High Sierra 10.13.2, Time Machine to network HDD. What Happened Mac stopped ...
5
votes
1answer
22k views

Bootcamp: no bootable device – insert boot disk and press any key

I installed Windows 7 on my 2011 MacBook Pro (MacOS High Sierra) successfully. It was recognized at boot time by the computer and had no problems. Then I used Disk Utility to create some free space ...
5
votes
2answers
48k views

Partition problem with APFS containers in macOS High Sierra

As always I'm so impatient and migrating with my main devices to the first developer previews the day they are available. Which as always bring me only problems but I just cannot help myself. So ...
4
votes
1answer
17k views

Creating a partition in unallocated space

I left some unallocated space on my external HD (around 200 GB) and now I would like to create a partition on it using gpt in terminal since the Disk Utility tool on El Capitan is not even showing the ...
2
votes
1answer
13k views

How to fix the error: “This disk doesn’t contain an EFI system partition”?

I get the following error and cannot start Bootcamp after accidentally deleting the EFI-partition of my main drive. This disk doesn’t contain an EFI system partition. If you want to start up your ...
1
vote
3answers
27k views

How do I load the DiskManagement framework in single user mode?

From single-user mode in OS X 10.5, I want to run diskutil repairPermissions / but I get an error: Unable to run because unable to use the DiskManagement framework ... Is there a way to load the ...
8
votes
5answers
35k views

“Couldn’t create temporary file.” error when erasing free space on external disk

I was trying to wipe the free space of an external USB 3.0 disk in OS X (Yosemite) disk utility. However, I receive the following error: EDIT: The disk is formatted as GUID / Mac OS Extended (...
7
votes
2answers
4k views

Clone one Mac and restore it on multiple Macs

I am going to setup a bunch of MacBooks Pros with the same settings. I could go through every Mac and install all the programs but here is what I would like to do. I would like to setup one Mac with ...
4
votes
1answer
48k views

How do I fix a corrupted USB drive on OS X?

I accidentally bumped the drive while repartitioning it and it unmounted. After that when I tried to repartition with Disk Utility I got Partition Failed with the error: Could not open device Now I ...
4
votes
0answers
1k views

Unable to find an APFS Container Reference after fixing FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF error

After following this guide and giving my partition the proper GUID, i can't access it. Is there a way to recover the container reference its supposed to have or at least a way for me to extract data ...
4
votes
2answers
10k views

How to create a Mac bootable gparted or Parted Magic thumb drive?

Is it possible to create a Mac-bootable thumb drive containing gparted or Parted Magic without installing a full Linux distribution? I tried several methods like unetbootin (some blogs suggest this ...
4
votes
1answer
4k views

How to add free space to a Logical Volume Group? (Resizing Partitions)

I have two CoreStorage volumes on disk, one is 200GB the other is 50GB. I want to make the 1st 125GB and the second one 125GB. Currently I have been able to use the diskutil cs resizeStack command to ...
4
votes
2answers
4k views

Why does OS X now think I have two partitions on my external USB drive (plus random connection issue)?

I have an external USB drive that I have plugged into a USB hub, which gets unplugged from my computer about once a day. Most of the time I remember to unmount the drive before disconnecting so that ...
3
votes
3answers
3k views

Why does my 3TB Seagate HD keep formatting as a Logical Volume Group

This is really annoying. I have a brand new Seagate 3TB 7200 RPM hard drive that I am trying to format/partition in Disk Utility. Every time I change any settings or erase the drive, it changes it to ...
3
votes
1answer
20k views

How to fix my corrupted APFS container?

I'm using MBP late 11 running 10.13.2 on Samsung Evo 850 250GB internally. Everything was fine for months but few days ago something horrible occurred. I'm so shocked and urgently need your help. ...
3
votes
2answers
4k views

Deleted Windows Through DiskUtility, 100GB in “Free Space”, Unable to Combine to Main Partition

I deleted bootcamp with Disk Utility and now have lost 100GB of space that I can't recover. macbook-pro:~ kevin$ diskutil list /dev/disk0 (internal): #: TYPE NAME ...
2
votes
1answer
1k views

Expanding a Fusion Drive partition

I created a partition on my Fusion Drive when I first purchased my iMac running Yosemite, and I would like to now resize that drive ("Data" in the screenshot below), but Disk Utility doesn't allow it (...
2
votes
5answers
32k views

How do I fix my SSD after installing Yosemite and Enabling TRIM? No boot & can't erase

I recently upgraded to Yosemite, enabled FileVault and foolishly enabled TRIM (had no idea it wasn't supported). Upon restart, my machine gets the grey screen with the crossed-out circle of death. ...
2
votes
0answers
3k views

APFS on RAID: recommended course of action?

I recently upgraded my Mac Mini Server's dual SSDs and found myself needing to re-create the RAID-0 array from scratch. (I am running the mainline High Sierra 10.13.1 on a 6,2 MacMiniServer from 2012.)...
2
votes
1answer
3k views

No Macintosh HD in Volumes folder

I am running in recovery mode to save the data from disk( I cant login due to deletion of private/var folder). I opened Terminal and went to Volumes. This folder should be populated with the Macintosh ...
2
votes
3answers
10k views

How can I tell if my iMac's hard drive is dying?

A couple of days ago, my three-year-old iMac locked up. When I rebooted it, it only displayed a folder icon with a flashing question mark. After a couple more reboot attempts, it booted. I ran Disk ...
1
vote
1answer
5k views

Why I can't remove linux partitions on macOS Sierra

I'm trying to remove linux partition from my iMac (21.5-inch, Mid 2011) on MacOS Sierra 10.12 Beta 2, So I tried existing solutions by using Disk Utility, I tried from Recovery as well, But it says ...
0
votes
1answer
697 views

How do I resize an ex-CoreStorage volume?

I've got a Macbook Pro Retina (with the PCIe drive ‘blade’, instead of a traditional 2.5" laptop drive). I've recently upgraded the internal drive from 500GB to 1TB, and dd'd the old drive over the ...
10
votes
1answer
4k views

Prohibitory sign on boot after Sierra update, can't mount disk anymore

A few days ago I decided to update to Sierra from El Capitan on both the disks on my MacBook Pro (mid 2012); the update on my SSD went without a hitch so I decided I'd update my other disk, too. I ...
9
votes
2answers
54k views

How do I pass the following error message in the Boot Camp Assistant: “Please format the USB drive as single FAT partition.”?

I am running the Boot Camp Assistant on El Capitan. Whenever I reach the third screen, titled "Save Windows Support Software", on which I can select an storage medium to save the Windows support ...