I was using Windows 7, then I had shrinked the partitions to left about 150 GB of free space on the disk to install Ubuntu 20.04 alongisde with Windows. I booted Ubuntu via pendrive and after installing it, I could'nt boot neither Windows or Ubuntu.
Then I decided to wipe the entire disk and just go with Ubuntu (I have my files on cloud services so that's ok), but after formating the HD, I cant even get Gparted to read the hard drive - returns the error "Input/Output error during read on /dev/sda" - and it reads only the pendrive; when I try "sudo fdisk -l" on the terminal, I only get a bunch of /dev/loopX disks and the USB device; but when I open the "Disks" application, it shows my Toshiba hard disk is ok with all its space unknown.
I only want to get my hard drive back (with Ubuntu, if possible), It was working fine before I attempted installing Ubuntu. How can I get my hard drive back?