我需要紧急帮助。
我正在使用 Ubuntu 12.10。我的硬盘才一年。
突然间,我的所有文件夹和文件都变成只读了。在 Google 上查过后,我发现这是文件系统损坏导致的。我无法将文件和文件夹传输到另一台机器或外部硬盘上。我需要立即备份我的文件,否则我将丢失许多工作成果。
提前致谢。
编辑:按照这个帖子,我已经执行了
dmesg | less
现在我不确定要寻找什么特定的错误,但我可以看到以下内容
[ 1.844462] drm: registered panic notifier
[ 1.844474] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[ 3.082945] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[ 3.082951] EXT4-fs (sda1): write access will be enabled during recovery
[ 6.511793] EXT4-fs (sda1): orphan cleanup on readonly fs
[ 6.511810] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 9962260
[ 6.511925] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 9966039
[ 6.511972] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 9966038
[ 6.511991] EXT4-fs (sda1): ext4_orphan_cleanup: deleting unreferenced inode 9966043
[ 6.553657] EXT4-fs (sda1): 10 orphan inodes deleted
[ 6.553663] EXT4-fs (sda1): recovery complete
[ 17.401897] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro,user_xattr
[ 18.142384] init: failsafe main process (789) killed by TERM signal
编辑2:
以下是我从恢复模式运行 fsck 时的输出:
fsck from util-linux 2.20.1
dev/sda1: 848236/30400512 files (0.5% non contiguous), 35852000/121574400 blocks
Finished, please press Enter
解决了
答案1
我有完全相同的问题,但在 Windows 中,我所做的就是磁盘检查,它确实奏效了,你随时可以在 ubuntu 中通过进入恢复模式并选择磁盘检查来执行磁盘检查,如果这不起作用,我建议你备份你的驱动器,因为它可能有故障或文件系统已损坏,在这种情况下,我建议你备份你的数据并从 live cd 运行 ubuntu 并使用gparted
重新分区你的磁盘