10.4 C
New York
Sunday, November 10, 2024

exhausting drive – “gpt restoration: operation not allowed: get better” when attempting to get better an exterior exhausting drive utilizing “sudo gpt restoration /dev/disk”


I linked an previous WD My Passport exterior exhausting drive (WDBACX0010BBK-00) to my 2020 Macbook Air M1 in Sonoma 14.5, solely to seek out that the drive doesn’t seem within the finder. Disk Utility shows a WD digital CD with minimal capability, with all Disk Utility choices grayed out as an uninitialized disk.

I attempted mounting by way of diskutil in terminal:

% diskutil mount /dev/disk4
Quantity on disk4 didn't mount
If it has a partitioning scheme, use "diskutil mountDisk"
If you happen to assume the quantity is supported however broken, attempt the "readOnly" possibility

Then, to mount your entire disk in read-only mode:

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

I left it excited about it for some time, and at that second a pop-up window additionally appeared saying The disk you connected was not readable by this laptop. Nonetheless could not see something within the finder or quantity listing by way of the terminal. Nonetheless, by working diskutil record once more, I can see that there’s a new “chunk”, which wasn’t there earlier than (disk4s0) :

% diskutil record              
...
/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 info, following the suggestions right here in a weblog publish by nbalkota in 2013attempting the next:

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

Why cannot I take advantage of restoration? How can I get this to run?

Related Articles

Latest Articles