错误:无法从“hd0”读取扇区 0x802。进入救援模式 grub rescue>

错误:无法从“hd0”读取扇区 0x802。进入救援模式 grub rescue>

磁盘:

磁盘窗口截图

智能数据和自我测试:

SMART数据窗口截图

结果sudo fdisk -l

sudo fdisk -l 命令输出

我正在使用 Ubuntu 16.04,突然屏幕上出现了这个 grub 救援。当我这样做时

error: failure reading sector 0x802 from 'hd0'. 
Entering rescue mode...
grub rescue> ls
(hd0) (hd0,msdos1)
grub rescue> ls (hd))
(hd0): Filesystem is unknown.
grub rescue> ls (hd0,msdos1)
(hd0,msdos1): Filesystem is unknown
error: failure reading sector 0x802 from 'hd0'.

我在办公系统中遇到了这个问题。

答案1

你的硬盘出现故障。我们可以尝试一些方法,所以请祈祷。您的硬盘上有两个分区,并且两个分区都存在问题,这表明 MBR 分区表存在问题,或者只是硬盘以非常复杂的方式出现故障。您可能需要更换磁盘驱动器。

文件系统检查

这是文件系统检查。这是尝试诊断和修复磁盘的第一步。如果我们无法成功运行,我们将不得不执行该gparted步骤。

对于 17.10 或更早版本...

  • 启动到 GRUB 菜单
  • 选择Advanced Options
  • 选择Recovery mode
  • 选择Root access
  • #提示符下,输入sudo fsck -f /
  • fsck如果有错误则重复命令
  • 类型reboot

对于 18.04 或更新版本...(或者如果上述步骤不适合您)...

  • 以“试用 Ubuntu”模式启动 Ubuntu Live DVD/USB
  • terminalCtrl+ Alt+打开窗口T
  • 类型sudo fdisk -l
  • 识别“Linux 文件系统”的 /dev/sdXX 设备名称
  • 输入sudo fsck -f /dev/sdb1,替换sdXX为您之前找到的数字
  • fsck如果有错误则重复命令
  • 类型reboot

分区

如果fsck无法成功运行,我们将尝试查看选项gparted。开始gparted。选择/dev/sdb1。前往分割菜单并选择查看

如果这无法修复错误,假设您没有良好的数据备份,我们将尝试恢复您的数据。

gparted,转到设备菜单,然后选择尝试数据拯救. 按照说明尝试将数据复制到外部磁盘驱动器。

坏块

作为修复硬盘的最后努力,我们将尝试对磁盘进行坏块处理,因为磁盘上确实有一些坏扇区。这可能会失败,并使您的磁盘处于未知状态。

注意:不要中止坏块扫描!

注意:不要对 SSD 造成坏块

注意:请先备份您的重要文件!

注意:这将花费很多小时

注意:您可能面临硬盘故障

在“尝试 Ubuntu”模式下启动 Ubuntu Live DVD/USB。

terminal...

sudo fdisk -l# 识别所有“Linux 文件系统”分区

sudo e2fsck -fcky /dev/sdXX# 只读测试

或者

sudo e2fsck -fccky /dev/sdb1# 非破坏性读写测试(受到推崇的)

-k 很重要,因为它会保存之前的坏块表,并将任何新的坏块添加到该表中。如果没有 -k,您将丢失所有之前的坏块信息。

-fccky 参数...

   -f    Force checking even if the file system seems clean.

   -c    This option causes e2fsck to use badblocks(8) program to do
         a read-only scan of the device in order to find any bad blocks.
         If any bad blocks are found, they are added to the bad block
         inode to prevent them from being allocated to a file or direc‐
         tory.  If this option is specified twice, then the bad block scan
         will be done using a non-destructive read-write test.

   -k    When combined with the -c option, any existing bad blocks in the
         bad blocks list are preserved, and any new bad blocks found by
         running badblocks(8) will be added to the existing bad blocks
         list.

   -y    Assume an answer of `yes' to all questions; allows e2fsck to be
         used non-interactively. This option may not be specified at the
         same time as the -n or -p options.

数据库

这个扩展分区也有问题,分区是空的,可以使用 删除gparted

更新#1:

HDD 有故障。请更换它。

相关内容