Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a friend whose win32 laptop died recently. It would boot, and even get to the windows pre-login splash screen. However, before any login prompt would load, the computer would restart.
The Geek Squad told her that she would need to buy a new computer, as it was just dead. A quick linux live-cd proved to me that in fact the computer would boot fine off of the CD. A bit more testing showed that a different laptop hard drive (from my linux laptop) worked fine. I assumed the hard disk was going and started to ddrescue the data off it. Sure enough I hit IO errors within the first GB.
So my question is this: I have in the ddrescue log the exact hardware blocks of the damage, which ddrescue replaced with 0's. So, is there any way to reverse look-up the file names? Since I have a laptop win WinXP SP2 (just kept for warranty reasons), I figured I would try to use my copy of those files. Not a perfect solution, but she has no install disc so her only other option is to buy a new copy of XP if she can find it, or buy Vista, and we are both broke college kids who can't afford that! :-)
I know that when I stat a file, I get the inode. Is there any relationship between the file system inode and the hard disc block?
Oh and PS, is Geek Squad incompetent everywhere, or just here? I swear I've heard no fewer than 8 stories of how they screw up peoples' PC's and never one about their fixing something.
have you tried to dd the bad drive to a good drive? I just dd one of my mail server drive which have a few bad sectors to a brand new drive. After few hours of waiting I was able to boot my system up with the new drive without losing anything at all. ddrescue will do the same thing. if your friend is missing her XP CD. You can go here www.demonoid.com and download the iso for XP then burn it to a CD. Make sure you download the right version of XP (Home or Professionals)&(OEM or Full version).
Oh yes, the drive has already been dd'ed over. However, ddrescue filled the 4Kb of damage in with 0's, and I know what hardware blocks those zeros are at, now I need to find the filenames so I can replace them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.