Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using an ubuntu live cd to help me recover some data off of a hard drive. I used lshw -C disk to find out which device I need to copy, /dev/sda in this case.

I am using ddrescue -n to try and recover some data from a failing hard drive. It stops at 100GB of a 500GB hard drive. After it finishes sudo lshw -C disk does not print anything.

The next step in using ddrescue is to use sudo ddrescue -r 1 /dev/sda, but it reports there is no such file or directory.

What is going on; why is lshw failing to report anything?

Edit: Added sudo to relevant places.

share|improve this question
up vote 1 down vote accepted

It looks like the way in which your disk is failing is so bad that the kernel becomes unable to keep communicating with the disk.

There are probably a lot of errors concerning the disk in /var/log/kern.log. If you post its contents here, people might have tips to help you recover more. (Post only the part from the first disk error, presumably triggered during the ddrescue -n, to the point where the kernel deactivates sda; if there's a long and repetitive bit in the middle, it's ok to cut the repetitions.) But don't expect miracles, there's a chance that the last 400GB are simply beyond recovery without spending thousands of dollars on a professional service.

share|improve this answer
Well I am not willing to spend that much for little gain. I This all happened on a live cd so the log files no longer exist. I will rerun and post later today. – Davorak Nov 11 '10 at 18:05

Try running lshw as super user.

share|improve this answer
Thank you and sorry for not being specific I was using sudo with the command. – Davorak Nov 11 '10 at 18:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.