Questions

How to fix "fdisk: unable to read /dev/sdg1: Input/output error" Ubuntu?

Tags:
+
1 Votes
Locked

How to fix "fdisk: unable to read /dev/sdg1: Input/output error" Ubuntu?

Kelby232
I am trying to format a 1.5TB external hard drive in Ubuntu and I am getting the following error message through fdisk in the termainl.

fdisk: unable to read /dev/sdg1: Input/output error

I then tried doing it through disk utility and get the following error message:

Error creating file system: helper exited with exit code 1: Error calling fsync(2) on /dev/sdg1: Input/output error

In disk utility the drive shows "unknown 1.5 TB."

I have made sure the drive is unmounted and I tried erasing the disk which was successful but now I am unable to format it.

I tried doing it in windows 7 and get an input/output error there as well.

Thank you for any assistance you can give.