4 C
United States of America
Saturday, November 23, 2024

terminal – Pressure mounting an exterior disk that’s not acknowledged


Simply once I was about to surrender, format the drive and lose my information, in some way I used to be in a position to repair the drive so I’m posting what precisely I did in terminal for the good thing about different individuals who would possibly come throughout this submit and have the identical drawback. I hope this will likely be useful to anyone:

Admins-MacBook-Professional:~ admin$ diskutil mount /dev/disk3
Quantity on disk3 didn't mount; if it has a partitioning scheme, use "diskutil mountDisk"
If the amount is broken, strive the "readOnly" possibility
If the amount is an APFS Quantity, strive the "diskutil apfs unlockVolume" verb

Admins-MacBook-Professional:~ admin$ mount drive /dev/disk3
mount: You could specify a filesystem kind with -t.

Admins-MacBook-Professional:~ admin$ mount -t /dev/disk3

Admins-MacBook-Professional:~ admin$ mount drive -t /dev/disk3
utilization: mount [-dfruvw] [-o options] [-t external_type] particular node
       mount [-adfruvw] [-t external_type]
       mount [-dfruvw] particular | node

Admins-MacBook-Professional:~ admin$ mount -t drive /dev/disk3
utilization: mount [-dfruvw] [-o options] [-t external_type] particular node
       mount [-adfruvw] [-t external_type]
       mount [-dfruvw] particular | node

Admins-MacBook-Professional:~ admin$ diskutil verifyDisk /dev/disk3
Nonexistent, unknown, or broken partition map scheme
In case you are certain this disk comprises a (broken) APM, MBR, or GPT partition
scheme, you would possibly be capable of restore it with "diskutil repairDisk /dev/disk3"

Admins-MacBook-Professional:~ admin$ diskutil repairDisk /dev/disk3
Nonexistent, unknown, or broken partition map scheme
In case you are certain this disk comprises a (broken) APM, MBR, or GPT partition map,
you possibly can hereby attempt to restore it sufficient to be acknowledged as a map; one other
"diskutil repairDisk /dev/disk3" would possibly then be needed for additional repairs
Proceed? (y/N) y
Partition map restore full; you would possibly now need to repeat the
verifyDisk or repairDisk verbs to carry out additional checks and repairs

Admins-MacBook-Professional:~ admin$ diskutil repairDisk /dev/disk3
Repairing the partition map would possibly erase disk3s1, proceed? (y/N) y
Began partition map restore on disk3
Checking conditions
Checking the partition record
Adjusting partition map to suit complete disk as required
Checking for an EFI system partition
Checking the EFI system partition's dimension
Checking the EFI system partition's file system
Checking the EFI system partition's folder content material
Checking all HFS information partition loader areas
Checking booter partitions
Reviewing boot help loaders
Checking Core Storage Bodily Quantity partitions
Updating Home windows boot.ini information as required
The partition map seems to be OK
Completed partition map restore on disk3

Since I’ve tried just about each terminal line beneath the solar, I believe the important thing was the sequence wherein this labored, which was:

mount -t /dev/disk3
mount drive -t /dev/disk3
diskutil verifyDisk /dev/disk3
diskutil repairDisk /dev/disk3
diskutil repairDisk /dev/disk3

Once I heard tried to verifyDisk and repairDisk a number of days in the past it had not labored however in some way with this sequence it was in a position to restore the partition map

Thanks to all of you guys who’ve tried to assist me with this.
I’m glad to have my information again 😉

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles