S
S
Sergey Karbivnichy2015-01-02 18:45:01
linux
Sergey Karbivnichy, 2015-01-02 18:45:01

Is it possible to restore the hard drive in my case?

In mid-December, an error appeared on the laptop, for the solution of which you need to restart the laptop. I wasn’t behind the laptop, so they can explain to me what the error was. After turning on the laptop, an error appeared that there was no boot device (the laptop had windows 10, 2 ntfs partitions, one ext2 or ext3 and one swap). If you boot from a flash drive or livecd, there is a black screen for 30 seconds (probably the laptop is trying to read some information from the disk. Acronison and other programs are not formatted.
Googled, but it didn’t work out that way. I need to try to restore at least the hard drive itself (if it's possible) without infi on it, I found fsck on the internet and this is what it outputs:

[email protected]:/home/guest# fsck -n /dev/sda
fsck из util-linux 2.21.2
e2fsck 1.42.12 (29-Aug-2014)
ext2fs_open2: Bad magic number in super-block
/sbin/e2fsck: Superblock invalid, trying backup blocks...
/sbin/e2fsck: Bad magic number in super-block while trying to open /dev/sda

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
 or
    e2fsck -b 32768 <device>

Ready to listen carefully to any suggestions. Thank you for your attention, all hope is only on you.
PS: The laptop is 3 years old, hasn't been dropped, no problems were noticed before.

Answer the question

In order to leave comments, you need to log in

9 answer(s)
V
Valery Ryaboshapko, 2015-01-02
@valerium

Boot from flash drive, install smartmontools and run sudo smartctl -a /dev/sda
Device name may be different in your case. In all this output, find a label with this heading.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0

There should be more lines in it, I have highlighted only the most interesting ones. Their textual description may differ, but the ID is always the same (first column).
If the values ​​in the rightmost column (RAW_VALUE) differ from zero (especially 5 and 196), then the disk is preparing to give its soul to God. How long he will live from this moment is unknown (a matter of luck), but the process has already begun. It's time to save up for a new drive. If the values ​​are not zero, and at the same time VALUE >= THRESH, then this is definitely the end. The reserved sectors limit has been exhausted, the disk can no longer compensate for the missing sectors.
If 5 and 196 are zero, but 197 is greater than zero, then there is still a chance. You need to run the mhdd or victoria mentioned here to check the record. This will destroy all data on the disk, but it may turn out that the sectors are marked bad by mistake. After mhdd works (this, by the way, can take a very long time, up to several hours, depending on the size of the disk), the counter 197 can reset to zero, then format the disk and use it calmly. If it reset to zero, but at the same time 5 and 196 grew, then see the previous paragraph :-)
And may your backups be in abundance and safe ;-)

R
res2001, 2015-01-02
@res2001

I would attach the disk to a stationary computer, if it is determined, then remove the image from it, and then you can set mhdd with verification or something else.
Old can be obtained from the image later.

N
nirvimel, 2015-01-02
@nirvimel

1. Drive to victoria / MHDD for recording.
2. Then drive away for reading. If there are still mistakes, then go to step 1.
Although, if the hard has already begun to crumble, then it will continue ... But hope dies last, right?

K
klepiku, 2015-01-03
@klepiku

the first thing to do in case of slow work is cleaning the contacts between the board and the bank
, after that it will either give up its soul or it will become faster
, then it is a counter of replaced sectors (corrected)
and it is useless to talk about disks without a manufacturer

M
Melkij, 2015-01-02
@melkij

With the restoration of information - do not do anything with the disk yourself in any case! Give the drive to data recovery specialists.
If you have a great desire and feel sorry for the money - make a full sector-by-sector copy of the disk. You put the original disk aside and try to restore only and exclusively the image.
No information - boot from MHDD or Victoria, do a full write test followed by a full read test. If the plates are in adequate condition, you have received a working clean disc. If the plates are dead - throw them away. The consumable.

R
Roman Mirilaczvili, 2015-01-02
@2ord

Disk probably kaput. This is indicated by the fact that the livecd takes a long time to load. To check the health of the disk, you need to run SMART
tests . Most likely, the results will indicate that the disc is not recommended. But it's worth checking. It may happen that everything is in order with it, but some information that can be formatted is damaged.

R
Roman Isaikin, 2015-01-02
@romixlab

If smart shows that the disk seems to be intact, then you can try to "format" it as follows:
It helped several times when the Windows installer could not create partitions.

I
Ivan, 2015-01-02
@LiguidCool

What is the connection of a hard drive malfunction if your laptop does not boot from live?

T
trushka, 2015-01-03
@trushka

In general, in laptops, hard is a very weak point .. I somehow had something similar .. There was no particularly valuable information, I untwisted it - it turned out that the head was stupidly peeled off, and when turned on, it stupidly hit the edge of the plate (when I turned on the laptop, it started " tick") .. Most likely, during the operation of the screw, I hit it - it was the case that it "woke up" during my trip to the subway, literally the next day and stopped loading

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question