Hi list, I have got a damaged hard disk. It has only one sector which is bad. I have been using it with Windows for 3 months since the problem came out. Now I would like to turn the machine into a linux machine. There is a way to make linux ignore that sector, just like scandisk does for windows? There is a way to do that on BSD? (I know this is not a BSD list, but if you know the answer....). TIA, Praise
Praise writes:
Hi list,
I have got a damaged hard disk. It has only one sector which is bad. I have been using it with Windows for 3 months since the problem came out. Now I would like to turn the machine into a linux machine. There is a way to make linux ignore that sector, just like scandisk does for windows? There is a way to do that on BSD? (I know this is not a BSD list, but if you know the answer....).
First do a man on e2fsck: e2fsck -c /dev/hda
Jesse Marlin writes:
Praise writes:
Hi list,
I have got a damaged hard disk. It has only one sector which is bad. I have been using it with Windows for 3 months since the problem came out. Now I would like to turn the machine into a linux machine. There is a way to make linux ignore that sector, just like scandisk does for windows? There is a way to do that on BSD? (I know this is not a BSD list, but if you know the answer....).
First do a man on e2fsck:
e2fsck -c /dev/hda
Sorry, you probably haven't even formatted them yet. When setting up the partitions in Yast2 have it perform the extended checking. There should be an option for each partition you set up. That should mark any bad blocks you have.
* Jesse Marlin (jlm@compgen.com) [020205 13:21]:
Sorry, you probably haven't even formatted them yet. When setting up the partitions in Yast2 have it perform the extended checking. There should be an option for each partition you set up. That should mark any bad blocks you have.
Yes. Otherwise, just run /sbin/badblocks directly. -- -ckm
participants (3)
-
Christopher Mahmood
-
Jesse Marlin
-
Praise