how do I repair bad sectors in FreeBSD?
I use SATAII
I use SATAII
SirDice said:Filesystem errors are fixed by using fsck. A real bad sector however isn't. If you have an IDE or S-ATA disk and it's showing bad sectors replace the disk as soon as possible.
rsync, fdisk with parameters from a file,
sysinstall, escape to loader prompt, bsdlabel, shell-saved-history, newfs, mkdir -p, chflags,
[FILE]fsck -y[/FILE]
# smartctl -a /dev/ad0
# dd if=/dev/zero of=/dev/ad0 bs=64k
douglasfim said:western digital
this will erase the entire hard drive?
Code:dd if=/dev/zero of=/dev/ad0 bs=64k
is the same driver that is installed FreeBSD
I have to use a live CD?
I'm not getting the system starts, it asks to do the fsck.
douglasfim said:I'm confused.
dd > format > install > fsck
or
dd > fsck > format > install