I have an old HP Athlon machine I use for testing software under the old processor. We have frequent brown outs, and after the last one the disk was a mess. It was so bad I could not run
fsck and dispatch all the problems. I performed a fresh install of the OS, but I'm still getting
I'd like to try one last time to reload Linux before condemning the hard drive or machine. After the filesystem is created but before the install occurs, I'd like an aggressive
fsck performed to mark suspect blocks as bad.
The disk is large (about 500 GB) and a Debian 8 distro is relatively small (8-12 GB is usually more than enough), so I don't care if good blocks get marked as bad. I also like the GUI install, but I'm not married to it.
I have two questions:
Does Debian 8 provide a choice to perform an
fsckbefore installing the base system? If so, where is it? If not, then what is the process?
fsckhave a setting to control how aggressively blocks are marked as bad? If so, what is it? If not, then what can be used?
EDIT: the machine is an HP5850. Entering the BIOS, navigating to Storage and then Drive Protection System (DPS) Self-test resulted in DPS recommending replace the drive. DPS did not provide any statistics, so I'm not sure the extent of the damage.
Considering I can purchase an [old] new SATA II drive for $12 USD, I'm just going to replace it. There's no sense in wasting time or energy on it.
The related references are as follows. Neither question appears to be addressed.