use*_*867 6 mount ntfs hard-drive external-hdd
这是我从 fdisk 命令的输出:
sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00043809
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 973105151 486551552 83 Linux
/dev/sda2 973107198 976771071 1831937 5 Extended
/dev/sda5 973107200 976771071 1831936 82 Linux swap / Solaris
Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5387f1b4
Device Boot Start End Blocks Id System
/dev/sdb1 2048 625140399 312569176 7 HPFS/NTFS/exFAT
Run Code Online (Sandbox Code Playgroud)
根据我对 Ubuntu 的有限了解——我猜我的操作系统正在检测到我的外部设备,但它没有被安装。背景故事:我试图使用我在外部使用 AcetoneISO 的 ISO 文件 - 然后一切都冻结了。我强行关闭/重启,然后当我重启时,我的 HD 无法安装。它甚至没有给我一个错误信息,它只是没有用。这是怎么回事?帮助?
编辑:@Alaa:我正要添加此信息。我刚刚尝试手动安装我的驱动器,这是输出:
$ sudo mkdir /media/TOSHIBA_EXT
$ sudo mount -t ntfs-3g /dev/sdb1 /media/TOSHIBA_EXT
ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Failed to read $MFTMirr: Input/output error
Failed to mount '/dev/sdb1': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
Run Code Online (Sandbox Code Playgroud)
编辑 2:这是尝试运行 NTFSFix 后的结果
$ sudo ntfsfix /dev/sdb1
Mounting volume... ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Failed to read $MFTMirr: Input/output error
FAILED
Attempting to correct errors...
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... ntfs_attr_pread_i: ntfs_pread failed: Input/output error
FAILED
Failed to read $MFTMirr: Input/output error
Run Code Online (Sandbox Code Playgroud)
假设:当我强制重启驱动器时,我是否短路了驱动器?我知道这样做不好——但我以前不得不这样做,无论是在基于 Windows 的系统上还是自从我开始使用 Ubuntu 以来——这是第一次出现问题。正如对任何回答者的仅供参考,我的家人很快就会出去吃饭,所以我将在接下来的一个小时左右离开。我猜我的下一个合乎逻辑的步骤是在基于 Windows 的环境中运行 chkdsk,所以我回家后会尝试这样做。根据结果,我下一步该怎么做?
编辑 3:仍在等待我进入 Windows 系统的机会(我爸爸的笔记本电脑,他正忙于使用它)。我发现了命令 fsck——它显然大致相当于 Linux 环境中的 chkdsk。这是我得到的结果:
$ sudo fsck /dev/sdb1
fsck from util-linux 2.20.1
e2fsck 1.42.5 (29-Jul-2012)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb1
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>
Run Code Online (Sandbox Code Playgroud)
我使用 e2fsck 和 -b 8193 修饰符重复了 fsck,并得到了相同的结果。这些信息对任何人都有帮助吗?
编辑:我一直无法在 Windows 环境中使用 chkdsk 来恢复磁盘。我对它做了些什么——我不确定是什么。但是,值得庆幸的是,丢失的数据并不是生命终结。所以,我会继续自己调查这个问题,如果我想出一个解决方案,我会重新发布这个问题,以及所有相关信息。我感谢大家的帮助,祝你有个美好的夜晚!:-)
fsck 仅大致相当于 chkdisk。据我所知,这对 ntfs 没有好处(因此是 ntfsfix)。对于 NTFS 磁盘,最好从Windows 进行操作。如果磁盘在 Windows 下出现一些不可恢复的错误,我将指导您如何使用 testdisk a) 修复 fs b) 在所有其他方法均失败的情况下恢复数据
好的,要恢复数据,请下载 testdisk 并使用它:
http://yz.mit.edu/wp/recovering-files-using-testdisk/
(有类似过程的屏幕截图 - 不完全是您想要的,但仍然有帮助:http://www.cgsecurity.org/wiki/Undelete_files_from_NTFS_with_TestDisk)
完成此操作后,尝试恢复驱动器本身(而不是数据)的使用,您可以尝试破坏性坏块测试 - 这将擦除驱动器并映射出任何坏扇区。
https://wiki.archlinux.org/index.php/Badblocks
小智 0
我遇到了同样的问题,直到我记得该外部硬盘已被加密。
我知道的唯一解决方案是在 Windows 7 或 8、专业版或企业版中停用 Bitlocker(家庭版无法读取加密硬盘)。
我希望您所做的所有检查都没有损坏硬盘中的数据。
| 归档时间: |
|
| 查看次数: |
11601 次 |
| 最近记录: |