linux - Ubuntu:突然我发现我的一个硬盘分区(/dev/sda5)显示为 'Unknown drive'

标签 linux ubuntu

突然我发现我的一个硬盘分区(/dev/sda5)显示为“未知驱动器”。我无法安装/检索该驱动器上的数据。也无法编辑分区。如何检索/存储驱动器?

我执行了以下操作

demo@demo-laptop:~$ sudo fsck -c /dev/sda5
fsck from util-linux-ng 2.17.2
e2fsck 1.41.11 (14-Mar-2010)
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sda5

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
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>

demo@demo-laptop:~$ sudo e2fsck -b 8193 /dev/sda5
e2fsck 1.41.11 (14-Mar-2010)
e2fsck: Bad magic number in super-block while trying to open /dev/sda5

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
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>

请帮帮我。提前致谢。

最佳答案

小心点。检查分区是扩展分区还是交换分区。尝试sudo fdisk -l,它应该告诉您系统上的所有分区。

关于linux - Ubuntu:突然我发现我的一个硬盘分区(/dev/sda5)显示为 'Unknown drive',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5019639/

相关文章:

linux - gcc 出现错误 libcpp/charset.c(1747) : error: identifier "saved_error_handler" is undefined

python - 在 linux 中设置 python 脚本的日期/时间

java - 如何使用进程构建器运行 .sh 文件?

php - 解析 PHP SDK 版本要求

linux - 无效命令名称 "Agent/rtProto/OSPF"

linux - 这个 Bash 命令中的 `! -d` 是什么意思?

docker - 为在 ubuntu 上安装 docker 创建本地 apt 存储库时出现问题

ubuntu - 为 ubuntu 中的完整目录路径分配一个短名称

linux - 如何让 mongodb 服务在 ubuntu 15.10 桌面上不自动启动?

django - gunicorn:错误:参数--error-logfile/--log-file:预期一个参数