摘要:我有一个主 SSD,其中有 2 个分区,一个分区是 Ubuntu 20,另一个分区是 Windows。昨天,我尝试启动 Linux,但失败了。Windows 也失败了。我最近更新了 Windows,但我不记得更新后我是否使用笔记本电脑没有问题。
当我启动 Ubuntu 时,出现以下错误:
ata3: COMRESET failed (errno= -16)
ata3: reset failed, giving up
....
ALERT! UUID=93b28... does not exists, dropping to shell.
我在网上读到过,可能是磁盘坏了,但重点是 UUID 指的是安装了 grub 和 Ubuntu 的 SSD。我还可以看到该设备从装有 Linux 的 USB 启动并访问文件。但我无法启动任何系统。
如果我使用 运行 fsck ,sudo fsck /dev/sdb
我会得到:
ext2fs_open2(): Incorrect magic number in the superblock
fsck.ext2: Incorrect superblock, attempting to back up blocks...
fsck.ext2: Incorrect magic number in the superblock while trying to open /dev/sdb
The superblock could not be read or does not describe a valid ext2/ext3/ext4 filesystem.
If the device is valid and actually contains an ext2/ext3/ext4 filesystem
(and not swap, ufs, or another type), then the superblock is
corrupted; you might try running e2fsck with an alternative superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>
A GPT partition table has been found on /dev/sdb
如果我在 /dev/sdb5 上执行后面的命令,我会得到以下结果:
e2fsck 1.45.5 (07-Jan-2020)
/dev/sdb5: recovering journal
e2fsck: cannot set blocksize on /dev/sdb5
/dev/sdb5: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sdb5: ********** WARNING: File system still has errors ***********
有什么办法可以修复它吗?