Questions tagged [diskutil]

diskutil is a command line tool for modifying, verify and repairing disks.

20 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
9k views

Is there a way to clean up possibly invalid disks that only show up on Mac OS Recovery through ‘diskutil list’ in Terminal? Does Recovery use them?

Hopefully that question is clear enough, and hopefully this is just me being silly. When I boot into the Recovery Partition, go into Terminal, and run 'diskutil list', I get quite a few tiny and ...
5
votes
0answers
83 views

How to allow an internal disk to sleep on 10.13

I have an internal disk which is noisy and seldom used. With previous versions of OSX I was able to spin it down by using diskutil eject, but with the latest High Sierra 10.13.4, after a few seconds ...
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 ...
2
votes
0answers
41 views

Difference between “diskutil mount” and “sudo mount”

I was looking for a way to mount the EFI partition on macOS when I realized there was actually two commands to mount a partition: mount and diskutil mount. What is the difference between them? I ...
2
votes
0answers
109 views

Salvage data from fusion drive

I have a 2015 iMac 27 inch that had a fusion drive. I recently replaced the fusion drive with a SSD drive. It seems that my iMac had two storages. One is an 128GB SSD drive connected via PCI and a ...
2
votes
0answers
99 views

Recover deleted encrypted boot drive, need all data back

Is there a way for me to recover all of my data from an encrypted SSD? MacOS Sierra, MBP early 2013, 16 GB RAM, 768 GB SSD, 2.8 GHz. My computer went black screen due to another problem with my ...
2
votes
0answers
369 views

How do I recover from Disk Utility hang without system restart?

I have external CDROM connected to MBP and I wanted to read one data CD. The media was in bad shape (scratched) so macOS could not read anything. I wanted to eject the disk and try another media, just ...
2
votes
0answers
609 views

UDF support removed from El Capitan?

In previous versions of OS X, I used the UDF format extensively. I recently had to upgrade to El Capitan, and now none of my UDF drives are readable (Finder prompts me to intialize the disk). Since ...
1
vote
0answers
23 views

Is it possible to cancel the revert core storage operation?

Something is off here. I issued diskutil cs revert /dev/disk6 and in the second, my macmini's USB controller stopped working and hard ejected (like pulling their plugs) all other attached USB devices....
1
vote
0answers
108 views

MacBook Pro Mid 2009 shows forbidden sign but boots when holding command key

After upgrading from High Sierra 10.13.x (can't remember) to High Sierra 10.13.6, something went wrong with the boot partition. When turned on the MacBook shows the forbidden sign. However when I ...
1
vote
0answers
130 views

Accidentally deleted external USB Drive and now I can't access it

I accidentally formatted an external USB Drive to APFS, I needed to change it back so I found this walkthrough: https://www.techrepublic.com/article/how-to-revert-back-to-apples-hfs-from-apfs/ and I ...
1
vote
0answers
664 views

External hard drive disappeared

I’m currently suffering under my newly bought 6TB HDD. I safely ejected it yesterday and when I plugged it in again, nothing happened. I then checked DiskUtility but was presented with a strange thing:...
1
vote
0answers
59 views

Can I enlarge a RAID10 with Disk Utility?

I have a 4TB RAID10 (4x2TB disks) created with Disk Utility. I also have 4x4TB spare disks. Can I enlarge the RAID10 to 8TB (4x4TB)? This post suggests that I can break each mirrored set, and ...
0
votes
0answers
21 views

SSD 860 evo slow format/write/read

MacBook Pro 13 early 2011 Coming from a 850 evo Booting from High Sierra USB Installed 860 but disk info and gpt show take a couple of minute to complete. Had problem with sata cable but now my 850 ...
0
votes
0answers
33 views

How to repair damaged SD card on macOS?

I inserted a 32GB micro-sd card into an HP F320 (car camera) and the card is damaged because F320 only supports capacities up to 16GB. This card cannot be read on F320 and cannot be successfully ...
0
votes
0answers
64 views

Completely clear/delete/erase/wipe/destroy a USB drive using the gpt command line utility?

I want to completely delete all GPT (meta)data off an USB drive, so I can create a fresh new GPT. So I do: sudo gpt destroy disk3 No errors, seems OK. However if I do: sudo gpt -r show disk3 I get:...
0
votes
0answers
2k views

Can't erase disk, Error: -69760

I am trying to format a USB drive, however I am faced with the following error: sh-3.2# diskutil unmountDisk force /dev/disk3 Forced unmount of all volumes on disk3 was successful sh-3.2# diskutil ...
0
votes
0answers
310 views

partition failed with the error: couldn't unmount disk

After having resized the Mac partition through the CLI from: /dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme ...
0
votes
0answers
77 views

iMacs Fusion Drive: only SSD listed, no HDD

I had some problems with a Mac's Fusion Drive. I erased the first MB of the SDD (Terminal in recovery mode). After that I partitioned the SDD again (with GUID). That works. But the HDD is now missing. ...
0
votes
0answers
152 views

Merge all partitions back to single volume

I was trying to install windows 10 on my Retina Mid 2015 MBP using bootcamp, and ran into a few problems during the installation. Without going into too much of detail, this is what i have right now, ...