LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-14-2013, 03:19 PM   #1
randomshinichi
LQ Newbie
 
Registered: Jun 2005
Posts: 13

Rep: Reputation: 0
How to get past ATA errors?


I have a hard drive developing bad sectors, and I want to boot into a Linux LiveCD to screw around and see if I can do something about it with badblocks.

The problem is, the kernel from the gparted LiveCD keeps trying to make the hard drive do something (why? just... why?) and keeps on waiting on the drive, which won't get better. It just doesn't boot, and sits there spitting out DRDY_ERROR or ATA timeout messages. Is there a kernel parameter I can edit GRUB with to make it not wait on the hard drive so long?
 
Old 01-14-2013, 04:35 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Well to answer your question yes and no. Any OS you are going to boot off of is going to probe for all the hardware on the system and setup the appropriate kernel modules to interface with it. You could easily disable the hard drive via the BIOS and your livecd would boot but then you wouldnt be able to access the drive.

At this point you may only be able to recover data via an advanced method and would be easier sending it off and paying someone else to do so since they have the proper equipment. It sounds like the drive is just b0rked. You could try attaching it via a USB and sometimes that has better results due to the way USB communicates with the system as opposed to a directly connected ATA drive.
 
Old 01-14-2013, 09:22 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Try almost any other live cd. The issue will come back when you try to run gparted. It will try to do some basic tasks. A bad disk may never be able to be mounted.

Run the OEM or generic diagnostic disk.
 
Old 01-14-2013, 10:15 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by jefro View Post
Run the OEM or generic diagnostic disk.
Exactly. But forget about the idea that trying to get this failing disk to work will be anything but a waste of time. If the diagnostic tools reports the disk as bad remove it and get a new one.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ATA errors and IO errors on sda3 Spyes Linux - Laptop and Netbook 11 09-08-2012 02:57 PM
Getting past disk errors resizing partitions josephj Linux - Desktop 3 07-13-2009 06:41 PM
startup ata errors poisonborz Linux - Newbie 1 06-12-2009 12:54 PM
NFS errors for the past few days dougtheslug Linux - Server 14 03-12-2008 01:06 PM
ATA bus errors gewe Linux - Hardware 0 11-09-2007 08:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration