posted
What command linux based would I use to do a low level format, to eradicate all bad sectors? Cuz when i try to install linux i get thatit encontered bad cyninders and spits out a bunch of random numbers and freezes when it says its trying to fix it and doesn't.
IP: Logged |
posted
have you tried running using the -c or -cc options with mkfs?
from the mke2fs man page:
code:
-c Check the device for bad blocks before creating the file system. If this option is specified twice, then a slower, read-write test is used instead of a fast read-only test.
If this is difficult to do in the installer for whatever distro you're installing, I'd look up the gparted live cd (~50 megs) you should be able to do it from there certainly.
Frankly, if things are failing like this, I wouldn't expect the drive to last all that much longer even if you can get it to install.
Anyway, I thought you were a linux master?
edit: I'd also look at the manufacturers website to see what they have available too.
Posts: 1621 | Registered: Oct 2001
| IP: Logged |
posted
I don't think you can eliminate bad sectors. Generally the operating system just works around them. I'm guessing your hard drive is hosed.
Posts: 1327 | Registered: Aug 2007
| IP: Logged |
posted
Also, if it's a new HD, you're not very likely to be able to do much in the way of a "low level format". That's more of a manufacturer thing. You can, however, zero it out, which might (or, every bit as likely, might not) fix a problem or two. Were you to go this route, you would probably use dd, but then again, I'm no linux master.
Posts: 433 | Registered: Feb 2005
| IP: Logged |
posted
It has been many years since you could actually do a "low level format" of a hard drive. When sectors start going bad, the drive re-maps some spare sectors to keep the drive working, and reports the problems using SMART. The operating system can only notice this, not control it.
Once this starts happening, the chance of the drive dying within 2 months goes up by a factor of about 40, but given that this is a new drive, it is pretty much doomed. (The 40x increase applies to drives that have made it past the initial spike of the bathtub-curve failure rate. Your drive isn't there yet, so it already has a higher chance of failure.)
The good news is that hard drives have pretty good warranties these days. Your drive probably has a 3-year warranty, much better than the 1-year warranties they were handing out a few years ago.
Posts: 145 | Registered: Apr 2007
| IP: Logged |
Blayne Bradley
unregistered
posted
it was acquired under the table unfortunately. I don't think warranty applies.
IP: Logged |
posted
This, then, represents an excellent lesson about why, morality aside, you shouldn't acquire things under the table. That said, depending on the manufacturer, you might be able to just give them the serial number and confirm the age of the drive that way; many manufacturers are fairly forgiving about being able to produce a proof of sale.
Posts: 37449 | Registered: May 1999
| IP: Logged |
posted
Most drives actually have the warranty date printed on the top. Provided that it is present and the drive doesn't have too many physical signs of damage or tampering, you still stand a good chance at getting a replacement from the manufacturer. At any rate, it probably can't hurt to call the manufacturer.
Posts: 145 | Registered: Apr 2007
| IP: Logged |
posted
Even if acquired under the table, if it was acquired legally, it has a warranty for the appropriate period.
Posts: 15770 | Registered: Dec 2001
| IP: Logged |