-3.1 C
New York
Tuesday, December 24, 2024

terminal – “gpt get better: operation not permitted: get better” when making an attempt to get better an exterior HD utilizing “sudo gpt get better /dev/disk”


I plugged in an outdated WD My Passport exterior HD (WDBACX0010BBK-00) into my 2020 Macbook Air M1 on Sonoma 14.5, solely to search out that the disk doesn’t present up on finder. Disk utility reveals a WD Digital CD with minimal capability, with all of the Disk Utility choices greyed out as an uninitialised disk.

I attempted to mount through diskutil in terminal:

% diskutil mount /dev/disk4
Quantity on disk4 didn't mount
If it has a partitioning scheme, use "diskutil mountDisk"
For those who assume the amount is supported however broken, strive the "readOnly" possibility

Then to mount the total disk in readonly mode:

% diskutil mountDisk readonly /dev/disk4
Quantity(s) mounted efficiently

I left it to chew at that for some time, and in that point additionally acquired a pop up which learn The disk you connected was not readable by this pc. Nonetheless nothing could possibly be seen in finder or within the Volumes listing through terminal. Nonetheless, operating diskutil listing once more, I can see there’s a new “slice”, which wasn’t there earlier than (disk4s0) :

% diskutil listing              
...
/dev/disk4 (exterior, bodily):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:        CD_partition_scheme                        *36.1 MB    disk4
   1:              CD_ROM_Mode_1                         31.5 MB    disk4s0

Now in an try to grasp and (hopefully) get better the information, following the suggestions right here in a blogpost by nbalkota in 2013, making an attempt the next:

% sudo gpt get better /dev/disk4
gpt get better: operation not permitted: get better

Why am I not permitted to make use of get better / how can I get this to run?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles