Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have Ubuntu and Win7 both installed on my laptop.

I was working on Windows when I dropped the laptop from about 3.5feet in air. Ever since, windows is unable to boot. But Ubuntu works just fine.

When I ran SMART, it shows me there are a few bad sectors. I'm attaching a screen shot of the report.

Can anyone suggest what must be done?

Here's the image:

disk utility screenshot with current pending sector count of 3

share|improve this question
    
What do you get when booting windows? –  Prasad RD May 9 '12 at 11:24
    
@Prasad Just a the windows 7 loading screen followed by a black screen. Nothing loads. Even in safe mode it just freezes after loading certain files –  Programming Noob May 9 '12 at 12:26
add comment

3 Answers

up vote 1 down vote accepted

Check the badblocks command from the Linux command line. Refer to the man page for detailed information: man badblocks.

As an example, I run /sbin/badblocks /dev/sda on a monthly basis to find problems. I never had to use this tool to actually fix bad sectors, thats why I have to point you to the man page.

BTW: You cannot fix the NTFS filesystem from Linux, you need Windows for that. Yuo can however check the disk for bad blocks as described and it can do some relocation of bad sectors (which doesn't affect the filesystem).

share|improve this answer
add comment

http://smartmontools.sourceforge.net/badblockhowto.html#sdisk

See the section on bad block reassignment. You can repair this at the filesystem level, or the block level, seeing that you have multiple filesystems, and one is non-native, I would recommend the later. You can run badblocks and pipe the output to sg_reassign.

Backup any critical data before continuing.

share|improve this answer
    
I have no idea whatsoever about file systems or anything of the sort. Are you sure I should invest my time into learning how that tool works? –  Programming Noob May 9 '12 at 13:19
    
It's your data, what's it worth to you? –  ppetraki May 9 '12 at 15:23
add comment

Can you get into a DOS prompt? If so you could do a disc check with Microsoft DOS chkdsk command.

http://www.computerhope.com/chkdskh.htm

share|improve this answer
    
Whilst this may theoretically answer the question, it would be preferable to include more essential parts of the answer here, and provide the link for reference. –  Eliah Kagan Sep 10 '12 at 5:40
add comment

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.