I have recently attempted to install ubuntu on my laptop, replacing windows 7.
The HDD was working fine with windows 7.
On my first attempt to install ubuntu it kept giving me an error that was saying it could not create the partitions needed for the installation.
I then tried to manually delete all the partitions that were on the HDD and then attempt the installation. Then it started saying that it could not create the ext4 file system.
So, then i tried deleting partitions again and found out that i had a bad superblock. So, then i tried the suggestions in this link. This did not solve the superblock problem.
So, then i used mkfs.ext4 /dev/sda to try and just format the whole drive. Everything seemed fine, and then the installation failed. It said it was unable to create the partitions again.
I am on the live cd and gparted does not detect any HDD any more.
I need to get ubuntu installed on this HDD. Can someone please assist me in getting this HDD to work again.
Let me know if you need any further details. Thanks!
Output from sudo fdisk -l:
fdisk: unable to read /dev/sdc: Input/output error