我有一个 1TB 的外部硬盘,我将其分区为 FAT32 分区和 ext4 分区。显然 ext4 的文件系统已损坏,我无法访问它。驱动器上的磁盘实用程序如下所示:
我虽然可以用这个答案:外部硬盘无法安装,但正如您所见,出于某种原因,我没有检查分区的选项。顺便说一句,如果有办法恢复大多数文件,格式化对我来说不是一个选择。
输出mount
:
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
gvfs-fuse-daemon on /home/rafael/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=rafael)
/dev/sdb2 on /media/WIN32 type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks)
输出more /etc/fstab
:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=f27f4656-379e-4500-af22-ec76b871b657 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=294dddf0-2c87-4339-8f16-b0028a6ec232 none swap sw 0 0