无法挂载硬盘

无法挂载硬盘

我无法安装硬盘并收到此消息:

Unable to mount 158 GB Filesystem
Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try dmesg | tail or so

从终端,我尝试syslog - try

No command 'syslog' found, did you mean:
Command 'dsyslog' from package 'dsyslog' (universe)
Command 'syslogd' from package 'sysklogd' (universe)
Command 'syslogd' from package 'inetutils-syslogd' (universe)
Command 'syslogd' from package 'busybox-syslogd' (universe)
syslog: command not found

还尝试过dmesg | tail

[ 971.390588] sd 0:0:0:0: [sda] CDB: Read(10): 28 00 12 62 30 80 00 00 40 00
[ 971.390600] end_request: I/O error, dev sda, sector 308424832
[ 971.390605] Read-error on swap-device (8:0:308424840)
[ 971.390608] Read-error on swap-device (8:0:308424848)
[ 971.390617] Read-error on swap-device (8:0:308424856)
[ 971.390620] Read-error on swap-device (8:0:308424864)
[ 971.390623] Read-error on swap-device (8:0:308424872)
[ 971.390626] Read-error on swap-device (8:0:308424880)
[ 971.390629] Read-error on swap-device (8:0:308424888)
[ 971.390632] Read-error on swap-device (8:0:308424896)

在我尝试从 Live CD 重新安装 12.04(由于磁盘问题而失败)之前,一切都很好。

答案1

启动 LiveCD 并尝试:

sudo mount errors=remount-ro /dev/sda1 /mnt

如果成功以只读模式安装驱动器,则应备份所有重要数据,现在可以通过 /mnt/home/your_user_name/ 访问这些数据。

如果它抱怨不知道文件系统类型,请尝试

sudo mount -t ext2 errors=remount-ro /dev/sda1 /mnt

如果设备没有完全坏掉,那么它似乎已经出现故障。除非您备份设备并尝试重新格式化并测试它,否则您无法确定。任何显示“读取错误”的信息都是坏消息,我认为它现在不适合恢复。

答案2

使用 Live CD 启动机器,打开终端并卸载 158 GB 分区以外的其他分区并输入:

sudo  fsck /dev/sdaX

其中 X 是您的 158 GB 分区。

相关内容