Ubuntu says I have bad sectors on my laptop (186 of them to be exact) and sometimes can't even boot - I'm running a live CD now. Is it the end for my HD?
If yes, any recommendations for a good laptop HD? My machine is Compaq Presario CQ60.
Ubuntu says I have bad sectors on my laptop (186 of them to be exact) and sometimes can't even boot - I'm running a live CD now. Is it the end for my HD?
If yes, any recommendations for a good laptop HD? My machine is Compaq Presario CQ60.
I have personal experience with bad sectors on laptop, so Ubuntu was right when warning message appeared. I printed out a screenshot (by Disk Utility) with information about bad sectors. Being under 2-years warranty, a local repair service center has changed faulty HDD without any question.
Regarding a new HDD. Buy SSD drive - it's fast and shock-proof and energy-saving solution, yet it's expensive :)
Good luck, Vincenzo
Quite likely your hard drive has some form of physical damage and unless it is an older, slower drive, I would suggest you replace it ASAP. If you cannot boot you're in even more trouble. To avoid data corruption, don't try to access the hard drive until you have bought a new one.
I would suggest a regular drive at 7200 rpm or so, or an SSD if you are not going to be doing a lot of high activity things on it (SSDs can be "worn out" by too many read/write cycles a bit faster than a regular HDD).
In any case... Backup frequently. But I would also recommend using a SSD on a laptop since they aren't that affected by shock. For instance, I once ruined my HD on my way home from work. I thought I had configured the laptop to suspend when the lid was closed, but I hadn't. So I closed the lid and put it in my backpack and walked home. I wasn't running or anything like that, and it was only a few hundred meters, but still... I got thousands of bad sectors and had to replace it. That would not have happened to an SSD.
I was about to say you can print SMART results in Palimpsest, but it doesn't look like you can. But you can use run "sudo smartctl -a /dev/diskname" to get some very useful output. If you add it to your question, I'm sure the answers will improve.
In the meantime, I'm filing a bug report about Palimpsest. :)
you do:
One thing I looked into a lot on the net and found out myself, is what to do when you start getting some "bad sectors", a problem I came across with my HDD which recently caused boot failure just out of nowhere and received the "treatment" I explain.
1. Backup your data
2. Get a new disk, especially if you can do it for free (warranty).
3. Try to give your HDD an orientation. I mean, tell ALL its little magnetic spaces (sorry I am not an engineer) to have the same polarity (seems they get a little crazy after some overwrites...) Best and easiest way to do that is by a zerofill, which makes your entire disk like 000000000000..., but there are also some Windows apps like DRevitalize that do pretty much something like that in not so uniform a way (and without losing data supposingly-never tried it to be honest)
You can do a zerofill by a LLF (low level format), or a slow format (device, not just partition) in Ubuntu's Disks GUI, or through your terminal, using the "shred" command: sudo shred -n 0 -v -z /dev/sdX (where sdX the disk you want to erase) and probably in a million other ways, I don't think it matters that much how you do it.
I tried a 2-pass zerofill on a disk with 250 bad sectors and 75 more "pending". It eliminated the "pending" sectors somehow and significantly improved access times for some 2500 more sectors, from "<500ms" to "<150ms" (surface test with HDDScan). I guess some of those would soon become "bad" and remains to see if I can expect a time gain of days, weeks or more...