尝试修复 Linux Live CD 上出现错误的硬盘

尝试修复 Linux Live CD 上出现错误的硬盘

我尝试使用 Proteus Linux live USB修复HP Pavilion x360 Convertible/8074, BIOS F.35 08/20/2015无法启动 ( ) 的 HP 笔记本电脑 ( ) 。OS not found

这是我所尝试的。

fdisk -l没有显示硬盘。

lsblk正确显示硬盘(sdb):

sdb      8:16   0 465.8G  0 disk 
├─sdb1   8:17   0 465.2G  0 part 
└─sdb2   8:18   0   585M  0 part 

mount显示几个错误:

root@porteus:~# mount -o ro -t ntfs /dev/sdb1 /mnt/windows
Error reading bootsector: Input/output error
Failed to mount '/dev/sdb1': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation

ntfsfix还显示了几个错误:

root@porteus:~# ntfsfix /dev/sdb1
Mounting volume... Error reading bootsector: Input/output error
Failed to sync device /dev/sdb1: Input/output error
FAILED
Attempting to correct errors... Error reading bootsector: Input/output error
Failed to sync device /dev/sdb1: Input/output error
FAILED
Failed to startup volume: Input/output error
Error reading bootsector: Input/output error
Volume is corrupt. You should run chkdsk.

parted也显示错误:

root@porteus:/home/guest/Downloads/testdisk-7.1# parted -l
Warning: Error fsyncing/closing /dev/sdb1: Input/output error
Retry/Ignore? retry
Warning: Error fsyncing/closing /dev/sdb1: Input/output error
Retry/Ignore? ignore                                                      
Warning: Error fsyncing/closing /dev/sdb2: Input/output error
Retry/Ignore? ignore                                                      
Error: /dev/sdb: unrecognised disk label
Warning: Error fsyncing/closing /dev/sdb: Input/output error
Retry/Ignore? retry
Warning: Error fsyncing/closing /dev/sdb: Input/output error
Retry/Ignore? ignore                                                      
Model: ATA WDC WD5000LPVX-6 (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: unknown
Disk Flags:

testdisk没有工作,但运行之后,lsblk也停止工作,并且没有列出sdb驱动器;但是/dev/sdb仍然作为文件存在。

这是停止查看硬盘dmesg时的部分日志。lsblk

[ 2073.836517] Buffer I/O error on dev sdb, logical block 0, async page read
[ 2073.836550] Buffer I/O error on dev sdb, logical block 0, async page read
[ 2073.836587] Buffer I/O error on dev sdb, logical block 0, async page read
[ 2073.836620] Buffer I/O error on dev sdb, logical block 1, async page read
[ 2077.982908] scsi_io_completion_action: 19 callbacks suppressed
[ 2077.982937] sd 0:0:0:0: [sdb] tag#13 UNKNOWN(0x2003) Result: hostbyte=0x04 driverbyte=0x00
[ 2077.982961] sd 0:0:0:0: [sdb] tag#13 CDB: opcode=0x35 35 00 00 00 00 00 00 00 00 00
[ 2077.982979] print_req_error: 19 callbacks suppressed
[ 2077.982986] print_req_error: I/O error, dev sdb, sector 0 flags 801
[ 2078.802774] sd 0:0:0:0: [sdb] Read Capacity(16) failed: Result: hostbyte=0x04 driverbyte=0x00
[ 2078.802790] sd 0:0:0:0: [sdb] Sense not available.
[ 2078.803407] sd 0:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=0x04 driverbyte=0x00
[ 2078.803420] sd 0:0:0:0: [sdb] Sense not available.
[ 2078.803584] sd 0:0:0:0: [sdb] 0 512-byte logical blocks: (0 B/0 B)
[ 2078.803597] sd 0:0:0:0: [sdb] 4096-byte physical blocks
[ 2078.804473] sdb: detected capacity change from 500107862016 to 0
[ 2078.808309] sd 0:0:0:0: [sdb] Read Capacity(16) failed: Result: hostbyte=0x04 driverbyte=0x00
[ 2078.808313] sd 0:0:0:0: [sdb] Sense not available.
[ 2078.808362] sd 0:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=0x04 driverbyte=0x00
[ 2078.808365] sd 0:0:0:0: [sdb] Sense not available.
[ 2078.852653] udevd[1594]: inotify_add_watch(5, /dev/sdb2, 10) failed: No such file or directory
[ 2078.856948] udevd[1595]: inotify_add_watch(5, /dev/sdb1, 10) failed: No such file or directory

这里是更多输出dmesg

[    6.378155] ata1: link is slow to respond, please be patient (ready=0)
[   11.058196] ata1: COMRESET failed (errno=-16)
[   16.410158] ata1: link is slow to respond, please be patient (ready=0)
[   18.074175] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   18.125056] ata1.00: ATA-9: WDC WD5000LPVX-60V0TT0, 01.01A01, max UDMA/133
[   18.125071] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 32), AA
[   18.126131] ata1.00: configured for UDMA/133
[   18.137197] scsi 0:0:0:0: Direct-Access     ATA      WDC WD5000LPVX-6 1A01 PQ: 0 ANSI: 5
[   18.139002] sd 0:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[   18.139015] sd 0:0:0:0: [sdb] 4096-byte physical blocks
[   18.139111] sd 0:0:0:0: [sdb] Write Protect is off
[   18.139123] sd 0:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[   18.139285] sd 0:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   18.147088]  sdb: sdb1 sdb2
[   18.148767] sd 0:0:0:0: [sdb] Attached SCSI disk
...
[   34.611396] ata1.00: READ LOG DMA EXT failed, trying PIO
[   34.611414] ata1: failed to read log page 10h (errno=-5)
[   34.611438] ata1.00: exception Emask 0x1 SAct 0x2 SErr 0x0 action 0x6 frozen
[   34.611446] ata1.00: irq_stat 0x40000008
[   34.611461] ata1.00: failed command: READ FPDMA QUEUED
[   34.611492] ata1.00: cmd 60/08:08:00:0b:26/00:00:3a:00:00/40 tag 1 ncq dma 4096 in
                        res 40/00:0c:00:0b:26/00:00:3a:00:00/40 Emask 0x1 (device error)
