1
vote
Simple method to mount a named drive from the command line?
This code will work for non-encrypted drives:
mountall() {
disks=$(diskutil list | grep "external, physical" | sed 's/ .*//')
while IFS= read -r disk; do
echo "Trying to ...
1
vote
Inaccessible APFS Partition - no gpt scheme
I tried to verify and check below with more commands
[shogunhz@CyXs-MacBook-Pro ~ % diskutil verifyVolume disk4s1
Started file system verification on disk4s1 (Libraries)
Verifying file system
Volume ...
1
vote
Inaccessible APFS Partition - no gpt scheme
I suspect this is not because of any issue with the specified disk but because verifyDisk will not work on synthesized disks. This doesn't seem clear from the man page, but empirically it seems to be ...
1
vote
Accepted
I have 1 TB disk but I'm only seeing 747 GB. How to recover the 253 GB missing?
As you already discovered, the missing space is between disk0s1 and disk0s2. There is no simple method of adding this free space to your fresh install of Mojave. The easiest method would be to do ...
1
vote
How to mount a .dmg file with a different volume name (or modify it once mounted)?
It sounds like your disk image is in a non-writable format.
If this is the case, try converting your disk image to a writable one, using Images > Convert in Disk Utility's menu bar, and selecting &...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
diskutil × 172disk-utility × 67
partition × 65
macos × 64
hard-drive × 36
apfs × 24
terminal × 20
bootcamp × 15
mount × 14
recovery × 12
core-storage × 9
high-sierra × 7
ssd × 7
external-disk × 7
encryption × 7
disk-format × 7
usb × 6
disk-volume × 6
hdiutil × 6
mac × 5
time-machine × 5
data-recovery × 5
windows × 4
backup × 4
command-line × 4