A
A
Alexander Lamdan2020-02-25 17:47:08
linux
Alexander Lamdan, 2020-02-25 17:47:08

Is it possible to completely clean up bad blocks and fix the disk to its original state on Linux?

On one of my old laptops, there is a problem. The laptop is 3-4 years old, sits on a regular hard drive. After some time, the disk crashes with an error, sometimes it doesn’t save anything even if you do fsck, only reinstalling the system from scratch helps. I'm tired of doing this, because I'm just tired of spending 12-18 hours just on recovery.

So far, there is no money, and there is no way to replace the hard drive.

Answer the question

In order to leave comments, you need to log in

7 answer(s)
P
pfg21, 2020-02-25
@pfg21

if the surface is killed, then nothing will save.
as an option to run a disk check - to identify bad places on the disk and cut partitions in such a way that bad clusters are bypassed.
for example https://remontcompa.ru/hard-disk/907-kak-obrezat-n...
after installing and configuring the system, make a complete copy of the system partition on a preferably clean normal media.
restoring a partition from an image takes minutes to tens of minutes.

V
Victor Taran, 2020-02-25
@shambler81

1. buy an ssd already, the ratio of price and performance gain is cosmic, is it really not 1000 r?
2. HDD, in principle, after 5 years, on average, accumulate their resource and change them on servers, regardless of their performance.
3. If you are in Moscow, come in and give me a screw for free.

C
CityCat4, 2020-02-25
@CityCat4

If the disk is crumbling, then the best thing to do is to discharge a stun gun into it, having previously backed up the data. Because troubles tend to come exactly when the damage from them is maximum :)

W
Wexter, 2020-02-25
@Wexter

If the bat displays only part of the disk, create a partition outside this part with an indent of ~1GB.

D
Dmitry Aleksandrov, 2020-02-26
@jamakasi666

If it fell down, then the best solution is to get rid of such a screw.
As a temporary solution, you can do the following:
1) throw out the screw
2) flash drive
3) roll tiny core linux plus onto a flash drive
4) mount the cloud for files, for example, yadisk via webdav

A
Alexey Dmitriev, 2020-02-25
@SignFinder

Have you run a Victoria or MHDD drive to mark bad sectors as unused?
It is clear that if the disk fell down, then their number will increase, but still.

P
Puma Thailand, 2020-02-27
@opium

this has nothing to do with Linux if the disk began to actively die, it will only die even faster

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question