Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My hard disk is having some errors.

When it runs the pre boot scan I get:

Error Code 0142 Msg : Error Code 2000-0142 Msg : 
Hard Drive 0 - self test unsuccessful. 
Status : 79 

The given error code and message can be used by Technical Support to help 
diagnose the problem/ Do you want to continue testing? 

I tried to get the command prompt so that I can use chkdsk option in windows. But the blue screen is preventing from doing that. That is why I ended up here.mins ago

I can not do anything with my laptop now. Blue screen error is preventing from doing all recovery methods from windows. So I tried using fedora live CD, and tried to do "fsck" to fix hard disc errors. But it need sudo privilege to do the same.

Is there any other alternatives by which i can fix my hard disk errors via Fedora live boot.

share|improve this question

migrated from serverfault.com Jul 31 '13 at 16:42

This question came from our site for professional system and network administrators.

3  
So why not run fsck with sudo?? Also, why are you trying to fix Windows from Linux?? Why aren't you using the Windows CD that came with your computer? –  Chris S Jul 31 '13 at 16:45
1  
Please elaborate on some error. Right now this makes as much sense as "my car is doing something strange. How do I repair it". –  Hennes Jul 31 '13 at 16:45
    
Error Code 0142 Msg : Error Code 2000-0142 Msg : Hard Drive 0 - self test unsuccessful. Status : 79 The given error code and message can be used by Technical Support to help diagnose the problem/ Do yopu want to continue testing? Above is the error i got on running a pre boot scan. I tried to get the command prompt so that i can use chkdsk option in windows.But the blue screen is preventing from doing that. Thats why i ended up here. –  Intelligent Yahoo Jul 31 '13 at 16:51
1  
Is this an NTFS filesystem? There is an fsck.ntfs, but it is very limited compared to the native Microsoft tools. Plus, it sounds like you may have a hardware failure far beyond the ability of a filesystem consistency tool to do anything about. –  mattdm Jul 31 '13 at 16:56
    
You can usually edit your original post to include new information. This time I added it for you, but consider creating or linking an account so that you can edit it yourself. –  Hennes Jul 31 '13 at 16:57

3 Answers 3

up vote 1 down vote accepted

The default livecd user account be able to use sudo without a password at the terminal prompt. Is this not working for you? (It is definitely the case with the current F19 release, and I think also true for F17.) Alternately, from that account you can su - to get a root prompt without a password.

You shouldn't need to get into rescue mode or run the installer to do this.

share|improve this answer
    
But does the Fedora Live CD understand and automount NTFS partitions? –  Michael Hampton Jul 31 '13 at 17:37
    
@MichaelHampton If the filesystem is damaged and you want to run fsck, you don't want to mount it anyway. The ntfsprogs package, which contains fsck.ntfs, is part of the default install and included on the livecd. But see my comment to the question about how much use that might actually be. –  mattdm Jul 31 '13 at 17:44

Run the Linux Install CD and select rescue mode. In rescue mode, there is either a blank or NO root password and you get dropped into a root shell. From there you can run fsck.

share|improve this answer
    
Now i am in live mode.And there is an option available for me like "install to Hard Drive". Can i use that option to get in to the rescue mode. I am completely new to this linux platform. –  Intelligent Yahoo Jul 31 '13 at 16:48

If you believe that your hard drive is physically failing, your initial focus should be on getting data off it. Once the data is safely on trusted media, you can work more on possibly repairing a corrupted file system from there.

ddrescue is designed for this task. It has a --max-retries option that avoids having the hard drive try too many times to read a bad sector, which might only make it worse. A more Windows-oriented guide to using ddrescue is here.

ddrescue appears on a few Linux live Cds. I use CDLinux.

share|improve this answer

Your Answer

 
discard

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.