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

  • 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

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).

| improve this answer | |


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.

| 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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