I seem to have similar problem as USB drive cannot be formatted after burning ISO image on it (ISO 9660). But The thing of mine is not USB, it is 4Tb drive, I would be a pity to throw it away after burning ISO image to it. Can hard drives become write-protected too? I cannot delete partition, I cannot make new partition table (although Gparted reports OK on making it, where as in linked post: " I installed Gparted. Nothing, it displayed a message saying that it couldn't format the ISO9660 partition nor create a new partition table"). Gparted strangely complains that partition tables on all connected drives does not fully look GPT (no MS-DOS something).
I tried to reclaim it via Linux Mint (Gparted) and Fedora (Disks) when I start live versions and disk is connected via SATA. The disk was "burned" via Make Bootable USB in Linux Mint when it was connected via USB. I would be weird if change made via USB protocol can be undone only that way...Or not?
I have not tried other methods mentioned in posts on USB drives, how can I proceed safely now?
Added per comment:
$ls -ld /dev/sda* brw-rw----. 1 root disk 8 (time/date) /dev/sda
Also, I've tried to format with
disks and it formatted to ext4 and I was able to write to it and it is almost 4Tb. But still cannot delete it (no such option for it, whereas there is "-" for partition on another disk)...I would like to have control over hard drive as "normal".
Noted parted showed partition table as
loop. Per https://askubuntu.com/questions/381211/what-is-the-loop-partition-in-ubuntu "Also worth noting (adding "Reason Three" to @user68186's answer) is that parted shows loop as the "partition table" for disks that actually do not have a partition table (whole disk filesystem)." I solved issue with fdisk, strangely Gparted failed here.