Follow via:
RSS
Email Alert
Question
1 Vote
+ -

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

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.
27th Dec 2011

Answers (3)

1 Vote
+ -
Exit code 1
Generally points to a corrupt Master Boot Record so you'll need to repair that before attempting to Format any Partitions.

Col
27th Dec 2011

Replies

Thank you for the response.

How would I go about fixing the MBR in Ubuntu? I did a quick google search and found a lot about dual booting windows 7 with Ubuntu which I don't think I need. This is just an external drive for media.
Kelby232 28th Dec 2011
0 Votes
+ -

Replies

I installed gparted but my external drive is not showing up as a device. I've tried having mounted and unmounted and it is still not showing up.

What else can I try?
Kelby232 30th Dec 2011
0 Votes
+ -
Are you sure that the drive is actually working?
Hit it with it's makers Testing Utility and see if there are any problems with it.

Col
31st Dec 2011

Replies

I will try that.

I'm assuming I'll have to boot into windows for that instead of Ubuntu right?
Kelby232 3rd Jan 2012
No Windows it works from a Boot Disc.

You can always use the Ultimate Boot CD as well it has most of the makers testing Utilities on it and it can be downloaded from c net.

Sorry but at the moment I can not post a direct link as the post just disappears. wink

Col
OH Smeg 4th Jan 2012
Answer the question
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.