trying to install ubuntu I get error message that the disk is locked and cannot be formated. Gparted also is thwarted in trying to remove this partition showing a lock on it. Other programs report that it has an unknown disk label and cannot "report" to the linux kernel. So at this point it appears the disk drive is essentially bricked?
Asked
Active
Viewed 31 times
sudo parted /dev/sda mklabel gpt
But if drive was MBR, that will totally erase everything and then testdisk maybe better to recovery partitions. – oldfred Feb 04 '24 at 17:41