[   34.611501] ata1.00: status: { DRDY }
[   34.611528] ata1: hard resetting link
[   37.883235] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   37.961609] ata1.00: configured for UDMA/133
[   37.961675] sd 0:0:0:0: [sdb] tag#1 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[   37.961692] sd 0:0:0:0: [sdb] tag#1 Sense Key : 0x5 [current] 
[   37.961705] sd 0:0:0:0: [sdb] tag#1 ASC=0x21 ASCQ=0x4 
[   37.961721] sd 0:0:0:0: [sdb] tag#1 CDB: opcode=0x28 28 00 3a 26 0b 00 00 00 08 00
[   37.961733] print_req_error: I/O error, dev sdb, sector 975571712 flags 80700
...
[  419.354379] print_req_error: I/O error, dev sdb, sector 976768896 flags 80700
[  419.354416] sd 0:0:0:0: [sdb] tag#15 UNKNOWN(0x2003) Result: hostbyte=0x04 driverbyte=0x00
[  419.354420] sd 0:0:0:0: [sdb] tag#15 CDB: opcode=0x28 28 00 3a 38 4f 80 00 00 08 00
[  419.354422] print_req_error: I/O error, dev sdb, sector 976768896 flags 0
[  419.354426] Buffer I/O error on dev sdb2, logical block 149744, async page read
[  419.387113] Buffer I/O error on dev sdb2, logical block 149744, async page read
[  419.406920] Buffer I/O error on dev sdb1, logical block 487783424, async page read
[  419.406949] Buffer I/O error on dev sdb1, logical block 487783425, async page read

我还应该尝试其他什么吗?硬盘坏了吗,还是我还能做些什么?是否需要更多信息?

如果这个问题必须关闭,请引导我到一个我可以询问的资源

答案1

  1. 生成完整的 smartmontools 报告并将其重定向到文件中。将“X”替换为您所需的驱动器号:

smartctl -a /dev/sdX > mysmart.txt

根据机器的使用年限交替运行

smartctl -a /dev/hdX > mysmart.txt

发布报告。根据结果:

  1. 尝试使用 ddrescue 复制光盘。ddrescue 表现如何?速度有多快?传输速度是多少?请告诉我。

如果2.失败,那么寻求专业的数据恢复公司将是最好的选择。

相关内容